Treat timeouts as "Unknown"

Andreas Ericsson ae at op5.se
Wed Aug 25 18:32:56 CEST 2004


Randie Waddell wrote:
> Hello,
> 
> I have the same problem as Ling, I have a service check that is reporting 
> "critical" and sending a notification when it times out, and would just like 
> it to go to "unknown".  Doesn't it make more sense for it to go to an 
> "unknown" state when the service check timesout? 
> 

No. As most of the service checks control the functionality of a 
networking service, said service can be said to malfunction when a check 
times out (i.e. a webpage takes too long to load, or a mailserver 
doesn't respond within a set limit of time). I think more or less all of 
the plugins return critical when they time out, so you'd have to patch 
each and every one of them. The suggestion Jason Martin came up with, to 
patch the nagios core, most likely wouldn't work, unless the timeout 
value specified by Nagios (which is only there to prevent stray 
processes from lingering forever) is reached by the plugin.

> Any information would be appreciated.
> 
> Randie
> 
> On Tuesday 24 August 2004 02:41 pm, Ling Zhang wrote:
> 
>>Hi,
>>
>>I would like to have nagios treat some of the service check timeouts as
>>"unknown" instead of "critical". Any idea how to do that?
>>
>>Thanks.
>>
>>Ling
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> 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
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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