Re: NRPE: Unable to read output
Posted: Mon Mar 13, 2017 3:09 am
Hi,
I tried the other option that you suggested i.e. running the check_jmx plugin from the nagios server.
I got this error:
bash-4.1# ./check_jmx -U service:jmx:rmi:///jndi/rmi://168.162.97.143:7780/jmxrmi -O jboss.system:type=ServerInfo -A TotalMemory -w 3247300864 -c 3251495168
JMX CRITICAL - Error opening RMI connection: Connection refused to host: 168.162.97.143; nested exception is:
java.net.ConnectException: Connection timed out
-bash-4.1# pwd
/usr/local/nagios/libexec/nagios-jmx-plugin-1.2.3
When i am running the check_jmx from nagios server to other remote servers, i am getting the output. Only this host has problem.
Can you advise on this error?
Regards,
Rahul
I tried the other option that you suggested i.e. running the check_jmx plugin from the nagios server.
I got this error:
bash-4.1# ./check_jmx -U service:jmx:rmi:///jndi/rmi://168.162.97.143:7780/jmxrmi -O jboss.system:type=ServerInfo -A TotalMemory -w 3247300864 -c 3251495168
JMX CRITICAL - Error opening RMI connection: Connection refused to host: 168.162.97.143; nested exception is:
java.net.ConnectException: Connection timed out
-bash-4.1# pwd
/usr/local/nagios/libexec/nagios-jmx-plugin-1.2.3
When i am running the check_jmx from nagios server to other remote servers, i am getting the output. Only this host has problem.
Can you advise on this error?
Regards,
Rahul