Page 1 of 3
CHECK_NRPE: Socket timeout after 30 seconds
Posted: Thu Mar 03, 2016 5:04 am
by miyappan
hi ,
i have configured nagios server. then i have added client machine into the nagios server but after adding client machine i am getting error.Please find the attachment.
CHECK_NRPE: Socket timeout after 30 seconds.
Re: CHECK_NRPE: Socket timeout after 30 seconds
Posted: Thu Mar 03, 2016 7:27 am
by nozlaf
try and turn selinux off on both machines
echo 0 >/selinux/enforce
Re: CHECK_NRPE: Socket timeout after 30 seconds
Posted: Thu Mar 03, 2016 10:28 am
by bwallace
Just want to add that if the previous suggestion does not resolve the issue, then follow the steps outlined in this doc. Section IV addresses this situation directly.
https://assets.nagios.com/downloads/nag ... utions.pdf
Re: CHECK_NRPE: Socket timeout after 30 seconds
Posted: Fri Mar 04, 2016 5:03 am
by miyappan
nozlaf wrote:try and turn selinux off on both machines
echo 0 >/selinux/enforce
Still i am facing the same issue.
Re: CHECK_NRPE: Socket timeout after 30 seconds
Posted: Fri Mar 04, 2016 5:05 am
by miyappan
still i am facing the same issue.
Re: CHECK_NRPE: Socket timeout after 30 seconds
Posted: Fri Mar 04, 2016 9:06 am
by miyappan
still i am facing the same issue.anyone can help on this.
Re: CHECK_NRPE: Socket timeout after 30 seconds
Posted: Fri Mar 04, 2016 10:58 am
by rkennedy
Can you please post your service definition from the Nagios machine, and your NRPE configuration file from the client machine?
Also, on the client machine please run netstat -anp|grep 5666, and on the Nagios machine run nmap ipofclientmachine - post both results back here.
Re: CHECK_NRPE: Socket timeout after 30 seconds
Posted: Mon Mar 07, 2016 1:28 am
by miyappan
rkennedy wrote:Can you please post your service definition from the Nagios machine, and your NRPE configuration file from the client machine?
Also, on the client machine please run netstat -anp|grep 5666, and on the Nagios machine run nmap ipofclientmachine - post both results back here.
Hi , please find the below updates.
client machine :
[root@ept74 ~]# netstat -anp|grep 5666
tcp 0 0 0.0.0.0:5666 0.0.0.0:* LISTEN 24017/nrpe
tcp 0 0 :::5666 :::* LISTEN 24017/nrpe
Nagios Machine :
[root@AIPL-CHE-NAGIOS ~]# nmap 192.168.100.21
Starting Nmap 5.51 (
http://nmap.org ) at 2016-03-07 12:07 IST
Nmap scan report for 192.168.100.21
Host is up (0.0080s latency).
Not shown: 995 filtered ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp closed http
113/tcp closed auth
443/tcp closed https
8080/tcp closed http-proxy
Nmap done: 1 IP address (1 host up) scanned in 4.76 seconds
Re: CHECK_NRPE: Socket timeout after 30 seconds
Posted: Mon Mar 07, 2016 1:31 am
by miyappan
Hi , please find the below updates.
client machine :
[root@ept74 ~]# netstat -anp|grep 5666
tcp 0 0 0.0.0.0:5666 0.0.0.0:* LISTEN 24017/nrpe
tcp 0 0 :::5666 :::* LISTEN 24017/nrpe
Nagios Machine :
[root@AIPL-CHE-NAGIOS ~]# nmap 192.168.100.21
Starting Nmap 5.51 (
http://nmap.org ) at 2016-03-07 12:07 IST
Nmap scan report for 192.168.100.21
Host is up (0.0080s latency).
Not shown: 995 filtered ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp closed http
113/tcp closed auth
443/tcp closed https
8080/tcp closed http-proxy
Nmap done: 1 IP address (1 host up) scanned in 4.76 seconds
Re: CHECK_NRPE: Socket timeout after 30 seconds
Posted: Mon Mar 07, 2016 2:23 pm
by hsmith
Can you please try the following?
On the Nagios server:
Code: Select all
yum -y install telnet
telnet 192.168.100.21 5666