SlideShare a Scribd company logo
Monitoring
JBoss
Page 1
Monitoring JBoss
OpenOffice/PDF Version
1º Edition , 9 May 2011
© Artica Soluciones Tecnológicas 2011
© Tomás Palacios Bote 2011
© Sancho Lerena 2011
Page 2
1 MONITORING JBOSS
1.1. Monitoring via plugins and modules
Once we have installed and configured both Pandora and JBoss servers, we're going to explain
how to obtain info about the server status.
There are different ways to achieve this goal, from plugin agents for XML parsing to SNMP and
JMX monitoring:
1.1.1. Plugin Agent (local way)
Let's suppose we have installed Pandora and JBoss servers on different machines, with all the
monitoring systems installed and configured. (Pandora Agent, JMX with jconsole)
We need a script to gather the values we want to monitor from the MBeans in the JBoss server,
specially the ones which contain information about the server status in their attributes.
We've used a Bitnami Jboss 6.0.0-0 virtual machine in openSUSE 11.3 to test this plugin and we
can find JMX webpage in:
http://<JBoss-IP-Address>/jmx-console/
Page 3
This script is going to store these MBeans content file in a local temporal file and parse these
values in a Pandora-compatible XML format.
We've based the development of this plugin in the twiddle script for JBoss.
Twiddle is a JMB client which gathers all kind of info about the server MBeans, into a
<dataname>=<data> format after its execution.
The script is the following:
pandora_tomcat.pl
Once we have located the script and the values we want to monitor, include this file in
pandora_agent.conf as a plugin agent. This plugin will create a module for each value, visible in
the Pandora server web interface.
pandora_agent.conf is the configuration file of the Pandora Agent Software, and where all plugin
agents must be located. This file can be found in:
/etc/pandora/pandora_agent.conf
We will write the following inside this file to create the plugin agent for Pandora:
module_plugin <plugin-path>
Restart Pandora Agent and the Pandora Server will create a module for each data contained in the
Apache server-status page, from current requests to CPU load and ratios.
/etc/init.d/pandora_agent_daemon restart
IMPORTANT: Twiddle only can be executed with root privileges in this virtual machine, so in
order to make the script work in Pandora, we need to run pandora agent as root or configure
twiddle to run under other non-privileged user.
Another option is to configure a normal user to run under SUDO commando. To do that, edit the
file /etc/sudoers with the visudo command as root (DO NOT edit this file using vim /etc/sudoers)
and include de following line:
pandora ALL= NOPASSWD: ALL
This way, Pandora can execute any commands using sudo without authentication.
module_plugin sudo <plugin-path>
Page 4
That's why in pandora_agent.conf, in module_plugin, the command is preceded by sudo.
1.1.2. SNMP Monitoring
You can use one of the multiple SNMP-JMX adaptors in the web to monitor JBoss.
These are the most important:
– OpenNMS
– Westhawk SNMP
– Sun JDMK
Each of them allows us to convert JMX notifications into SNMP Traps and extract information
about the server status.
It would be just a matter of introducing the OIDs of the generated MIBs by the adaptor with its
value and data type in the Pandora server and we could start monitoring it.
Page 5
Another way to monitor JBoss and other Java servers is JMX.
1.1.3. JMX Monitoring
JMX (Java Management Extensions) provides the tools to implement distributed, modular, dynamic
and web based solutions to manage and monitor, devices, applications and network-driven
services, specially designed for Java.
JMX uses an HTTP-adaptor to show all the info it manages via web.
We can take benefit of the HTTP-adaptor data extraction by parsing this data in a Pandora-
compatible XML format. When Pandora processes this XML, it will create modules for each data.
However, it's better to use the other two ways for JBoss monitoring and leave this as an
alternative.
Page 6

More Related Content

What's hot

Upgrade your mongo the right way linkedin
Upgrade your mongo the right way linkedinUpgrade your mongo the right way linkedin
Upgrade your mongo the right way linkedin
Lior Altarescu
 
How to publish your NAS on the Internet?
How to publish your NAS on the Internet?How to publish your NAS on the Internet?
How to publish your NAS on the Internet?
Thecus Technology Corp.,
 
Weblogic installation in linux
Weblogic installation in linuxWeblogic installation in linux
Weblogic installation in linux
Ravi Kumar Lanke
 
Contoh Soal LKS IT Network 2014 Di Palembang Modul 3
Contoh Soal LKS IT Network 2014 Di Palembang Modul 3Contoh Soal LKS IT Network 2014 Di Palembang Modul 3
Contoh Soal LKS IT Network 2014 Di Palembang Modul 3
Vanidlesky Onibala
 
Power Mta 4.0
Power Mta 4.0Power Mta 4.0
Power Mta 4.0
powerMta
 
Ftp configuration in rhel7
Ftp configuration in rhel7Ftp configuration in rhel7
Ftp configuration in rhel7
Balamurugan M
 
Oracle vm
Oracle vmOracle vm
Oracle vm
Ravi Kumar Lanke
 
