Notification escalation and acknowledgements

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
cylindric
Posts: 40
Joined: Wed May 29, 2013 9:50 am

Notification escalation and acknowledgements

Post by cylindric »

Hi, all.

I have a requirement from management for our Nagios (Core VM 3.5.0) installation to with notifications and escalations etc.
  1. If there is a service problem, I need to notify a group of people every 1 minute, the "phase1" contact list.
  2. If the problem has not been acknowledged within 15 minutes, I need to also send an alert to management, the "phase2" list.
  3. If the problem has not been acknowledged within 30 minutes, I need to also send an alert to senior management, the "phase3" list.
  4. If the problem has been acknowledged, only send an alert to phase1 every 30 minutes, and do not escalate to 2 and 3.
I think I can manage 1-3 using the normal service escalation configuration, but I can't see how to keep alerting once a problem has been acknowledged.

thanks.
Cyl
Nagios Core 4.3.4 on Ubuntu 16.04.3
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Notification escalation and acknowledgements

Post by eloyd »

Here's what I would do:

Create a second service that does the exact same check as the first service, but make it DEPENDENT upon the first service being in a CRITICAL state. So it only runs if the first one is CRITICAL. Then set up notifications on this second service to notify every 30 minutes to the phase 1 people if the second service check (which is the exact same check as the first one) is CRITICAL. This way, you have a second check that is separate from the acknowledged check. Of course, you have to teach people NOT to acknowledge the second check.

Dependency documentation can be found here: http://nagios.sourceforge.net/docs/3_0/ ... ncies.html
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
cylindric
Posts: 40
Joined: Wed May 29, 2013 9:50 am

Re: Notification escalation and acknowledgements

Post by cylindric »

Hmm, that might just work :)

I'll just have to put something like "NO_ACK" in the name.
Cyl
Nagios Core 4.3.4 on Ubuntu 16.04.3
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Notification escalation and acknowledgements

Post by eloyd »

Or you could put something like "FIX THE @#$% PROBLEM!" in the title. :-)
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Notification escalation and acknowledgements

Post by tmcdonald »

@cylindric, did that work for you? If you have no further questions I'd like to close this thread.
Former Nagios employee
cylindric
Posts: 40
Joined: Wed May 29, 2013 9:50 am

Re: Notification escalation and acknowledgements

Post by cylindric »

Just back into work - I'll test it this morning and report back.
Cyl
Nagios Core 4.3.4 on Ubuntu 16.04.3
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Notification escalation and acknowledgements

Post by tmcdonald »

Haven't heard from you in a bit. Did this work out?
Former Nagios employee
Locked