Re: [Nagios-users] CRITICAL - Socket timeout after 10 seconds
On Wednesday 02 February 2011 12:52:44 akp geek wrote: > Thank you. Will check with admins. I checked the service check_ping for the > same host and it is working fine That probably isn't related. Ping uses the icmp protocol and has nothing to do with an http check which probably is handled by and apache server (or lighthttp or whatever...) -- Regards, Marc Deop -- 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
Re: [Nagios-users] CRITICAL - Socket timeout after 10 seconds
Thank you. Will check with admins. I checked the service check_ping for the same host and it is working fine Regards On Wed, Feb 2, 2011 at 6:25 AM, Giles Coochey wrote: > On 02/02/2011 12:12, akp geek wrote: > >> Now I have increased the timeout to 60 seconds. Now I am getting >> >> node name or service name not known >> HTTP CRITICAL - Unable to open TCP socket >> >> Thanks for the suggestions >> >> Regards >> >> >> On Tue, Feb 1, 2011 at 7:49 PM, steve f > 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 as >>well. >> >>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 >> >> >> 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... > > -- > 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 > > > > > > -- > 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 > -- 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
Re: [Nagios-users] CRITICAL - Socket timeout after 10 seconds
On 02/02/2011 12:12, akp geek wrote: Now I have increased the timeout to 60 seconds. Now I am getting node name or service name not known HTTP CRITICAL - Unable to open TCP socket Thanks for the suggestions Regards On Tue, Feb 1, 2011 at 7:49 PM, steve f <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 as well. 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 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... -- 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
Re: [Nagios-users] CRITICAL - Socket timeout after 10 seconds
Now I have increased the timeout to 60 seconds. Now I am getting node name or service name not known HTTP CRITICAL - Unable to open TCP socket Thanks for the suggestions Regards On Tue, Feb 1, 2011 at 7:49 PM, steve f 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 as well. > > 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 > To: 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 > > > -- > 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 > > > -- > 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 > -- 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
Re: [Nagios-users] CRITICAL - Socket timeout after 10 seconds
Hi, This message means that your webserver didn't respond to your request after 10s. It's the same as when your browser is waiting and suddendly stop and show an error page indicating that the webserver didn't respond. Marc-André On Tue, 2011-02-01 at 19:49 -0500, steve f 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 as well. > > 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 > To: 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 > > > > -- > 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 > -- > 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 -- 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
Re: [Nagios-users] CRITICAL - Socket timeout after 10 seconds
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 as well. 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 To: 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 -- 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 -- 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
[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 -- 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
Re: [Nagios-users] Critical - Socket Timeout After 10 Seconds
On Jan 6, 2009, at 12:54 PM, Seth Simmons wrote: > use –t 20 to increase the timeout to 20 seconds (or whatever you > want); most plug-ins have that switch Also make sure that the master timeout value nagios uses for service checks (specified in nagios.cfg) is greater than this value or nagios will kill the check before the individual plugin timeout is reached. -- Marc -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ 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
Re: [Nagios-users] Critical - Socket Timeout After 10 Seconds
use -t 20 to increase the timeout to 20 seconds (or whatever you want); most plug-ins have that switch example /usr/local/nagios/libexec/check_http -H myserver -p 80 -t 20 do a --help for verbose switch usage (example /usr/local/nagios/libexec/check_http --help) From: Frank M [mailto:frankm...@gmail.com] Sent: Tuesday, January 6, 2009 1:43 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Critical - Socket Timeout After 10 Seconds I am running Nagios 3.0.6 with Nagios Plugins 1.4.13 on Suse Linux 11.1. Windows servers have NSClient++ 0.2.7 Every few minutes Nagios detects that a servers/service is down because it times out and in the status information shows: Critical - Socket Timeout After 10 Seconds. Once it redoes its check on those particular servers/services it shows that it is all good and other servers/services show "Critical - Socket Timeout After 10 Seconds". I looked for a place to change the timeout from 10 seconds to 20 but could not find one. Any help would be appreciated. Thank you, Frank -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB___ 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
Re: [Nagios-users] Critical - Socket Timeout After 10 Seconds
On 06-Jan-2009, at 13:43 , Frank M wrote: I am running Nagios 3.0.6 with Nagios Plugins 1.4.13 on Suse Linux 11.1. Windows servers have NSClient++ 0.2.7 Every few minutes Nagios detects that a servers/service is down because it times out and in the status information shows: Critical - Socket Timeout After 10 Seconds. Once it redoes its check on those particular servers/services it shows that it is all good and other servers/services show "Critical - Socket Timeout After 10 Seconds". I looked for a place to change the timeout from 10 seconds to 20 but could not find one. Any help would be appreciated. The timeout may be coming from the plugin rather than nagios itself. For example, I occasional see check_by_ssh time out if packet loss gets a bit high, or if there's a DNS issue somewhere. In that case, the timeout is set as part of the command line, and I've modified my check commands accordingly so that I can tune it: define command { command_namecheck_disk_remote command_line$USER1$/check_by_ssh -H $HOSTADDRESS$ -t $USER4$ - C "$USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$" } The '-t' on check_by_ssh alters its timeout value. Check the help for the plugins which you see reporting timeouts to see if you can tweak their timeout values. HTH, Matt PGP.sig Description: This is a digitally signed message part -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB___ 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
[Nagios-users] Critical - Socket Timeout After 10 Seconds
I am running Nagios 3.0.6 with Nagios Plugins 1.4.13 on Suse Linux 11.1. Windows servers have NSClient++ 0.2.7 Every few minutes Nagios detects that a servers/service is down because it times out and in the status information shows: Critical - Socket Timeout After 10 Seconds. Once it redoes its check on those particular servers/services it shows that it is all good and other servers/services show "Critical - Socket Timeout After 10 Seconds". I looked for a place to change the timeout from 10 seconds to 20 but could not find one. Any help would be appreciated. Thank you, Frank -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB___ 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