Page 1 of 1

Getting Service check timed out error

Posted: Sun May 05, 2019 6:23 am
by bsivavani
Hi,

I am getting Service check timed out after 300.00 seconds most of times even after increasing service check timeout to 300 sec in nagios.cfg file.

Kindly advice ?

Re: Getting Service check timed out error

Posted: Mon May 06, 2019 8:43 am
by lmiltchev
What kind of check is this? 5 minutes is a pretty long time for a check to run... Have you tried timing the check to see how long does it actually take to run it?

Example:

Code: Select all

time <your check>

Code: Select all

# time /usr/local/nagios/libexec/check_nrpe -H x.x.x.x -c check_procs -a '-w 250 -c 350'
PROCS OK: 194 processes | procs=194;250;350;0;

real    0m0.041s
user    0m0.017s
sys     0m0.003s