Getting Service check timed out error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bsivavani
Posts: 339
Joined: Tue Oct 06, 2015 9:17 am

Getting Service check timed out error

Post 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 ?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Getting Service check timed out error

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked