NagiosEnterprises / nagioscore

Nagios Core
GNU General Public License v2.0
1.54k stars 445 forks source link

[feature-request] Allow scheduled enable/disable for notifications #52

Open kali-hernandez opened 9 years ago

kali-hernandez commented 9 years ago

As described in the support forums (http://support.nagios.com/forum/viewtopic.php?f=7&t=33376&p=142286) it would be nice to have the same functionality already existing in scheduled downtime for checks replicated for notifications disable.

As explained in the link above, some times we disable the notifications temporarily to run some tests and avoid spamming our users, but we later forget to re-enable them.

It seems to me like it would be fairly easy to apply the same logic as for scheduled downtimes also for the notifications disable feature, thus allowing us to set a specified amount of time for disabling alerts within a given timeframe, letting itself reactivate later.

tmcnag commented 9 years ago

+1, would make testing and staging easier in cases where the checks still need to run.

box293 commented 9 years ago

+1 as it has caught me out in the past as well.

tmcnag commented 7 years ago

+1 from the forums: https://support.nagios.com/forum/viewtopic.php?t=42392

jfrickson commented 7 years ago

We will need to add one or more new objects to get this to work properly. So it will have to wait for core 5.

ericloyd commented 7 years ago

An NMI type of notification that can't be disabled would also be a good thing(tm).

kelemvor33 commented 7 years ago

Yes please. When we do Windows Patching or other things that are going to take down our entire environment for a bit, I'd love to have a way to put our entire nagios system into "Maintenance Mode" for a predetermined number of minutes/hours so that we don't have to remember to go turn alerting back on later as we've had people forget in the past.

hedenface commented 7 years ago

Will review internally - but it's obviously a pretty Good Idea. Tentative scheduling for 5.0.0