Issue with HTTP URL monitoring
Posted: Fri Oct 03, 2014 1:27 pm
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.
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.