Build precise queries to find exactly what you need
Press ESC to close
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.
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!