Notification Mess!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
rkane
Posts: 114
Joined: Wed Aug 15, 2018 3:56 pm

Notification Mess!

Post by rkane »

Need help, for some reason in the last 48 hours my Nagios instance has gone nuts with notifications. I'm sure it's something I messed up. Would love a hand running it down. Some things I've observed:

- I'm getting "Flapping Stop" notifications with no other associated notifications (would assume I'd see some other notifications and then a flapping start)
- In Nagios I go to look at notification history (either through reports or through Incident management) and I don't see most of the notifications I've received. I checked the filters (24hrs, no host / group / etc selected)

OK - point me in a direction please.
Last edited by rkane on Fri Sep 28, 2018 12:15 pm, edited 2 times in total.
User avatar
rkane
Posts: 114
Joined: Wed Aug 15, 2018 3:56 pm

Re: Notification Mess!

Post by rkane »

Some logs attached
You do not have the required permissions to view the files attached to this post.
User avatar
rkane
Posts: 114
Joined: Wed Aug 15, 2018 3:56 pm

Re: Notification Mess!

Post by rkane »

More logs
You do not have the required permissions to view the files attached to this post.
User avatar
rkane
Posts: 114
Joined: Wed Aug 15, 2018 3:56 pm

Re: Notification Mess!

Post by rkane »

Checked some state histories for these host / services I'm getting ghost "flapping stop" notifications for. They have no reported state changes that correspond with the flapping notifications.
User avatar
rkane
Posts: 114
Joined: Wed Aug 15, 2018 3:56 pm

Re: Notification Mess!

Post by rkane »

added

Code: Select all

enable_flap_detection=0

to my config file, still getting phantom flapping notifications
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Notification Mess!

Post by benjaminsmith »

Hi Rkane,

If you made a change to a configuration file, you'll need to restart nagios to take effect. Try stopping all the processes and restarting:

Code: Select all

service nagios stop
killall -9 nagios
service nagios start

Have you tried to rollback to a previous configuration to see if that takes care of the issue?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
rkane
Posts: 114
Joined: Wed Aug 15, 2018 3:56 pm

Re: Notification Mess!

Post by rkane »

I have restarted all the services. I think I've figured out what the issue is....how do I flush all messages (notifications) out of the Nagios queue? Traced a notification I got and it is over a day old....
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Notification Mess!

Post by benjaminsmith »

Good to hear. You'll have to truncate the database to clear the messages ( see commands below).

Code: Select all

echo "truncate table xi_events; truncate table xi_meta; truncate table xi_eventqueue;" | mysql -uroot -pnagiosxi nagios
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
rkane
Posts: 114
Joined: Wed Aug 15, 2018 3:56 pm

Re: Notification Mess!

Post by rkane »

ERROR 1146 (42S02) at line 1: Table 'nagios.xi_events' doesn't exist


benjaminsmith wrote:Good to hear. You'll have to truncate the database to clear the messages ( see commands below).

Code: Select all

echo "truncate table xi_events; truncate table xi_meta; truncate table xi_eventqueue;" | mysql -uroot -pnagiosxi nagios
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Notification Mess!

Post by scottwilkerson »

Sorry about that they missed 2 characters

Code: Select all

echo "truncate table xi_events; truncate table xi_meta; truncate table xi_eventqueue;" | mysql -uroot -pnagiosxi nagiosxi
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked