Title: Nachricht
To differ betwenn message 1-3 as email and 4/5 as pages, you´d have to define different contact (one with email-address and another with pager-address), build to different contactgroups, and assign the escalations Paul described to these different groups.
 
i think the escalations should be:

define serviceescalation{

host_name *

service_description *

first_notification 1

last_notification 3

contact_groups email-group

notification_interval 1

}

define serviceescalation{

host_name *

service_description *

first_notification 4

last_notification 5

contact_groups pager-group

notification_interval 1

}

Greetz,Thomas Zimmer
Produktservice & Betrieb
Betrieb & Support
Sal. Oppenheim jr. & Cie., Frankfurt a. Main

Internet: http://www.oppenheim.de
E-Mail: [EMAIL PROTECTED]

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Paul Harrison
Gesendet: Dienstag, 6. Dezember 2005 17:45
An: nagios-users@lists.sourceforge.net
Betreff: [Nagios-users] Trying to limit number of service notifications

Hello all

I am needing to limit the number of service notifications that I receive.
My understanding is that I must user escalations.  I have included the entry in my escalations.cfg.
Can anyone point out what I am doing wrong?  My host escalations work perfectly.  After 3 notifications I get 2 pages and get no more notifications until the recovery.

Thank you in advance.

Paul Harrison

# Serviceescalation definition
define serviceescalation{
        host_name                       *
        service_description             *
        first_notification              3
        last_notification               5
        contact_groups                  admins
        notification_interval           1
        }

Attachment: Zimmer, Thomas (Produktservices und Betrieb).vcf
Description: Binary data

Reply via email to