Building a moat bastion server
Building a moat   bastion serverBuilding a moat   bastion server
Building a moat bastion server
nseemiller
 
New features in PMTA 5.0
New features in PMTA 5.0New features in PMTA 5.0
New features in PMTA 5.0
SparkPost
 
How to install r1 soft
    How to install  r1 soft    How to install  r1 soft
How to install r1 soft
Ideastack
 
Contoh Soal LKS IT Network 2014 Di Palembang Modul 1
Contoh Soal LKS IT Network 2014 Di Palembang Modul 1Contoh Soal LKS IT Network 2014 Di Palembang Modul 1
Contoh Soal LKS IT Network 2014 Di Palembang Modul 1
Vanidlesky Onibala
 
Salt Stack pt. 2 : Configuration Management
Salt Stack pt. 2 : Configuration ManagementSalt Stack pt. 2 : Configuration Management
Salt Stack pt. 2 : Configuration Management
Umberto Nicoletti
 
Guidlines sitecore9 installation
Guidlines sitecore9 installationGuidlines sitecore9 installation
Guidlines sitecore9 installation
PRADEEP GUPTA
 
Mule Clustering
Mule Clustering Mule Clustering
Mule Clustering
Vijay Shan
 
MCSA 70-410 4 configure servers for remote managment
MCSA 70-410 4 configure servers for remote managmentMCSA 70-410 4 configure servers for remote managment
MCSA 70-410 4 configure servers for remote managment
Tarek Amer
 
Factory setup wsa_9.2_v1.0
Factory setup wsa_9.2_v1.0Factory setup wsa_9.2_v1.0
Factory setup wsa_9.2_v1.0
Dhruv Sharma
 
MuleSoft ESB Sending email using hmailserver
MuleSoft ESB Sending email using hmailserverMuleSoft ESB Sending email using hmailserver
MuleSoft ESB Sending email using hmailserver
akashdprajapati
 
cara menginstall router
cara menginstall routercara menginstall router
cara menginstall router
Bobby Bobby
 
Pandora FMS: Cisco Remote inventory modules
Pandora FMS: Cisco Remote inventory modulesPandora FMS: Cisco Remote inventory modules
Pandora FMS: Cisco Remote inventory modules
Pandora FMS
 
Squid
SquidSquid

What's hot (20)

Upgrade your mongo the right way linkedin
Upgrade your mongo the right way linkedinUpgrade your mongo the right way linkedin
Upgrade your mongo the right way linkedin
 
How to publish your NAS on the Internet?
How to publish your NAS on the Internet?How to publish your NAS on the Internet?
How to publish your NAS on the Internet?
 
Weblogic installation in linux
Weblogic installation in linuxWeblogic installation in linux
Weblogic installation in linux
 
Contoh Soal LKS IT Network 2014 Di Palembang Modul 3
Contoh Soal LKS IT Network 2014 Di Palembang Modul 3Contoh Soal LKS IT Network 2014 Di Palembang Modul 3
Contoh Soal LKS IT Network 2014 Di Palembang Modul 3
 
Power Mta 4.0
Power Mta 4.0Power Mta 4.0
Power Mta 4.0
 
Ftp configuration in rhel7
Ftp configuration in rhel7Ftp configuration in rhel7
Ftp configuration in rhel7
 
Oracle vm
Oracle vmOracle vm
Oracle vm
 
Building a moat bastion server
Building a moat   bastion serverBuilding a moat   bastion server
Building a moat bastion server
 
New features in PMTA 5.0
New features in PMTA 5.0New features in PMTA 5.0
New features in PMTA 5.0
 
How to install r1 soft
    How to install  r1 soft    How to install  r1 soft
How to install r1 soft
 
Contoh Soal LKS IT Network 2014 Di Palembang Modul 1
Contoh Soal LKS IT Network 2014 Di Palembang Modul 1Contoh Soal LKS IT Network 2014 Di Palembang Modul 1
Contoh Soal LKS IT Network 2014 Di Palembang Modul 1
 
Salt Stack pt. 2 : Configuration Management
Salt Stack pt. 2 : Configuration ManagementSalt Stack pt. 2 : Configuration Management
Salt Stack pt. 2 : Configuration Management
 
Guidlines sitecore9 installation
Guidlines sitecore9 installationGuidlines sitecore9 installation
Guidlines sitecore9 installation
 
Mule Clustering
Mule Clustering Mule Clustering
Mule Clustering
 
MCSA 70-410 4 configure servers for remote managment
MCSA 70-410 4 configure servers for remote managmentMCSA 70-410 4 configure servers for remote managment
MCSA 70-410 4 configure servers for remote managment
 
Factory setup wsa_9.2_v1.0
Factory setup wsa_9.2_v1.0Factory setup wsa_9.2_v1.0
Factory setup wsa_9.2_v1.0
 
