Hi Team,
Iam currently using Nagios XI and iam facing this issue in couple of servers."CHECK_NRPE: Socket timeout after 30 seconds"
Previously the command was:
define command {
command_name check_nrpe
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$
I increased the timeout to 60.
define command {
command_name check_nrpe
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -t 60 -c $ARG1$ $ARG2$
But still the issue persisits.
Help me to resolve this issue.
CHECK_NRPE: Socket timeout after 30 seconds
-
- Posts: 4
- Joined: Wed Jan 23, 2019 12:47 am
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: CHECK_NRPE: Socket timeout after 30 seconds
Hello @Soumya2925,
Is this happening on and off again or have you not been able to return checks results at all. If increasing the timeout values is not helping, the next step is to make sure NRPE is up and running on the remote host.
Log into the remote host and If NRPE is using xinetd you can check the status with service xinetd status, otherwise, run the following command:
If it's running on the remote host, did you open a port on the remote host's firewall. If not, we have instructions for creating firewall rules and troubleshooting this error on our knowledegbase at:
NRPE - CHECK_NRPE: Socket Timeout After n Seconds
Is this happening on and off again or have you not been able to return checks results at all. If increasing the timeout values is not helping, the next step is to make sure NRPE is up and running on the remote host.
Log into the remote host and If NRPE is using xinetd you can check the status with service xinetd status, otherwise, run the following command:
Code: Select all
ps -aef | grep nrpe
NRPE - CHECK_NRPE: Socket Timeout After n Seconds
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!