Page 1 of 1

CHECK_NRPE: Socket timeout after 60 seconds.

Posted: Tue Nov 03, 2020 6:46 am
by rahul2gupta
Hi,

We are getting following error , when we execute the following command on nagios server.

[root@nagios libexec]# ./check_nrpe -H host1 -c check_broker_clientstatus -t 60
CHECK_NRPE: Socket timeout after 60 seconds.

However when we execute the script on remote server it is taking less than 60 secs and we are getting expected output.

What could be the problem?

Regards,
Rahul

Re: CHECK_NRPE: Socket timeout after 60 seconds.

Posted: Tue Nov 03, 2020 3:30 pm
by benjaminsmith
HI Rahul,

We don't usually recommend increasing the global timeouts beyond 60 seconds as this can cause issues. A few things to check. Make sure the NRPE service is running on the remote system and verify ( with ping checks ) that you do not have any communication issues between the Nagios Server and the NRPE agent on the remote host.

Also, check out our KB article on troubleshooting this error.

NRPE - CHECK_NRPE: Socket Timeout After n Seconds

Benjamin