MuleSoft ESB Sending email using hmailserver
MuleSoft ESB Sending email using hmailserverMuleSoft ESB Sending email using hmailserver
MuleSoft ESB Sending email using hmailserver
 
cara menginstall router
cara menginstall routercara menginstall router
cara menginstall router
 
Pandora FMS: Cisco Remote inventory modules
Pandora FMS: Cisco Remote inventory modulesPandora FMS: Cisco Remote inventory modules
Pandora FMS: Cisco Remote inventory modules
 
Squid
SquidSquid
Squid
 

Viewers also liked

Pandora FMS: Sun One webserver
Pandora FMS: Sun One webserverPandora FMS: Sun One webserver
Pandora FMS: Sun One webserver
Pandora FMS
 
Pandora FMS: IIS Enterprise Plugin
Pandora FMS: IIS Enterprise PluginPandora FMS: IIS Enterprise Plugin
Pandora FMS: IIS Enterprise Plugin
Pandora FMS
 
Pandora FMS: ePolicy Orchestrator Manual
Pandora FMS: ePolicy Orchestrator ManualPandora FMS: ePolicy Orchestrator Manual
Pandora FMS: ePolicy Orchestrator Manual
Pandora FMS
 
Pandora FMS: Plugin Enterprise de Exchange
Pandora FMS: Plugin Enterprise de ExchangePandora FMS: Plugin Enterprise de Exchange
Pandora FMS: Plugin Enterprise de Exchange
Pandora FMS
 
Pandora FMS: Plugin Enterprise de SQL
Pandora FMS: Plugin Enterprise de SQLPandora FMS: Plugin Enterprise de SQL
Pandora FMS: Plugin Enterprise de SQL
Pandora FMS
 
Pandora FMS: Informix plugin
Pandora FMS: Informix pluginPandora FMS: Informix plugin
Pandora FMS: Informix plugin
Pandora FMS
 
Pandora FMS: Oracle Enterprise Plugin
Pandora FMS: Oracle Enterprise PluginPandora FMS: Oracle Enterprise Plugin
Pandora FMS: Oracle Enterprise Plugin
Pandora FMS
 
Pandora FMS: Plugin de monitorización de Hyper V
Pandora FMS: Plugin de monitorización de Hyper VPandora FMS: Plugin de monitorización de Hyper V
Pandora FMS: Plugin de monitorización de Hyper V
Pandora FMS
 
Pandora FMS: Plugin de monitorización de Outlook Anywhere
Pandora FMS: Plugin de monitorización de Outlook AnywherePandora FMS: Plugin de monitorización de Outlook Anywhere
Pandora FMS: Plugin de monitorización de Outlook Anywhere
Pandora FMS
 
Pandora FMS: Advanced Log Parser
Pandora FMS: Advanced Log Parser Pandora FMS: Advanced Log Parser
Pandora FMS: Advanced Log Parser
Pandora FMS
 
Pandora FMS: Outlook Anywhere Plugin
Pandora FMS: Outlook Anywhere PluginPandora FMS: Outlook Anywhere Plugin
Pandora FMS: Outlook Anywhere Plugin
Pandora FMS
 
Pandora FMS: Plugin de monitorización de eventos Fim
Pandora FMS: Plugin de monitorización de eventos FimPandora FMS: Plugin de monitorización de eventos Fim
Pandora FMS: Plugin de monitorización de eventos Fim
Pandora FMS
 
Pandora FMS: End to End Exchange Plugin
Pandora FMS: End to End Exchange PluginPandora FMS: End to End Exchange Plugin
Pandora FMS: End to End Exchange Plugin
Pandora FMS
 
Pandora FMS: Plugin de Exchange ActivSync
Pandora FMS: Plugin de Exchange ActivSyncPandora FMS: Plugin de Exchange ActivSync
Pandora FMS: Plugin de Exchange ActivSync
Pandora FMS
 
Pandora FMS: Blackberry Exchange Monitoring
Pandora FMS: Blackberry Exchange MonitoringPandora FMS: Blackberry Exchange Monitoring
Pandora FMS: Blackberry Exchange Monitoring
Pandora FMS
 
Pandora FMS: DB2 Enterprise Plugin
Pandora FMS: DB2 Enterprise PluginPandora FMS: DB2 Enterprise Plugin
Pandora FMS: DB2 Enterprise Plugin
Pandora FMS
 
Pandora FMS: Exchange OWA Plugin
Pandora FMS: Exchange OWA PluginPandora FMS: Exchange OWA Plugin
Pandora FMS: Exchange OWA Plugin
Pandora FMS
 
Whats new in Pandora FMS 5.0
Whats new in Pandora FMS 5.0Whats new in Pandora FMS 5.0
Whats new in Pandora FMS 5.0
Pandora FMS
 
Pandora FMS: Plugin de exchange de acceso de web
Pandora FMS: Plugin de exchange de acceso  de web Pandora FMS: Plugin de exchange de acceso  de web
Pandora FMS: Plugin de exchange de acceso de web
Pandora FMS
 
