Another NRPE timeout puzzle

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.
rdubya
Posts: 40
Joined: Mon Apr 11, 2016 8:38 am

Re: Another NRPE timeout puzzle

Post by rdubya »

I'm running core, that doc references Nagios XI. Is that going to work for me?

EDIT: I put a dummy script in with a sleep statement. It times out as expected.

EDIT 2: I actually took a look at the time out;
[root@engmondmz ~]# /usr/local/nagios/libexec/check_nrpe -H resource -c check_nrpe_iperf -t 90
NRPE: Command timed out after 60 seconds

Interesting that it bombs out in *60* seconds now instead of 10...
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Another NRPE timeout puzzle

Post by dwhitfield »

Did you restart the nrpe service after you increased the timeout? If you waited until later to restart, that would make sense. Try bumping it up to 120, but make sure you restart after doing so.

When you say the sleep command times out appropriately, you mean at 60, correct? Are you calling that check from Nagios or just locally?

Yes, all that installer does is install the agent. The key bit is that you are running a supported version of Linux, which you are.
Locked