Escalation

aragonx at dcsnow.com aragonx at dcsnow.com
Thu Nov 15 20:24:41 CET 2012



Hi,

I have a bunch of things I would like to do with
notification and I'm not sure it's possible. 

First, let me
make sure I understand how this works.  For any notification, only
one group will be notified.  Is that correct?

Anyway, we
have admins that I want to be notified via email during the day (7am-5pm)
for d, u, w or c, u, w.  During the evening, I want only c or d to go
to a pager.  On the 5th notification and after, I want alerts to go
to a different pager.  On the 9th notification and after, I want
alerts to go to the 2nd pager and a 3rd pager.

This doesn't
seem to be working for me.  Here is what I have.  Can someone
please tell me what I'm doing wrong?

define contact{
   
contact_name                   
nagiosadmin         ; Short name
of user
   
use                            
generic-contact     ; Inherit default values from
generic-contact template (defined above)
   
alias                          
Nagios Admin        ; Full name of
user
   
email                          
nobody at nowhere.com
   
host_notification_period       
daytime
   
service_notification_period     daytime
    }

define contact{
   
contact_name                   
adminpager          ; Short
name of user
   
use                            
generic-contact     ; Inherit default values from
generic-contact template (defined above)
   
alias                          
Admin Pager         ; Full name of
user
   
email                          
0000000000 at nowhere.com
   
host_notification_options       d, u
    service_notification_options    c,
u
   
host_notification_period        24x7
    service_notification_period    
24x7
    }

define contact{
   
contact_name                   
oncallpager
   
use                            
generic-contact
   
alias                          
Oncall Pager
   
email                          
0000000000 at nowhere.com
   
host_notification_options       d, u
    service_notification_options    c,
u
   
host_notification_period        24x7
    service_notification_period    
24x7
    }

define contact{
   
contact_name                   
managerpager
   
use                            
generic-contact
   
alias                          
Manager's Pager
   
email                          
0000000000 at nowhere.com
   
host_notification_options       d, u
    service_notification_options    c,
u
   
host_notification_period        24x7
    service_notification_period    
24x7
    }

define serviceescalation{
   
hostgroup_name                 
windows-xp-servers, windows-servers, unix-servers
   
contacts                       
managerpager
   
first_notification             
6
   
last_notification              
0
   
notification_interval          
15
   
escalation_period              
24x7
   
escalation_options             
w,u,c,r
    }

define hostescalation{
   
hostgroup_name                 
windows-xp-servers, windows-servers, unix-servers
   
contacts                       
managerpager
   
first_notification             
6
   
last_notification              
0
   
notification_interval          
15
   
escalation_period              
24x7
   
escalation_options             
d,u,r
    }

define serviceescalation{
   
hostgroup_name                 
windows-xp-servers, windows-servers, unix-servers
   
contacts                       
adminpager
   
first_notification             
2
   
last_notification              
0
   
notification_interval          
15
   
escalation_period              
daytime
   
escalation_options             
w,u,c,r
    }
define hostescalation{
   
hostgroup_name                 
windows-xp-servers, windows-servers, unix-servers
   
contacts                       
adminpager
   
first_notification             
2
   
last_notification              
0
   
notification_interval          
15
   
escalation_period              
daytime
   
escalation_options             
d,u,r
    }

define serviceescalation{
   
hostgroup_name                 
windows-xp-servers, windows-servers, unix-servers
   
contacts                       
oncallpager
   
first_notification             
2
   
last_notification              
0
   
notification_interval          
15
   
escalation_period              
nitetime
   
escalation_options             
w,u,c,r
    }

define hostescalation{
   
hostgroup_name                 
windows-xp-servers, windows-servers, unix-servers
   
contacts                       
oncallpager
   
first_notification             
2
   
last_notification              
0
   
notification_interval          
15
   
escalation_period              
nitetime
   
escalation_options             
d,u,r
    }

define serviceescalation{
   
hostgroup_name                 
windows-xp-servers, windows-servers, unix-servers
   
contacts                       
adminpager
   
first_notification             
4
   
last_notification              
5
   
notification_interval          
15
   
escalation_period              
nitetime
   
escalation_options             
w,u,c,r
    }

define hostescalation{
   
hostgroup_name                 
windows-xp-servers, windows-servers, unix-servers
   
contacts                       
adminpager
   
first_notification             
4
   
last_notification              
5
   
notification_interval          
15
   
escalation_period              
nitetime
   
escalation_options             
d,u,r
    }

Thank you in advance!

---
Will Y.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20121115/79829a90/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
-------------- 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