Pandora FMS: SQL Enterprise PIugin
Pandora FMS: SQL Enterprise PIuginPandora FMS: SQL Enterprise PIugin
Pandora FMS: SQL Enterprise PIugin
Pandora FMS
 

Viewers also liked (20)

Pandora FMS: Sun One webserver
Pandora FMS: Sun One webserverPandora FMS: Sun One webserver
Pandora FMS: Sun One webserver
 
Pandora FMS: IIS Enterprise Plugin
Pandora FMS: IIS Enterprise PluginPandora FMS: IIS Enterprise Plugin
Pandora FMS: IIS Enterprise Plugin
 
Pandora FMS: ePolicy Orchestrator Manual
Pandora FMS: ePolicy Orchestrator ManualPandora FMS: ePolicy Orchestrator Manual
Pandora FMS: ePolicy Orchestrator Manual
 
Pandora FMS: Plugin Enterprise de Exchange
Pandora FMS: Plugin Enterprise de ExchangePandora FMS: Plugin Enterprise de Exchange
Pandora FMS: Plugin Enterprise de Exchange
 
Pandora FMS: Plugin Enterprise de SQL
Pandora FMS: Plugin Enterprise de SQLPandora FMS: Plugin Enterprise de SQL
Pandora FMS: Plugin Enterprise de SQL
 
Pandora FMS: Informix plugin
Pandora FMS: Informix pluginPandora FMS: Informix plugin
Pandora FMS: Informix plugin
 
Pandora FMS: Oracle Enterprise Plugin
Pandora FMS: Oracle Enterprise PluginPandora FMS: Oracle Enterprise Plugin
Pandora FMS: Oracle Enterprise Plugin
 
Pandora FMS: Plugin de monitorización de Hyper V
Pandora FMS: Plugin de monitorización de Hyper VPandora FMS: Plugin de monitorización de Hyper V
Pandora FMS: Plugin de monitorización de Hyper V
 
Pandora FMS: Plugin de monitorización de Outlook Anywhere
Pandora FMS: Plugin de monitorización de Outlook AnywherePandora FMS: Plugin de monitorización de Outlook Anywhere
Pandora FMS: Plugin de monitorización de Outlook Anywhere
 
Pandora FMS: Advanced Log Parser
Pandora FMS: Advanced Log Parser Pandora FMS: Advanced Log Parser
Pandora FMS: Advanced Log Parser
 
Pandora FMS: Outlook Anywhere Plugin
Pandora FMS: Outlook Anywhere PluginPandora FMS: Outlook Anywhere Plugin
Pandora FMS: Outlook Anywhere Plugin
 
Pandora FMS: Plugin de monitorización de eventos Fim
Pandora FMS: Plugin de monitorización de eventos FimPandora FMS: Plugin de monitorización de eventos Fim
Pandora FMS: Plugin de monitorización de eventos Fim
 
Pandora FMS: End to End Exchange Plugin
Pandora FMS: End to End Exchange PluginPandora FMS: End to End Exchange Plugin
Pandora FMS: End to End Exchange Plugin
 
Pandora FMS: Plugin de Exchange ActivSync
Pandora FMS: Plugin de Exchange ActivSyncPandora FMS: Plugin de Exchange ActivSync
Pandora FMS: Plugin de Exchange ActivSync
 
Pandora FMS: Blackberry Exchange Monitoring
Pandora FMS: Blackberry Exchange MonitoringPandora FMS: Blackberry Exchange Monitoring
Pandora FMS: Blackberry Exchange Monitoring
 
Pandora FMS: DB2 Enterprise Plugin
Pandora FMS: DB2 Enterprise PluginPandora FMS: DB2 Enterprise Plugin
Pandora FMS: DB2 Enterprise Plugin
 
Pandora FMS: Exchange OWA Plugin
Pandora FMS: Exchange OWA PluginPandora FMS: Exchange OWA Plugin
Pandora FMS: Exchange OWA Plugin
 
Whats new in Pandora FMS 5.0
Whats new in Pandora FMS 5.0Whats new in Pandora FMS 5.0
Whats new in Pandora FMS 5.0
 
Pandora FMS: Plugin de exchange de acceso de web
Pandora FMS: Plugin de exchange de acceso  de web Pandora FMS: Plugin de exchange de acceso  de web
Pandora FMS: Plugin de exchange de acceso de web
 
Pandora FMS: SQL Enterprise PIugin
Pandora FMS: SQL Enterprise PIuginPandora FMS: SQL Enterprise PIugin
Pandora FMS: SQL Enterprise PIugin
 

Similar to Pandora FMS: Jboss monitoring

PandoraFMS: Free Monitoring System
PandoraFMS: Free Monitoring SystemPandoraFMS: Free Monitoring System
PandoraFMS: Free Monitoring System
Enrique Verdes
 
Pandora fms
Pandora fmsPandora fms
Pandora fms
iLeLviNa
 
