
Passive Checks
send_JMX_ActiveThread
Description:
send_JMX_ActiveThread is a script which can be used to send active thread count of a jmx console through nsca(as passive checks).
Current Version
1.2
Last Release Date
July 29, 2011
Compatible With
- Nagios 2.x
- Nagios 3.x
Owner
License
GPL
Project Files
File | Description |
---|---|
send_jmx_activethread_v1.2.sh | Modified |
Project Notes
send_JMX_ActiveThread uses JBossToNagiosplugin(check_mbean_collector and the M-Bean Collector.sar).
downaload JBossToNagiosplugin from http://sourceforge.net/projects/jboss2nagios/files/
copy the check_mbean_colletor to libexec directory and collector.sar in deploy directory of the JBOSS
download send_JMX_ActiveThread and paste in NagiosHome/libexec/.
you can now run send_JMX_ActiveThread to send your passive checks for JMX Active threads to nagios.Alternatively you can add it to crontab to execute it periodically and automatically.
Pre-Requisite--
1.NSCA on the nagios server and send_nsca should be installed on the host to be monitored.
2.jboss2Nagios plugin should be available.
Example--
You need to run this command from the macine on which jboss is running.
/usr/local/nagios/libexec/send_JMX_ActiveThread_v1.2.sh jboss-server-name nagios-server-ip
replace jboss-server-name with the host name (as mentioned in the configuration file in $NAGIOS_HOME/etc/obects/ directory) and nagios-server-ip with the ip of the box where nagios is running.
You can also add it in crontab for automatic execution.
Page Sections
Project Stats
Rating
5 (2)
Favorites
0
Views
96,928