Thank you. Will check with admins. I checked the service check_ping for the same host and it is working fine<div><br></div><div>Regards<br><br><div class="gmail_quote">On Wed, Feb 2, 2011 at 6:25 AM, Giles Coochey <span dir="ltr"><<a href="mailto:giles@coochey.net">giles@coochey.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 02/02/2011 12:12, akp geek wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Now I have increased the timeout to 60 seconds. Now I am getting<br>
<br>
node name or service name not known<br>
HTTP CRITICAL - Unable to open TCP socket<br>
<br>
Thanks for the suggestions<br>
<br>
Regards<br>
<br>
<br></div><div class="im">
On Tue, Feb 1, 2011 at 7:49 PM, steve f <<a href="mailto:a31modela@hotmail.com" target="_blank">a31modela@hotmail.com</a> <mailto:<a href="mailto:a31modela@hotmail.com" target="_blank">a31modela@hotmail.com</a>>> wrote:<br>
<br>
Most plugins time out after 10 seconds of not being able to<br>
contact a service (FTP, HTTP, etc). If the plugins are timing out<br>
after a short period of time, increase the timeout value for the<br>
plugin using the appropriate command line argument for that<br>
plugin. Try using a -t 12.<br>
<br>
I think that only the plugin timeout default value is 10 seconds,<br>
the other timeouts are higher. Someone else smarter than me can<br>
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<br>
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>
------------------------------------------------------------------------<br>
Date: Tue, 1 Feb 2011 18:30:55 -0500<br></div>
From: <a href="mailto:akpgeek@gmail.com" target="_blank">akpgeek@gmail.com</a> <mailto:<a href="mailto:akpgeek@gmail.com" target="_blank">akpgeek@gmail.com</a>><div class="im"><br>
To: <a href="mailto:nagios-users@lists.sourceforge.net" target="_blank">nagios-users@lists.sourceforge.net</a><br></div>
<mailto:<a href="mailto:nagios-users@lists.sourceforge.net" target="_blank">nagios-users@lists.sourceforge.net</a>><div class="im"><br>
Subject: [Nagios-users] CRITICAL - Socket timeout after 10 seconds<br>
<br>
<br>
Hi all -<br>
<br>
I have been using nagios for a while to check whether<br>
some our web sites are up and running<br>
<br>
following is the line from the commands.cfg<br>
<br>
*command_line $USER1$/check_http -w 5 -c 10 -H our_dns_name -u<br>
/siteName -S -v*<br>
<br>
<br>
It was working fine. Starting this afternoon, it started giving<br>
Socket time out. Logs have no information. Can you please share<br>
your experiences ?<br>
<br>
<br>
Regards<br>
<br>
<br>
</div></blockquote>
Have you tried speaking with the administrators of the web servers? I remember once I was running some web-server analytic on one of my webservers and I found lots of spurious connections from a particular host... I assumed it was a lame DoS attack and simply put in a iptables command to block any incoming traffic from that IP. All the requests were silly and every 30 seconds or so.<br>
Soon after I got a call from our NOC asking me if I could take a look at the webserver as it seemed to be down... of course, they never told me that they were monitoring it for uptime... nor did they actually check the webserver on a different client system... I guessed the company I was working for was actually more interested in seeing whether I was meeting a SLA rather than properly communicating their monitoring systems...<br>
But either way, if the web admin has blocked you then I imagine you'd get that error...<br>
<br>
-- <br>
Best Regards,<br><font color="#888888">
<br>
Giles Coochey<br>
NetSecSpec Ltd<br>
NL T-Systems Mobile: +31 681 265 086<br>
NL Mobile: +31 626 508 131<br>
GIB Mobile: +350 5401 6693<br>
Email/MSN/Live Messenger: <a href="mailto:giles@coochey.net" target="_blank">giles@coochey.net</a><br>
Skype: gilescoochey<br>
<br>
<br>
<br>
</font><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>