Pandora FMS: Apache server monitoring
Pandora FMS: Apache server monitoring Pandora FMS: Apache server monitoring
Pandora FMS: Apache server monitoring
Pandora FMS
 
Java Media Player thorugh JMF
Java Media Player thorugh JMFJava Media Player thorugh JMF
Java Media Player thorugh JMF
Prashant Singh
 
Pandora FMS: MongoDB plugin
Pandora FMS: MongoDB pluginPandora FMS: MongoDB plugin
Pandora FMS: MongoDB plugin
Pandora FMS
 
Jboss Exploit
Jboss ExploitJboss Exploit
Jboss Exploit
drkimsky
 
Setting up the hyperledger composer in ubuntu
Setting up the hyperledger composer in ubuntuSetting up the hyperledger composer in ubuntu
Setting up the hyperledger composer in ubuntu
kesavan N B
 
IntegrationBroker
IntegrationBrokerIntegrationBroker
IntegrationBroker
meghamystic
 
TelScale SNMP and JMX management - Mobicents Summit 2011
TelScale SNMP and JMX management - Mobicents Summit 2011TelScale SNMP and JMX management - Mobicents Summit 2011
TelScale SNMP and JMX management - Mobicents Summit 2011
telestax
 
Roboconf Detailed Presentation
Roboconf Detailed PresentationRoboconf Detailed Presentation
Roboconf Detailed Presentation
Vincent Zurczak
 
Prizm Installation Guide
Prizm Installation GuidePrizm Installation Guide
Prizm Installation Guide
vjvarenya
 
BlazeDS
BlazeDS BlazeDS
BlazeDS
Priyank
 
Central management of network and call services
Central management of network and call servicesCentral management of network and call services
Central management of network and call services
Nazmul Hossain Rakib
 
Pandora FMS: Windows Phone 7 Agent
Pandora FMS: Windows Phone 7 AgentPandora FMS: Windows Phone 7 Agent
Pandora FMS: Windows Phone 7 Agent
Pandora FMS
 
Wso2 esb-maintenance-guide
Wso2 esb-maintenance-guideWso2 esb-maintenance-guide
Wso2 esb-maintenance-guide
Chanaka Fernando
 
NetSim Technology Library - Software defined networks
NetSim Technology Library - Software defined networksNetSim Technology Library - Software defined networks
NetSim Technology Library - Software defined networks
Vishal Sharma
 
oVirt UI Plugin Infrastructure and the oVirt-Foreman plugin
oVirt UI Plugin Infrastructure and the oVirt-Foreman pluginoVirt UI Plugin Infrastructure and the oVirt-Foreman plugin
oVirt UI Plugin Infrastructure and the oVirt-Foreman plugin
Oved Ourfali
 
Mongo db program_installation_guide
Mongo db program_installation_guideMongo db program_installation_guide
Mongo db program_installation_guide
Philip Zhong
 
Practical solutions for connections administrators
Practical solutions for connections administratorsPractical solutions for connections administrators
Practical solutions for connections administrators
Sharon James
 
It04 roshan basnet
It04 roshan basnetIt04 roshan basnet
It04 roshan basnet
rosu555
 

Similar to Pandora FMS: Jboss monitoring (20)

PandoraFMS: Free Monitoring System
PandoraFMS: Free Monitoring SystemPandoraFMS: Free Monitoring System
PandoraFMS: Free Monitoring System
 
Pandora fms
Pandora fmsPandora fms
Pandora fms
 
Pandora FMS: Apache server monitoring
Pandora FMS: Apache server monitoring Pandora FMS: Apache server monitoring
Pandora FMS: Apache server monitoring
 
Java Media Player thorugh JMF
Java Media Player thorugh JMFJava Media Player thorugh JMF
Java Media Player thorugh JMF
 
Pandora FMS: MongoDB plugin
Pandora FMS: MongoDB pluginPandora FMS: MongoDB plugin
Pandora FMS: MongoDB plugin
 
Jboss Exploit
Jboss ExploitJboss Exploit
Jboss Exploit
 
Setting up the hyperledger composer in ubuntu
Setting up the hyperledger composer in ubuntuSetting up the hyperledger composer in ubuntu
Setting up the hyperledger composer in ubuntu
 
IntegrationBroker
IntegrationBrokerIntegrationBroker
IntegrationBroker
 
TelScale SNMP and JMX management - Mobicents Summit 2011
TelScale SNMP and JMX management - Mobicents Summit 2011TelScale SNMP and JMX management - Mobicents Summit 2011
TelScale SNMP and JMX management - Mobicents Summit 2011
 
Roboconf Detailed Presentation
Roboconf Detailed PresentationRoboconf Detailed Presentation
Roboconf Detailed Presentation
 
Prizm Installation Guide
Prizm Installation GuidePrizm Installation Guide
Prizm Installation Guide
 
BlazeDS
BlazeDS BlazeDS
BlazeDS
 
Central management of network and call services
Central management of network and call servicesCentral management of network and call services
Central management of network and call services
 
