<div>Hello,</div><div><br></div><div>I want to understand the timeout option in check_http. From the help option, it states :</div><div>-t, --timeout=INTEGER</div><div>    Seconds before connection times out (default: 10)</div>
<div><br></div><div>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.</div>
<div><br></div><div>$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)'</div><div><br></div><div>I am seeing the check error out with the message 'Socket timeout after 10 seconds' quite often.</div>
<div><br></div><div>When I manually connect ( telnet/curl) the URL the connection time is well below 10 seconds.</div><div><br></div><div>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 ?</div>
<div><br></div><div><br></div><div>Thanks</div><div><br></div><div>Sharad </div>