Hello,

is it possible to setup Nagios 3 so that only one notification is sent
out for a downed host or service, but still have the possibility of
escalating to a 2nd (3rd, ...) level contact if the problem hasn't been
fixed 'in time'?

And when the host/service recovers, only contacts that have been
notified about 'down' should receive 'RECOVERY' notification.

I tried doing it with a 'dummy' default contact and escalations, but I
can't quite get it.

So my 'host' templates include:

        check_interval          1
        retry_interval          1
        max_check_attempts      2
        notification_interval   1
        notification_options    d,r
        contact_groups          dummy

Then I added these escalations:

define hostescalation {
        hostgroup_name MYGROUP
        contact_groups my_real_contact_group
        first_notification 3
        last_notification 4
        notification_interval 0
        escalation_period 24x7
        escalation_options d,u
}

define hostescalation {
        hostgroup_name MYGROUP
        contact_groups my_real_contact_group
        first_notification 1
        last_notification 0
        notification_interval 0
        escalation_period 24x7
        escalation_options r
}


This *almost* works - the problem is, I always get a RECOVERY
notification - even if the host recovers before I wasn't notified about
the DOWN.

Is there a better way for doing this?

  Danilo

<<attachment: danilo_godec.vcf>>

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to