Code: Select all
service xinetd restart
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H 127.0.0.1
Thank you!
Code: Select all
service xinetd restart
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H 127.0.0.1
Yes. hosts are delimited by space in /etc/xinetd.d/nrpebolson wrote:The correct syntax differs between nrpe.cfg (comma delimited) and /etc/xinetd.d/nrpe (space delimited)
Are the hosts delimited by a space in /etc/xinetd.d/nrpe?
Code: Select all
only_from = 127.0.0.1 10.0.0.208
Code: Select all
allowed_hosts=127.0.0.1,10.0.0.208
That is correct.bolson wrote:Have you restarted the xinetd service and are you still experiencing the same issue?
Code: Select all
command[check_tomcat_heap]=/usr/bin/sudo -u tomcat7 /usr/local/nagios/libexec/check_jvm -n org.apache.catalina.startup.Bootstrap -p heap -w 1466538393 -c 1780796620
root@prod-server-1:/usr/local/nagios/libexec# /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -c check_tomcat_heap
NRPE: Unable to read output
Code: Select all
nagios ALL=(ALL) NOPASSWD: /usr/local/nagios/libexec/
Code: Select all
nagios ALL= NOPASSWD: /usr/local/nagios/libexec/
Code: Select all
root@prod-server-1:/usr/local/nagios/libexec# /usr/local/nagios/libexec/check_nrpe -H localhost -c check_tomcat_heap
OK 882M |max=4151836672;;; commited=2028941312;;; used=924281928;;;