*** notifications.html.~1~ Sun Aug 11 20:46:38 2002 --- notifications.html Tue Jul 22 14:17:16 2003 *************** *** 41,46 **** --- 41,47 ---- What filters must be passed in order for notifications to be sent?
What aren't any notification methods incorporated directly into Nagios?
Helpful resources
+ Examples

*************** *** 204,211 **** --- 205,251 ----

+ + Examples

+
    +
  1. (From Brian Johnson on the nagios-users mailing list.) Suppose you + want to send email for all alerts but only send phone pages for critical + situations. You can accomplish this by defining two contacts, one which + sends just email and one which sends just pages, and adjust the + service_notification_options and + host_notification_options as appropriate: + +
    +     define contact {
    +         contact_name                    steve-pager
    +         alias                           Steve's pager
    +         service_notification_period     24x7
    +         host_notification_period        24x7
    +         service_notification_options    c
    +         host_notification_options       d
    +         service_notification_commands   notify-by-pager
    +         host_notification_commands      host-notify-by-pager
    +         pager                           555-5555@st...
    +     }
    + 
    +      define contact {
    +         contact_name                    steve-email
    +         alias                           Steve's email
    +         service_notification_period     24x7
    +         host_notification_period        24x7
    +         service_notification_options    w,u,c,r
    +         host_notification_options       d,u,r
    +         service_notification_commands   notify-by-email
    +         host_notification_commands      host-notify-by-email
    +         email                           steve@...
    +     }
    +   
    +
  2. + +
+