Hi,<br /><br />I have a bunch of things I would like to do with
notification and I'm not sure it's possible. <br /><br />First, let me
make sure I understand how this works.  For any notification, only
one group will be notified.  Is that correct?<br /><br />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.<br /><br />This doesn't
seem to be working for me.  Here is what I have.  Can someone
please tell me what I'm doing wrong?<br /><br />define contact{<br
/>   
contact_name                   
nagiosadmin         ; Short name
of user<br />   
use                            
generic-contact     ; Inherit default values from
generic-contact template (defined above)<br />   
alias                          
Nagios Admin        ; Full name of
user<br />   
email                          
nobody@nowhere.com<br />   
host_notification_period       
daytime<br />   
service_notification_period     daytime<br
/>    }<br /><br />define contact{<br />   
contact_name                   
adminpager          ; Short
name of user<br />   
use                            
generic-contact     ; Inherit default values from
generic-contact template (defined above)<br />   
alias                          
Admin Pager         ; Full name of
user<br />   
email                          
0000000000@nowhere.com<br />   
host_notification_options       d, u<br
/>    service_notification_options    c,
u<br />   
host_notification_period        24x7<br
/>    service_notification_period    
24x7<br />    }<br /><br />define contact{<br
/>   
contact_name                   
oncallpager<br />   
use                            
generic-contact<br />   
alias                          
Oncall Pager<br />   
email                          
0000000000@nowhere.com<br />   
host_notification_options       d, u<br
/>    service_notification_options    c,
u<br />   
host_notification_period        24x7<br
/>    service_notification_period    
24x7<br />    }<br /><br />define contact{<br
/>   
contact_name                   
managerpager<br />   
use                            
generic-contact<br />   
alias                          
Manager's Pager<br />   
email                          
0000000000@nowhere.com<br />   
host_notification_options       d, u<br
/>    service_notification_options    c,
u<br />   
host_notification_period        24x7<br
/>    service_notification_period    
24x7<br />    }<br /><br />define serviceescalation{<br
/>   
hostgroup_name                 
windows-xp-servers, windows-servers, unix-servers<br />   
contacts                       
managerpager<br />   
first_notification             
6<br />   
last_notification              
0<br />   
notification_interval          
15<br />   
escalation_period              
24x7<br />   
escalation_options             
w,u,c,r<br />    }<br /><br />define hostescalation{<br
/>   
hostgroup_name                 
windows-xp-servers, windows-servers, unix-servers<br />   
contacts                       
managerpager<br />   
first_notification             
6<br />   
last_notification              
0<br />   
notification_interval          
15<br />   
escalation_period              
24x7<br />   
escalation_options             
d,u,r<br />    }<br /><br />define serviceescalation{<br
/>   
hostgroup_name                 
windows-xp-servers, windows-servers, unix-servers<br />   
contacts                       
adminpager<br />   
first_notification             
2<br />   
last_notification              
0<br />   
notification_interval          
15<br />   
escalation_period              
daytime<br />   
escalation_options             
w,u,c,r<br />    }<br />define hostescalation{<br
/>   
hostgroup_name                 
windows-xp-servers, windows-servers, unix-servers<br />   
contacts                       
adminpager<br />   
first_notification             
2<br />   
last_notification              
0<br />   
notification_interval          
15<br />   
escalation_period              
daytime<br />   
escalation_options             
d,u,r<br />    }<br /><br />define serviceescalation{<br
/>   
hostgroup_name                 
windows-xp-servers, windows-servers, unix-servers<br />   
contacts                       
oncallpager<br />   
first_notification             
2<br />   
last_notification              
0<br />   
notification_interval          
15<br />   
escalation_period              
nitetime<br />   
escalation_options             
w,u,c,r<br />    }<br /><br />define hostescalation{<br
/>   
hostgroup_name                 
windows-xp-servers, windows-servers, unix-servers<br />   
contacts                       
oncallpager<br />   
first_notification             
2<br />   
last_notification              
0<br />   
notification_interval          
15<br />   
escalation_period              
nitetime<br />   
escalation_options             
d,u,r<br />    }<br /><br />define serviceescalation{<br
/>   
hostgroup_name                 
windows-xp-servers, windows-servers, unix-servers<br />   
contacts                       
adminpager<br />   
first_notification             
4<br />   
last_notification              
5<br />   
notification_interval          
15<br />   
escalation_period              
nitetime<br />   
escalation_options             
w,u,c,r<br />    }<br /><br />define hostescalation{<br
/>   
hostgroup_name                 
windows-xp-servers, windows-servers, unix-servers<br />   
contacts                       
adminpager<br />   
first_notification             
4<br />   
last_notification              
5<br />   
notification_interval          
15<br />   
escalation_period              
nitetime<br />   
escalation_options             
d,u,r<br />    }<br /><br />Thank you in advance!<br /><br
/>---<br />Will Y.<br />-- 
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.