Home Directory Addons Passive Checks send_JMX_ActiveThread

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

send_JMX_ActiveThread

Rating
2 votes
Favoured:
0
Current Version
1.2
Compatible With
  • Nagios 2.x
  • Nagios 3.x
License
GPL
Hits
96915
Files:
FileDescription
send_jmx_activethread_v1.2.shModified
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
send_JMX_ActiveThread is a script which can be used to send active thread count of a jmx console through nsca(as passive checks).
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.
Reviews (1)
bymakhsus ali, August 1, 2011
Thanks a lot...