CentOS 6.3, Nagios XI 2012R1.0.
We're shuffling servers around, so I went to the Admin/Monitoring Engine Status page and turned off notifications at the global level, however they are still being sent.
As a workaround, I tried simply shutting down the monitoring engine, but that didn't work either, notifications are still being sent.
What do I need to do to stop notifications at a global level?
Disabling global notifications doesn't work (2012R1.0)
-
nagiosadmin42
- Posts: 96
- Joined: Sat Feb 11, 2012 2:16 pm
-
nagiosadmin42
- Posts: 96
- Joined: Sat Feb 11, 2012 2:16 pm
Re: Disabling global notifications doesn't work (2012R1.0)
Wow, even turning off host and service notifications for each individual user isn't stopping the notifications.
Re: Disabling global notifications doesn't work (2012R1.0)
Is it possible that you have a large list of notifications still in the mail queue?
-
nagiosadmin42
- Posts: 96
- Joined: Sat Feb 11, 2012 2:16 pm
Re: Disabling global notifications doesn't work (2012R1.0)
I've now shut down the Monitoring Engine and Database Backend. Hopefully that should do it.
I would have simply shut down the Nagios XI server, however it's in a remote location and if I do so, wouldn't easily be able to turn it back on.
I would have simply shut down the Nagios XI server, however it's in a remote location and if I do so, wouldn't easily be able to turn it back on.
-
nagiosadmin42
- Posts: 96
- Joined: Sat Feb 11, 2012 2:16 pm
Re: Disabling global notifications doesn't work (2012R1.0)
I'm not sure about the mail queue. How do I tell? And is there a way to clear it?
-
nagiosadmin42
- Posts: 96
- Joined: Sat Feb 11, 2012 2:16 pm
Re: Disabling global notifications doesn't work (2012R1.0)
The timestamps in the notification messages are definitely _after_ I've shut down the monitoring engine and database engine:
***** Nagios XI Alert *****
Nagios has detected a problem with this service.
Notification Type: PROBLEM
Service: Last Reset Time
Host: HOST008 (10.30.30.155)
Address: 10.30.30.155
State: CRITICAL
Info:
CRITICAL: Status is out of date.
Date/Time: 2012-10-18 12:09:20
***** Nagios XI Alert *****
Nagios has detected a problem with this service.
Notification Type: PROBLEM
Service: Last Reset Time
Host: HOST008 (10.30.30.155)
Address: 10.30.30.155
State: CRITICAL
Info:
CRITICAL: Status is out of date.
Date/Time: 2012-10-18 12:09:20
Re: Disabling global notifications doesn't work (2012R1.0)
You might have a huge amount of notifications queued up in the xi_events table in postgreql. The sending of those notifications would be running on a cron job.
You can also watch the event processor log by running:
Code: Select all
psql nagiosxi nagiosxi
select count(*) from xi_events;
\qCode: Select all
tail -f /usr/local/nagiosxi/var/eventman.log-
nagiosadmin42
- Posts: 96
- Joined: Sat Feb 11, 2012 2:16 pm
Re: Disabling global notifications doesn't work (2012R1.0)
Yes, there were still 700 entries in that table. I cleared them out and hopefully now things will quiet down.
Thank you very much!
Thank you very much!
Re: Disabling global notifications doesn't work (2012R1.0)
Good deal! Let us know if the issues seems to persist.