Pandora FMS: Windows Phone 7 Agent
Pandora FMS: Windows Phone 7 AgentPandora FMS: Windows Phone 7 Agent
Pandora FMS: Windows Phone 7 Agent
 
Wso2 esb-maintenance-guide
Wso2 esb-maintenance-guideWso2 esb-maintenance-guide
Wso2 esb-maintenance-guide
 
NetSim Technology Library - Software defined networks
NetSim Technology Library - Software defined networksNetSim Technology Library - Software defined networks
NetSim Technology Library - Software defined networks
 
oVirt UI Plugin Infrastructure and the oVirt-Foreman plugin
oVirt UI Plugin Infrastructure and the oVirt-Foreman pluginoVirt UI Plugin Infrastructure and the oVirt-Foreman plugin
oVirt UI Plugin Infrastructure and the oVirt-Foreman plugin
 
Mongo db program_installation_guide
Mongo db program_installation_guideMongo db program_installation_guide
Mongo db program_installation_guide
 
Practical solutions for connections administrators
Practical solutions for connections administratorsPractical solutions for connections administrators
Practical solutions for connections administrators
 
It04 roshan basnet
It04 roshan basnetIt04 roshan basnet
It04 roshan basnet
 

More from Pandora FMS

Pandora FMS: Plugin de Raven DB
Pandora FMS: Plugin de Raven DBPandora FMS: Plugin de Raven DB
Pandora FMS: Plugin de Raven DB
Pandora FMS
 
Pandora FMS: Raven DB Plugin
Pandora FMS: Raven DB PluginPandora FMS: Raven DB Plugin
Pandora FMS: Raven DB Plugin
Pandora FMS
 
Pandora FMS: Plugin de Apache Hbase
Pandora FMS: Plugin de Apache HbasePandora FMS: Plugin de Apache Hbase
Pandora FMS: Plugin de Apache Hbase
Pandora FMS
 
Pandora FMS: Exchange Enterprise plugin
Pandora FMS: Exchange Enterprise pluginPandora FMS: Exchange Enterprise plugin
Pandora FMS: Exchange Enterprise plugin
Pandora FMS
 
Pandora FMS: Plugin de monitorización de cliente de Exchage
Pandora FMS: Plugin de monitorización de cliente de ExchagePandora FMS: Plugin de monitorización de cliente de Exchage
Pandora FMS: Plugin de monitorización de cliente de Exchage
Pandora FMS
 
Pandora FMS: Monitorización de Blackberry Exchange
Pandora FMS: Monitorización de Blackberry ExchangePandora FMS: Monitorización de Blackberry Exchange
Pandora FMS: Monitorización de Blackberry Exchange
Pandora FMS
 
Pandora FMS: Exchange ActivSync Plugin
Pandora FMS: Exchange ActivSync PluginPandora FMS: Exchange ActivSync Plugin
Pandora FMS: Exchange ActivSync Plugin
Pandora FMS
 
Pandora FMS: Plugin Enterprise de VMware
Pandora FMS: Plugin Enterprise de VMwarePandora FMS: Plugin Enterprise de VMware
Pandora FMS: Plugin Enterprise de VMware
Pandora FMS
 
Pandora FMS: VMware Enterprise Plugin
Pandora FMS: VMware Enterprise PluginPandora FMS: VMware Enterprise Plugin
Pandora FMS: VMware Enterprise Plugin
Pandora FMS
 
Pandora FMS: Hyper V Plugin
Pandora FMS: Hyper V PluginPandora FMS: Hyper V Plugin
Pandora FMS: Hyper V Plugin
Pandora FMS
 
Pandora FMS: Plugin de correo Imap
Pandora FMS: Plugin de correo ImapPandora FMS: Plugin de correo Imap
Pandora FMS: Plugin de correo Imap
Pandora FMS
 
Pandora FMS: PostgreSQL Plugin
Pandora FMS: PostgreSQL PluginPandora FMS: PostgreSQL Plugin
Pandora FMS: PostgreSQL Plugin
Pandora FMS
 
Pandora FMS: Monitorización de servidores MySQL
Pandora FMS: Monitorización de servidores MySQLPandora FMS: Monitorización de servidores MySQL
Pandora FMS: Monitorización de servidores MySQL
Pandora FMS
 
Pandora FMS: Mysql Server Monitoring
Pandora FMS: Mysql Server MonitoringPandora FMS: Mysql Server Monitoring
Pandora FMS: Mysql Server Monitoring
Pandora FMS
 
Pandora FMS: Informix Plugin
Pandora FMS: Informix PluginPandora FMS: Informix Plugin
Pandora FMS: Informix Plugin
Pandora FMS
 
Pandora FMS: Plugin Enterprise de monitorización de servidor DB2
Pandora FMS: Plugin Enterprise de monitorización de servidor DB2Pandora FMS: Plugin Enterprise de monitorización de servidor DB2
Pandora FMS: Plugin Enterprise de monitorización de servidor DB2
Pandora FMS
 
