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 ?
Getting Service check timed out error
Re: Getting Service check timed out error
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:
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.003sBe sure to check out our Knowledgebase for helpful articles and solutions!