Separate notification_interval for warnings?

Robert Hajime Lanning lanning at lanning.cc
Mon Jan 8 08:30:48 CET 2007


<quote who="Mike Hamrick">
> I have nagios set up to send notifications every five minutes.  This
> makes sense when a service is CRITICAL, but makes less sense when it
> is simpily WARNING.  Warnings go to a separate email alias... every
> five minutes.  Normally during the day I acknowledge them, but during
> the evening they can generate quite a lot of spam.  I couldn't figure
> out a good way to solve this problem, so I ended up adding a new
> variable to nagios 2.6 called warn_notification_interval which only
> gets applied to services/hosts in the WARNING state.

This can be done via escalations.

define serviceescalation{
        host_name               *
        service_description     *
        contact_groups          contactgroup_name
        first_notification      1
        last_notification       0
        notification_interval   60
        escalation_period       timeperiod_name
        escalation_options      w
}

-- 
And, did Galoka think the Ulus were too ugly to save?
                                         -Centauri


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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