Pandora FMS:Cassandra Plugin
Pandora FMS:Cassandra PluginPandora FMS:Cassandra Plugin
Pandora FMS:Cassandra Plugin
Pandora FMS
 

More from Pandora FMS (17)

Pandora FMS: Plugin de Raven DB
Pandora FMS: Plugin de Raven DBPandora FMS: Plugin de Raven DB
Pandora FMS: Plugin de Raven DB
 
Pandora FMS: Raven DB Plugin
Pandora FMS: Raven DB PluginPandora FMS: Raven DB Plugin
Pandora FMS: Raven DB Plugin
 
Pandora FMS: Plugin de Apache Hbase
Pandora FMS: Plugin de Apache HbasePandora FMS: Plugin de Apache Hbase
Pandora FMS: Plugin de Apache Hbase
 
Pandora FMS: Exchange Enterprise plugin
Pandora FMS: Exchange Enterprise pluginPandora FMS: Exchange Enterprise plugin
Pandora FMS: Exchange Enterprise plugin
 
Pandora FMS: Plugin de monitorización de cliente de Exchage
Pandora FMS: Plugin de monitorización de cliente de ExchagePandora FMS: Plugin de monitorización de cliente de Exchage
Pandora FMS: Plugin de monitorización de cliente de Exchage
 
Pandora FMS: Monitorización de Blackberry Exchange
Pandora FMS: Monitorización de Blackberry ExchangePandora FMS: Monitorización de Blackberry Exchange
Pandora FMS: Monitorización de Blackberry Exchange
 
Pandora FMS: Exchange ActivSync Plugin
Pandora FMS: Exchange ActivSync PluginPandora FMS: Exchange ActivSync Plugin
Pandora FMS: Exchange ActivSync Plugin
 
Pandora FMS: Plugin Enterprise de VMware
Pandora FMS: Plugin Enterprise de VMwarePandora FMS: Plugin Enterprise de VMware
Pandora FMS: Plugin Enterprise de VMware
 
Pandora FMS: VMware Enterprise Plugin
Pandora FMS: VMware Enterprise PluginPandora FMS: VMware Enterprise Plugin
Pandora FMS: VMware Enterprise Plugin
 
Pandora FMS: Hyper V Plugin
Pandora FMS: Hyper V PluginPandora FMS: Hyper V Plugin
Pandora FMS: Hyper V Plugin
 
Pandora FMS: Plugin de correo Imap
Pandora FMS: Plugin de correo ImapPandora FMS: Plugin de correo Imap
Pandora FMS: Plugin de correo Imap
 
Pandora FMS: PostgreSQL Plugin
Pandora FMS: PostgreSQL PluginPandora FMS: PostgreSQL Plugin
Pandora FMS: PostgreSQL Plugin
 
Pandora FMS: Monitorización de servidores MySQL
Pandora FMS: Monitorización de servidores MySQLPandora FMS: Monitorización de servidores MySQL
Pandora FMS: Monitorización de servidores MySQL
 
Pandora FMS: Mysql Server Monitoring
Pandora FMS: Mysql Server MonitoringPandora FMS: Mysql Server Monitoring
Pandora FMS: Mysql Server Monitoring
 
Pandora FMS: Informix Plugin
Pandora FMS: Informix PluginPandora FMS: Informix Plugin
Pandora FMS: Informix Plugin
 
Pandora FMS: Plugin Enterprise de monitorización de servidor DB2
Pandora FMS: Plugin Enterprise de monitorización de servidor DB2Pandora FMS: Plugin Enterprise de monitorización de servidor DB2
Pandora FMS: Plugin Enterprise de monitorización de servidor DB2
 
Pandora FMS:Cassandra Plugin
Pandora FMS:Cassandra PluginPandora FMS:Cassandra Plugin
Pandora FMS:Cassandra Plugin
 

Recently uploaded

Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
AstuteBusiness
 
Must Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during MigrationMust Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during Migration
Mydbops
 
Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!
Tobias Schneck
 
"What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w..."What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w...
Fwdays
 
ScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking ReplicationScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking Replication
ScyllaDB
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
DianaGray10
 
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
manji sharman06
 
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance PanelsNorthern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
Javier Junquera
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
Pablo Gómez Abajo
 
Getting the Most Out of ScyllaDB Monitoring: ShareChat's Tips
Getting the Most Out of ScyllaDB Monitoring: ShareChat's TipsGetting the Most Out of ScyllaDB Monitoring: ShareChat's Tips
Getting the Most Out of ScyllaDB Monitoring: ShareChat's Tips
ScyllaDB
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
Miro Wengner
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
Fwdays
 
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
AlexanderRichford
 
