Now I have increased the timeout to 60 seconds. Now I am getting <div><br></div><div>node name or service name not known</div><div>HTTP CRITICAL - Unable to open TCP socket</div><div><br></div><div>Thanks for the suggestions</div>
<div><br></div><div>Regards</div><div><br><br><div class="gmail_quote">On Tue, Feb 1, 2011 at 7:49 PM, steve f <span dir="ltr"><<a href="mailto:a31modela@hotmail.com">a31modela@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">




<div>
 Most
plugins time out after 10 seconds of not being able to contact a
service (FTP, HTTP, etc). If the plugins are timing out after a short
period of time, increase the timeout value for the plugin using the
appropriate command line argument for that plugin. Try using a -t 12.  <br><br>I think that only the plugin timeout default value is 10 seconds, the other timeouts are higher.  Someone else smarter than me can verify that.<br>
<br>Is this check_http failing every time now or only occasionally ?  Try running the check to a different site and see if those fail as well.<br><br>Is the server possibly busy at the same time??<br><br>Let us know what you find out.<br>
<br>Steve<br><br><hr>Date: Tue, 1 Feb 2011 18:30:55 -0500<br>From: <a href="mailto:akpgeek@gmail.com" target="_blank">akpgeek@gmail.com</a><br>To: <a href="mailto:nagios-users@lists.sourceforge.net" target="_blank">nagios-users@lists.sourceforge.net</a><br>
Subject: [Nagios-users] CRITICAL - Socket timeout after 10 seconds<div><div></div><div class="h5"><br><br>Hi all -<div><br></div><div>           I have been using nagios for a while to check whether some our web sites are  up and running</div>
<div><br></div><div>following is the line from the commands.cfg</div><div><br></div><div>
<b>command_line $USER1$/check_http -w 5 -c 10  -H our_dns_name -u /siteName -S -v</b></div><div><br></div><div><br></div><div>It was working fine. Starting this afternoon, it started giving Socket time out. Logs have no information. Can you please share your experiences ?</div>

<div><br></div><div><br></div><div>Regards</div><div><br></div>
<br></div></div>------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
<a href="http://p.sf.net/sfu/arcsight-sfd2d" target="_blank">http://p.sf.net/sfu/arcsight-sfd2d</a><br>_______________________________________________
Nagios-users mailing list
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null                                    </div>
<br>------------------------------------------------------------------------------<br>
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!<br>
Finally, a world-class log management solution at an even better price-free!<br>
Download using promo code Free_Logger_4_Dev2Dev. Offer expires<br>
February 28th, so secure your free ArcSight Logger TODAY!<br>
<a href="http://p.sf.net/sfu/arcsight-sfd2d" target="_blank">http://p.sf.net/sfu/arcsight-sfd2d</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br></div>