Notification Mess!
Notification Mess!
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.
- 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.
Re: Notification Mess!
Some logs attached
You do not have the required permissions to view the files attached to this post.
Re: Notification Mess!
More logs
You do not have the required permissions to view the files attached to this post.
Re: Notification Mess!
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.
Re: Notification Mess!
added
to my config file, still getting phantom flapping notifications
Code: Select all
enable_flap_detection=0to 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!
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:
Have you tried to rollback to a previous configuration to see if that takes care of the issue?
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
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Notification Mess!
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!
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 nagiosAs 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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Notification Mess!
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!
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