Integrate JBoss into Nagios monitoring through a small Collector MBean and a perl based Nagios plugin. Lets you read you and monitor JMX values from JBoss servers very efficiently. On the Nagios server no JDK or JBoss installation is needed.
Have a look at the output of the [HelpPage].
Both, collector.sar and check_mbean_collector can be obtained from the Download page of the project.
With JBoss:
collector.sar to your JBoss deploy directory. Port 5566 is then open for the plugin to access it.With Tomcat or anything else:
On the Nagios server:
check_mbean_collector to the Nagios plugin directory on the Nagios server.You might check, if the plugin and the MBean is working properly by doing a test run:
./check_mbean_collector -H jbossserver -p 5566 -m jboss.system:type=ServerInfo -a ActiveThreadCount -w 200 -c 400
Please note that you need the nagios-plugins package installed and of course replace "jbossserver" with you server name in the example above
Check the plugin's [HelpPage] for more options.
Wiki: HelpPage
Wiki: NagiosSetup
Wiki: UsefulMBeans
Wiki: VersionMatrix