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