check_jmx command not found
Posted: Thu Mar 03, 2016 10:01 am
Hello Nagios XI support
We are using this manual:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
To test check_jmx plugin against our JMX-enabled application
For some reason it refuses to work in this example (while trying to access JMX at 10.102.35.102:50500)
[root@fikc-nagxidev01 libexec]# ./check_jmx -U service:jmx:rmi///jndi/rmi://10.102.35.102:50500/jmxrmi -O java.lang:type=Memory -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used -w 4248302272 -c 5498760192
./check_jmx: line 6: java: command not found
What wpould be the next troubleshooting step?
Thank you
We are using this manual:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
To test check_jmx plugin against our JMX-enabled application
For some reason it refuses to work in this example (while trying to access JMX at 10.102.35.102:50500)
[root@fikc-nagxidev01 libexec]# ./check_jmx -U service:jmx:rmi///jndi/rmi://10.102.35.102:50500/jmxrmi -O java.lang:type=Memory -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used -w 4248302272 -c 5498760192
./check_jmx: line 6: java: command not found
What wpould be the next troubleshooting step?
Thank you