Threshold Based Timeperiod

Jim Avery jim at jimavery.me.uk
Thu Feb 24 09:06:56 CET 2011


On 23 February 2011 18:17, Nair <vmanojv at rediffmail.com> wrote:
>
> Friends
>
> Is it possible to have a different thresholds for same check for
> different timeperiods.
>
> say 10% from 10AM to 6PM and 20% from 6.01PM to 9.59AM
>
> Thank you
> Nair

I don't believe so unless you define two separate services which could
look a bit messy.  There are some tricks you can use though.  One I
use in the same vein is I have two contact definitions one for the
core hours timeperiod and the other for the out-of-hours timeperiod.
The out-of-hours one has notification_options c,r  (i.e. not "w") so
Nagios will only send an SMS alert out for critical events not
warnings during that timeperiod.

hth,

Jim

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
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