NRPE Timeout

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
ammu
Posts: 1
Joined: Tue Aug 11, 2020 3:24 am

NRPE Timeout

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

Re: NRPE Timeout

Post 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
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