URGENT - Flush Pending Notifications?
URGENT - Flush Pending Notifications?
I have hundreds of messages backed up in the notification queue....how do I flush these. We're still receiving notifications from an outage a day ago. This is urgent, sorry for the new thread
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: URGENT - Flush Pending Notifications?
Code: Select all
echo "truncate table xi_events; truncate table xi_meta; truncate table xi_eventqueue;" | mysql -uroot -pnagiosxi nagiosxiRe: URGENT - Flush Pending Notifications?
Thank you!! Any way to check the queue and make sure it is cleared?scottwilkerson wrote:Code: Select all
echo "truncate table xi_events; truncate table xi_meta; truncate table xi_eventqueue;" | mysql -uroot -pnagiosxi nagiosxi
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: URGENT - Flush Pending Notifications?
There isn't a place to see them waiting other than looking at the database tables that command just deleted.
You can see any new ones being processed though by tailing the eventman.log
You can see any new ones being processed though by tailing the eventman.log
Code: Select all
tail -f /usr/local/nagiosxi/var/eventman.logRe: URGENT - Flush Pending Notifications?
Appreciate it, want to close this thread and we can work through it on the other?
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: URGENT - Flush Pending Notifications?
Ok. Sounds good, I will go ahead and lock this post, and if you're unable to resolve this issue please use the other post. Thanks.Appreciate it, want to close this thread and we can work through it on the other?
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!