"NATO Hackathon Winner: AI-Powered Drug Search", Taras Kloba
"NATO Hackathon Winner: AI-Powered Drug Search",  Taras Kloba"NATO Hackathon Winner: AI-Powered Drug Search",  Taras Kloba
"NATO Hackathon Winner: AI-Powered Drug Search", Taras Kloba
Fwdays
 
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
zjhamm304
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
Neo4j
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
operationspcvita
 
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin..."$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
Fwdays
 
Demystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through StorytellingDemystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through Storytelling
Enterprise Knowledge
 

Recently uploaded (20)

Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
 
Must Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during MigrationMust Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during Migration
 
Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!
 
"What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w..."What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w...
 
ScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking ReplicationScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking Replication
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
 
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
 
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance PanelsNorthern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
 
Getting the Most Out of ScyllaDB Monitoring: ShareChat's Tips
Getting the Most Out of ScyllaDB Monitoring: ShareChat's TipsGetting the Most Out of ScyllaDB Monitoring: ShareChat's Tips
Getting the Most Out of ScyllaDB Monitoring: ShareChat's Tips
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
 
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
 
"NATO Hackathon Winner: AI-Powered Drug Search", Taras Kloba
"NATO Hackathon Winner: AI-Powered Drug Search",  Taras Kloba"NATO Hackathon Winner: AI-Powered Drug Search",  Taras Kloba
"NATO Hackathon Winner: AI-Powered Drug Search", Taras Kloba
 
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
 
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin..."$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
 
Demystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through StorytellingDemystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through Storytelling
 

Pandora FMS: Jboss monitoring

  • 2. Monitoring JBoss OpenOffice/PDF Version 1º Edition , 9 May 2011 © Artica Soluciones Tecnológicas 2011 © Tomás Palacios Bote 2011 © Sancho Lerena 2011 Page 2
  • 3. 1 MONITORING JBOSS 1.1. Monitoring via plugins and modules Once we have installed and configured both Pandora and JBoss servers, we're going to explain how to obtain info about the server status. There are different ways to achieve this goal, from plugin agents for XML parsing to SNMP and JMX monitoring: 1.1.1. Plugin Agent (local way) Let's suppose we have installed Pandora and JBoss servers on different machines, with all the monitoring systems installed and configured. (Pandora Agent, JMX with jconsole) We need a script to gather the values we want to monitor from the MBeans in the JBoss server, specially the ones which contain information about the server status in their attributes. We've used a Bitnami Jboss 6.0.0-0 virtual machine in openSUSE 11.3 to test this plugin and we can find JMX webpage in: http://<JBoss-IP-Address>/jmx-console/ Page 3
  • 4. This script is going to store these MBeans content file in a local temporal file and parse these values in a Pandora-compatible XML format. We've based the development of this plugin in the twiddle script for JBoss. Twiddle is a JMB client which gathers all kind of info about the server MBeans, into a <dataname>=<data> format after its execution. The script is the following: pandora_tomcat.pl Once we have located the script and the values we want to monitor, include this file in pandora_agent.conf as a plugin agent. This plugin will create a module for each value, visible in the Pandora server web interface. pandora_agent.conf is the configuration file of the Pandora Agent Software, and where all plugin agents must be located. This file can be found in: /etc/pandora/pandora_agent.conf We will write the following inside this file to create the plugin agent for Pandora: module_plugin <plugin-path> Restart Pandora Agent and the Pandora Server will create a module for each data contained in the Apache server-status page, from current requests to CPU load and ratios. /etc/init.d/pandora_agent_daemon restart IMPORTANT: Twiddle only can be executed with root privileges in this virtual machine, so in order to make the script work in Pandora, we need to run pandora agent as root or configure twiddle to run under other non-privileged user. Another option is to configure a normal user to run under SUDO commando. To do that, edit the file /etc/sudoers with the visudo command as root (DO NOT edit this file using vim /etc/sudoers) and include de following line: pandora ALL= NOPASSWD: ALL This way, Pandora can execute any commands using sudo without authentication. module_plugin sudo <plugin-path> Page 4
  • 5. That's why in pandora_agent.conf, in module_plugin, the command is preceded by sudo. 1.1.2. SNMP Monitoring You can use one of the multiple SNMP-JMX adaptors in the web to monitor JBoss. These are the most important: – OpenNMS – Westhawk SNMP – Sun JDMK Each of them allows us to convert JMX notifications into SNMP Traps and extract information about the server status. It would be just a matter of introducing the OIDs of the generated MIBs by the adaptor with its value and data type in the Pandora server and we could start monitoring it. Page 5
  • 6. Another way to monitor JBoss and other Java servers is JMX. 1.1.3. JMX Monitoring JMX (Java Management Extensions) provides the tools to implement distributed, modular, dynamic and web based solutions to manage and monitor, devices, applications and network-driven services, specially designed for Java. JMX uses an HTTP-adaptor to show all the info it manages via web. We can take benefit of the HTTP-adaptor data extraction by parsing this data in a Pandora- compatible XML format. When Pandora processes this XML, it will create modules for each data. However, it's better to use the other two ways for JBoss monitoring and leave this as an alternative. Page 6