Query on check_http timeout option
Sharad Ganapathy
sharadgana at gmail.com
Thu Jun 10 08:07:38 CEST 2010
Hello,
I want to understand the timeout option in check_http. From the help option,
it states :
-t, --timeout=INTEGER
Seconds before connection times out (default: 10)
I monitor a webservice to check for connectivity and also pass some
parameters to get some content back. Usually the download transfer takes
around 20 seconds and occasionally it takes well over a minute or two. I
have configured my check in this fashion.
$ROOT/libexec/nagios/check_http -u 'some URL' -I API Hostname -t 10 -c 20
-p 4080 -A 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; pagechecks
mon)'
I am seeing the check error out with the message 'Socket timeout after 10
seconds' quite often.
When I manually connect ( telnet/curl) the URL the connection time is well
below 10 seconds.
Is the timeout parameter used to check the time it takes to establish a TCP
connection or to govern the time the check took to complete ?
Thanks
Sharad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100610/db8b03b0/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list