Configuring tricky escalations
Julien Dehee
julien.dehee at avedya.com
Mon Apr 7 12:10:27 CEST 2008
Hi, I'm using Nagios in a production environment, and I'm trying to
configure some complex setup, which I'll try to explain here :
- Munin is sending to Nagios NSCA exports to tell when a server run out of
disk space.
We have in services.cfg this configuration :
define service{
use crit-service # this is a
service which will send us SMS notifications
host_name serverOne, serverTwo
hostgroup_name groupofServers1, groupofServers2
service_description df
max_check_attempts 1
check_command check_none
active_checks_enabled 0
}
This is a typical passive checks driven service. we also want to send
notification first to somebody, and 10 minutes later to the whole admin team
:
here is the escalation.cfg for the "df" service and (for one of the
servers, this is repeated for each server or group of server):
define serviceescalation{
service_description df
host_name someserver
first_notification 1
last_notification 0
notification_interval 10
contact_groups some_guy
}
define serviceescalation{
service_description df
host_name someserver
first_notification 2
last_notification 0
notification_interval 10
contact_groups whole_admin_team
}
This is working just fine. Now the tricky part : we would like to send
notification for DF WARNINGS only during workhours, and the rest (u,c,r) in
the 24x7 period.
I tried to create more escalations, specific with "timeperiod" and
"escalation_options" but I can't make it.
Will you find the solution ? thanks in advance for your help.
Julien Dehee.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080407/6a88ab7e/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
-------------- next part --------------
_______________________________________________
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