Search Exchange
Search All Sites
Login
Syabru Nagios JMX Plugin
Current Version
1.2.0
Last Release Date
2010-05-26
Compatible With
- Nagios 3.x
Owner
E-mail
Hits
71023
Reviews (2)
byabrennernj, December 9, 2011
I'm using this to monitor heap space usage of Hadoop name nodes and job trackers, and it works well.
bymanu75012, April 14, 2010
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.
[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.


New Listings


