Page 2 of 2

Re: Nagios client machine configuration steps

Posted: Wed Mar 02, 2016 1:33 am
by miyappan
hi ,

i have configured client side but i am getting error in server side. please find the attachement.

CHECK_NRPE: Socket timeout after 30 seconds.

Re: Nagios client machine configuration steps

Posted: Wed Mar 02, 2016 4:01 am
by nozlaf
are you sure nrpe is running on the client machine and that selinux is turned disabled

Code: Select all

echo 0 > /selinux/enforce
will turn off selinux on the client machine

Re: Nagios client machine configuration steps

Posted: Wed Mar 02, 2016 7:40 am
by miyappan
can any one help this CHECK_NRPE: Socket timeout after 30 seconds error. please find the attachment.

Re: Nagios client machine configuration steps

Posted: Wed Mar 02, 2016 8:27 am
by rhassing
Does NRPE run on the server you want to monitor.

Code: Select all

ps -ef | grep xinetd
Could you check with netstat if a process listens on port 5666 on the server you want to monitor?
Show the output of:

Code: Select all

netstat -tulpn | grep 5666
Can you telnet to port 5666 from the nagios server to the server you want to monitor?

Code: Select all

telnet <IP address server> 5666
Is iptables (or other firewall) opened?

Re: Nagios client machine configuration steps

Posted: Wed Mar 02, 2016 11:54 am
by hsmith
Can you post your /etc/xinetd.d/nrpe file here for us to review?

Re: Nagios client machine configuration steps

Posted: Mon Mar 21, 2016 12:01 pm
by miyappan
Issue resolved ..kindly close the loop.