Notification - escalation question

joop3 joop3 at gmx.net
Mon Mar 31 18:17:43 CEST 2008


I'm fiddling with notifications, 
but till now without any luck.

This is what I would like to achieve:

When a host goes down, 
send out one email to helpdesk.

When the host is still down after 1 hour, 
send out one email to helpdesk manager.

This sounds ok, 
but it looks like this is not possible with 
just sending one email.

This is what I configured:

notification on host:
(template which is applied to hosts)

define host {
        name Remote_Host_Template
        check_command check-host-alive
        max_check_attempts 1
        check_period 24x7
        active_checks_enabled 1
        event_handler process-host-perfdata
        event_handler_enabled 1
        low_flap_threshold 5
        high_flap_threshold 20
        flap_detection_enabled 1
        process_perf_data 1
        retain_status_information 1
        notification_interval 0
        notification_period 24x7
        notifications_enabled 1
        register 0
        notification_options d,u,r,f
        hostgroups Remotes
        contact_groups admins
}

This works, the helpdesk does receive one email.

Then I created an escalation definition:

define hostescalation {
        first_notification 12
        last_notification 13
        notification_interval 0
        escalation_period 24x7
        contact_groups Escalation
        host_name ARemoteSite
        escalation_options r,d
}

The normal check interval is set to 5 min.

Hope someone can point me in the right direction...




-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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