check_dns
Karl DeBisschop
karl at debisschop.net
Fri Aug 1 17:07:59 CEST 2003
Richard Mayhew writes:
> okie it seems sorted thanks...
>
> 1 question... with check_ping..
>
> when pinging a unpingable ip, can it return packet loss rather than a
> timeout?
>
> One needs to add a -w (timeout) for the ping cmd, else it just sits there
> and never stops, untill the plugin times out itself.
>
> So one could add
> eg. ping -n -U -c 1 -w ($timeout - 5secs) 1.1.1.1
> ping -n -U -c 1 -w 55 1.1.1.1
>
> so that the timeout of the plugin is always 5 secs more than the ping cmd
> itself.
This is a general issue I think. I hope for the 1.4.0 beta to go through all
the plugins and reset the default timeout to be a few seconds greater than
the critical time interval. We still should be able to set the timeout
explicitly, if you want to let a subsystem use it's own clean closing, but
the default should not have ping timeout after 10 secs if -c is 2 secs.
--
Karl
> It seems there is a bug in the ping cmd for sometime now... I wonder if I
> should try and report it.
>
> ----- Original Message -----
> From: "Karl DeBisschop" <karl at debisschop.net>
> To: "Richard Mayhew" <richard at splash.co.za>
> Cc: "Karl DeBisschop" <karl at debisschop.net>; "Nagios Users"
> <nagios-users at lists.sourceforge.net>
> Sent: Friday, August 01, 2003 3:58 PM
> Subject: [Nagios-users] Re: check_dns
>
>
>> Richard Mayhew writes:
>>
>> > Hi
>> > Sorry I re-did a check_dns --version just to check and I have
>> >
>> > check_dns (nagios-plugins 1.3.0) 1.8
>> >
>> > So, I guess there is a new version I should install?
>>
>> If you could try 1.3.1, that would help.
>>
>> > thanks
>> >
>> > ----- Original Message -----
>> > From: "Karl DeBisschop" <karl at debisschop.net>
>> > To: "Richard Mayhew" <richard at splash.co.za>
>> > Cc: "Nagios Users" <nagios-users at lists.sourceforge.net>
>> > Sent: Friday, August 01, 2003 3:32 PM
>> > Subject: Re: check_dns
>> >
>> >
>> >> Richard Mayhew writes:
>> >>
>> >> > Hi
>> >> >
>> >> > There seems to be a problem with check_dns. I run RedHat 7.3 with all
>> > required updates, Nagios 1.1, Plugins 1.3.1.
>> >> >
>> >> > Here are the scenarios.
>> >> >
>> >> > 1. Dns Server is up and contactable.
>> >> > check_dns returns the correct information, reporting that the
>> > service is etc.
>> >> > 2. Dns Server is up but not contactable (firewall blocking requests)
>> >> > check_dns returns that the service is ok. (10 secs responce,
>> > addresses is/all (null))
>> >> > True answer with -v flag is connection timed out.
>> >>
>> >> I am working on this one already.
>> >>
>> >> Cannot reproduce with RH 9. But I had been waiting on the plugin
> version
>> >> number, which you have just provided.
>> >>
>> >> > 3. Dns Server does not exist
>> >> > check_dns returns Segmentation Fault.
>> >>
>> >> News to me. I'll look into it tonight.
>> >>
>> >> > Any Ideas how to correct this?
>> >>
>> >> --
>> >> Karl
>> >>
>> >>
>> >>
>> >
>>
>>
>>
>>
>> -------------------------------------------------------
>> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
>> Data Reports, E-commerce, Portals, and Forums are available now.
>> Download today and enter to win an XBOX or Visual Studio .NET.
>>
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at 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
>>
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list