Page 1 of 1

Email queue

Posted: Fri Jun 18, 2021 2:18 am
by deek
Hi ,


We have been getting old email alerts from Nagios . All are false alerts .
Is there a way to clear the queue from backend .

Re: Email queue

Posted: Fri Jun 18, 2021 10:41 am
by vtrac
Hi,
How are you doing?

To remove all emails that are queued in the DB in the nagiosxi database, please run the following command:

Code: Select all

echo "truncate table xi_events; truncate table xi_meta; truncate table xi_eventqueue;" | mysql -uroot -pnagiosxi nagiosxi

Best Regards,
Vinh