CHECK_NRPE: Socket timeout after 30 seconds

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Soumya2925
Posts: 4
Joined: Wed Jan 23, 2019 12:47 am

CHECK_NRPE: Socket timeout after 30 seconds

Post by Soumya2925 »

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

Re: CHECK_NRPE: Socket timeout after 30 seconds

Post by benjaminsmith »

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:

Code: Select all

ps -aef | grep nrpe
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
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