Prevent Recovery Notifications After Re-Enabling Notifications in Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
shoreypu
Posts: 134
Joined: Wed Mar 13, 2019 2:06 pm

Re: Prevent Recovery Notifications After Re-Enabling Notifications in Nagios XI

Post by shoreypu »

Here's a timeline from the reports. It looks like that disabling notifications in the middle of an outage does not stop the recovery events from going out after you enable notifications again. Might have always been this way and never really noticed. However, in these rare cases, we want to avoid sending out any alerts, including recovery.

Note: This is a small subset of the amount of alerts that went out.

Alerts started to go out for Down events
Server1 11:56:45
Server2 12:15:34
Server3 12:25:45
Server4 12:13:38
Server5 12:13:38
Server6 12:12:08
Server7 12:23:48
Server8 12:28:38

12:28:48 Nagios Core: DISABLE_NOTIFICATIONS;0

State Changed from Down to Up
Server1 13:44:23
Server2 13:44:26
Server3 14:10:48
Server4 13:53:38
Server5 14:03:38
Server6 13:37:11
Server7 13:53:48
Server8 14:03:48

20:02:50 Nagios Core: ENABLE_NOTIFICATIONS;0

Alerts started to go out for Up events
Server1 20:02:55
Server2 20:02:58
Server3 20:03:01
Server4 20:03:01
Server5 20:03:03
Server6 20:03:07
Server7 20:03:09
Server8 20:03:10
kg2857
Posts: 490
Joined: Wed Apr 12, 2023 5:48 pm

Re: Prevent Recovery Notifications After Re-Enabling Notifications in Nagios XI

Post by kg2857 »

You might check the xi_events and the xi_meta tables before enabling notifications.
cdietsch
Posts: 55
Joined: Wed Aug 06, 2025 9:12 am

Re: Prevent Recovery Notifications After Re-Enabling Notifications in Nagios XI

Post by cdietsch »

Hi @shoreypu,

I'm pretty sure that should not be happening and I completely understand your concerns. Do you have a non-standard setup? In any case, I would highly recommend opening a support ticket about this.
Cheers,
- Cole
shoreypu
Posts: 134
Joined: Wed Mar 13, 2019 2:06 pm

Re: Prevent Recovery Notifications After Re-Enabling Notifications in Nagios XI

Post by shoreypu »

Thanks Cole. I did some testing in our QA environment and I can confirm the issue occurs there as well. Standard setup. I'll open a support request.
DoubleDoubleA
Posts: 272
Joined: Thu Feb 09, 2017 5:07 pm

Re: Prevent Recovery Notifications After Re-Enabling Notifications in Nagios XI

Post by DoubleDoubleA »

I'm late to the party with this link but anyway viewtopic.php?t=60553
Post Reply