Issue with HTTP URL monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
plakshmi
Posts: 68
Joined: Thu Aug 30, 2012 12:32 pm

Issue with HTTP URL monitoring

Post by plakshmi »

Recently we have implemented monitoring for couple of HTTP URL's in Nagios XI 2012R2.9. We are seeing below issues.

1) If we monitor URL with threshold 120 seconds we are getting "Service check timed out" intermittently. The default check timeout in nagios.cfg is 60 seconds.
Command - /usr/local/nagios/libexec/check_http -f follow -H $HOSTNAME$ -s $ARG1$ -u $ARG2$ -c 120 -t 120

2) If we specify threshold value 50 seconds, we are getting "Socket timeout after 50 seconds" intermittently. At times the URL shows OK status.
Command - /usr/local/nagios/libexec/check_http -f follow -H $HOSTNAME$ -s $ARG1$ -u $ARG2$ -c 50 -t 50

Please suggest if we are missing anything.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Issue with HTTP URL monitoring

Post by abrist »

There is a hard limit on the service check timeouts in nagios.cfg. You should check this value and increase it so your checks using timeouts larger than the default will run at their full interval:

Code: Select all

grep service_check_timeout /usr/local/nagios/etc/nagios.cfg
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked