On 02/02/2011 12:12, akp geek wrote:
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. 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... But either way, if the web admin has blocked you then I imagine you'd get that error...Now I have increased the timeout to 60 seconds. Now I am gettingnode name or service name not known HTTP CRITICAL - Unable to open TCP socket Thanks for the suggestions RegardsOn Tue, Feb 1, 2011 at 7:49 PM, steve f <a31mod...@hotmail.com <mailto:a31mod...@hotmail.com>> wrote: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. 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.Is this check_http failing every time now or only occasionally ? Try running the check to a different site and see if those fail aswell. Is the server possibly busy at the same time?? Let us know what you find out. Steve ------------------------------------------------------------------------ Date: Tue, 1 Feb 2011 18:30:55 -0500 From: akpg...@gmail.com <mailto:akpg...@gmail.com> To: nagios-users@lists.sourceforge.net <mailto:nagios-users@lists.sourceforge.net> Subject: [Nagios-users] CRITICAL - Socket timeout after 10 seconds Hi all - I have been using nagios for a while to check whether some our web sites are up and running following is the line from the commands.cfg *command_line $USER1$/check_http -w 5 -c 10 -H our_dns_name -u /siteName -S -v* It was working fine. Starting this afternoon, it started giving Socket time out. Logs have no information. Can you please share your experiences ? Regards
-- Best Regards, Giles Coochey NetSecSpec Ltd NL T-Systems Mobile: +31 681 265 086 NL Mobile: +31 626 508 131 GIB Mobile: +350 5401 6693 Email/MSN/Live Messenger: gi...@coochey.net Skype: gilescoochey
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------ 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! http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________ Nagios-users mailing list Nagios-users@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