CHECK_NRPE: Socket timeout after 60 seconds.

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
rahul2gupta
Posts: 10
Joined: Wed Sep 16, 2020 12:41 am

CHECK_NRPE: Socket timeout after 60 seconds.

Post 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
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: CHECK_NRPE: Socket timeout after 60 seconds.

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked