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.
cylindric
Posts: 40 Joined: Wed May 29, 2013 9:50 am
Post
by cylindric » Tue Jul 01, 2014 7:36 am
Hi, all.
I have a requirement from management for our Nagios (Core VM 3.5.0) installation to with notifications and escalations etc.
If there is a service problem, I need to notify a group of people every 1 minute, the "phase1 " contact list.
If the problem has not been acknowledged within 15 minutes, I need to also send an alert to management, the "phase2 " list.
If the problem has not been acknowledged within 30 minutes, I need to also send an alert to senior management, the "phase3 " list.
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
eloyd
Cool Title Here
Posts: 2190 Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:
Post
by eloyd » Tue Jul 01, 2014 7:42 am
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
cylindric
Posts: 40 Joined: Wed May 29, 2013 9:50 am
Post
by cylindric » Tue Jul 01, 2014 8:24 am
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
eloyd
Cool Title Here
Posts: 2190 Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:
Post
by eloyd » Tue Jul 01, 2014 8:27 am
Or you could put something like "FIX THE @#$% PROBLEM!" in the title.
tmcdonald
Posts: 9117 Joined: Mon Sep 23, 2013 8:40 am
Post
by tmcdonald » Tue Jul 01, 2014 1:47 pm
@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
Post
by cylindric » Wed Jul 02, 2014 3:20 am
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
Post
by tmcdonald » Mon Jul 07, 2014 1:43 pm
Haven't heard from you in a bit. Did this work out?
Former Nagios employee