Page 1 of 1

NRPE Timeout

Posted: Wed Dec 23, 2020 3:36 am
by ammu
Hi all,

I do check on the windows remote server like this,.
/usr/lib/nagios/plugins/check_nrpe -H test.com -c check_count_brsw200 -t 60

NRPE: Command timed out after 60 seconds
I am getting socket time out. Can you please help.

CHECK_NRPE: Socket timeout after 60 seconds

Re: NRPE Timeout

Posted: Wed Dec 23, 2020 4:31 pm
by benjaminsmith
Hi @ammu,

Thanks for joining the Nagios Community Forum. Glad to have you here.

I would make sure the NRPE service is indeed running on the remote host. Are you able to run check_count_brsw locally? If so, then this is usually a network communications issue. Make a firewall is not blocking communications over the port for NRPE (5666 by default).

There's also an allowed hosts directive in the NRPE configuration file on the remote system, make sure that has the Nagios IP address in it.

Good luck and let us know what you find out.

Benjamin