Page 1 of 1

Dual-Stage Notifications --- How to?

Posted: Thu Nov 08, 2012 4:54 pm
by Brad.Ichniowski
Hi all, I've been reading through the documentation and googling excessively without any luck to try to do this... maybe someone here has tried something similar.

I'm looking for a way to have dual-stage notifications for host issues in my nagios install.

For example, if a host goes down, send out email notifications for the first x times, then switch to sending text messages instead after say, 5 times. Essentially I'm looking to have alerts for my hosts change from email to SMS after the host has remained down for 30 minutes or more.

If anyone knows how to accomplish something of this sort or can point me in the right direction I would greatly appreciate it ^^.

Re: Dual-Stage Notifications --- How to?

Posted: Thu Nov 08, 2012 4:59 pm
by agriffin
This can be accomplished using notification escalations. You may need to have duplicate contacts for each notification type though. For example, one contact that notifies your email and another that notifies your phone by txt.

Re: Dual-Stage Notifications --- How to?

Posted: Thu Nov 08, 2012 7:53 pm
by Brad.Ichniowski
I see. I was thinking of something far more complicated and figured I was missing something.

Long day. Forgot that the notification commands are bound to the contacts, so that suggestion would work perfectly.

Thank you!

Re: Dual-Stage Notifications --- How to?

Posted: Thu Nov 08, 2012 8:03 pm
by Brad.Ichniowski
ah, forgot that the contact definitions contain the notification commands. how silly of me... ><

thanks!

Re: Dual-Stage Notifications --- How to?

Posted: Fri Nov 09, 2012 10:47 am
by agriffin
No problem, glad I could help!