Dual-Stage Notifications --- How to?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Brad.Ichniowski
Posts: 6
Joined: Thu Nov 08, 2012 4:49 pm

Dual-Stage Notifications --- How to?

Post 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 ^^.
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

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

Post 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.
Brad.Ichniowski
Posts: 6
Joined: Thu Nov 08, 2012 4:49 pm

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

Post 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!
Brad.Ichniowski
Posts: 6
Joined: Thu Nov 08, 2012 4:49 pm

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

Post by Brad.Ichniowski »

ah, forgot that the contact definitions contain the notification commands. how silly of me... ><

thanks!
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

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

Post by agriffin »

No problem, glad I could help!
Locked