Expiration of passive check results

C. Bensend benny at bennyvision.com
Tue Mar 30 15:21:21 CEST 2010


>  - Is it possible in NAGIOS, to let the result of a passive check ,
> 'expire' after a given time period ?
>    (this could be used for errors, which are considered less
> important, and are being considered 'dead weight' for
>     the time being).
>
>    I mean if I a get a CRITICAL  (passive) test result, from outside,
> I would like NAGIOS to start a timer,
>   and set the alert to OK after a give time.
>   Now 'external' workarounds such as cron jobs may apply, but I wonder
> wether this can be handled from within NAGIOS.

Take a spin through the Nagios documentation and look at the
information about freshness checking.

You can easily tell Nagios to check freshness on a passive service
every X minutes, and when it does run an active check.  That active
check can be anything, including using check_dummy to set the return
value to be 0 (OK) with the message of your choice.

Benny


-- 
Whoever said that hell hath no fury like a women scorned never
owned a cat.
                                                  -- bash.org


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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