Escalating notifications

Patrik Båt pb at osix.eu
Fri Apr 1 09:56:12 CEST 2011


Hello mailinglist!

im trying to get a notification like this:

in first hardstate, email staff. (notication 1)

at the other notification (notification 2) im sending a SMS to the
oncall.

But the problem is, that on recovery im only getting a SMS due to the
sms escalation is in use.

Anyone have any good way to get this to work?

1. MAIL Problem
2. SMS Problem

On recovery:

1. Mail Recovery
2. SMS Recovery

with 2 escalations, i get like this:

1. Mail problem
2. Mail problem, SMS problem

recovery:

1. SMS recovery.

Config:

# SMS

define serviceescalation {
        host_name *
        service_description *
        first_notification 2
        last_notification 3
        notification_interval 0
        contacts oncall
	}

define hostescalation {
        host_name *
        first_notification 2
        last_notification 3
        notification_interval 0
        contacts oncall
	}

# MAIL

define serviceescalation {
        host_name *
        service_description *
        first_notification 1
        last_notification 1
        notification_interval 10 
        contacts sysadmin.reports
	}

define hostescalation {
        host_name *
        first_notification 1
        last_notification 1
        notification_interval 10
        contacts sysadmin.reports
	}

i have tried with diffrent last_notifications and so on, but with no
luck.

Regards Patrik Båt.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110401/17a9d7be/attachment.sig>
-------------- next part --------------
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
-------------- 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