Disabling global notifications doesn't work (2012R1.0)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nagiosadmin42
Posts: 96
Joined: Sat Feb 11, 2012 2:16 pm

Disabling global notifications doesn't work (2012R1.0)

Post by nagiosadmin42 »

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?
nagiosadmin42
Posts: 96
Joined: Sat Feb 11, 2012 2:16 pm

Re: Disabling global notifications doesn't work (2012R1.0)

Post by nagiosadmin42 »

Wow, even turning off host and service notifications for each individual user isn't stopping the notifications.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Disabling global notifications doesn't work (2012R1.0)

Post by mguthrie »

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)

Post by nagiosadmin42 »

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.
nagiosadmin42
Posts: 96
Joined: Sat Feb 11, 2012 2:16 pm

Re: Disabling global notifications doesn't work (2012R1.0)

Post by nagiosadmin42 »

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)

Post by nagiosadmin42 »

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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Disabling global notifications doesn't work (2012R1.0)

Post by mguthrie »

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.

Code: Select all

psql nagiosxi nagiosxi
select count(*) from xi_events; 
\q
You can also watch the event processor log by running:

Code: 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)

Post by nagiosadmin42 »

Yes, there were still 700 entries in that table. I cleared them out and hopefully now things will quiet down.

Thank you very much!
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Disabling global notifications doesn't work (2012R1.0)

Post by mguthrie »

Good deal! Let us know if the issues seems to persist.
Locked