Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
Your review has been submitted and is pending approval.
Nagios JMX plugin to retrieve and monitor runtime data from Java VM’s and other applications supporting JMX. The plugin supports Nagios performance data and operation invocation on MBeans for resetting statistical data or counters. It also supports regular expression matching for String return values as well as the full Nagios threshold range specification. Object and domain name pattern matching is also supported.
Current Version
1.2.0
Last Release Date
2010-05-26
Owner
Felix Roethenbacher
Website
http://snippets.syabru.ch/nagios-jmx-plugin/
Download URL
http://snippets.syabru.ch/nagios-jmx-plugin/download/nagios-jmx-plugin.zip
Compatible With
I tested "check_jmx", "check_jmx 2" plugins, and finally this one, which works very well. - the "check_jmx" plugin couldn't parse correctly the arguments given, and had to apply a hack to obtain perfdata, - this plugin includes perfdata natively. Here is an example : - on nrpe client host : -- cfg file included by nrpe.cfg : command[test_check_jmx]=/usr/local/nagios/libexec/check_jmx -U service:jmx:rmi:///jndi/rmi://localhost:$ARG1$/jmxrmi -O org.apache.camel:context=$ARG2$/mainContext,type=$ARG3$,name="$ARG4$" -A $ARG5$ -w $ARG6$ -c $ARG7$ - on nagios nrpe server : -- command line test : ./check_nrpe -H 10.20.0.11 -u -c test_check_jmx_dcd_failures -a 10010 satais-esb1 processors threadProcessor FailuresHandled 1 10 -- result : JMX OK - FailuresHandled = 0 | 'FailuresHandled'=0;1;10;;
I'm using this to monitor heap space usage of Hadoop name nodes and job trackers, and it works well.
Tried with my nagios. It is running in a shell : [nagios@myserver libexec]$ ./check_jmx -U service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O "java.lang:type=Memory" -A HeapMemoryUsage -K used JMX OK - HeapMemoryUsage.used = 605230312 | 'HeapMemoryUsage used'=605230312;;;; Not working with NRPE : [nagios@myserver libexec]$ /usr/local/nagios/libexec/check_nrpe -H localhost -c check_jmx NRPE: Unable to read output in my nrpe.cfg : command[check_jmx]=/usr/local/nagios/libexec/check_jmx -U service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O "java.lang:type=Memory" -A HeapMemoryUsage -K used I tried to add and differents kinds of ", but did not help. Any help would be great.
You must be logged in to submit a review.
To:
From: