Page 1 of 1
E-mail Notification alert even after notification disabled
Posted: Mon Feb 10, 2020 7:47 am
by mejokj
Hi Team,
We are getting alert notification on e-mail from nagios xi even after stopped the notification.
I have attached the system profile file.
Please check and assist us on this issue.
Thanks
Re: E-mail Notification alert even after notification disabl
Posted: Mon Feb 10, 2020 7:49 am
by mejokj
Attached system profile
Re: E-mail Notification alert even after notification disabl
Posted: Mon Feb 10, 2020 8:31 am
by mejokj
As we have deleted few service and hosts from nagios web GUI, however we are getting alert notification for the deleted hosts as well.
could you help us to stop those alerts as well
Re: E-mail Notification alert even after notification disabl
Posted: Mon Feb 10, 2020 8:43 am
by scottwilkerson
Lets try running the following:
Code: Select all
echo "UPDATE xi_events SET status_code=2, processing_time=NOW() WHERE event_type=2;"| mysql -p nagiosxi
it will prompt for password on mysql and the default root password is nagiosxi if you have not changed it
Re: E-mail Notification alert even after notification disabl
Posted: Mon Feb 10, 2020 10:53 am
by mejokj
Hi Scottwilkerson,
After ran the below command we didn't get any false alert till now.
echo "UPDATE xi_events SET status_code=2, processing_time=NOW() WHERE event_type=2;"| mysql -p nagiosxi
May i know what exactly the below command will do? will this a permanent solution?
Thanks,
Re: E-mail Notification alert even after notification disabl
Posted: Mon Feb 10, 2020 1:24 pm
by scottwilkerson
the command removes any old entries in the table where notifications events occur. this is one possibility for receiving these messages.
Another possibility would be of there were multiple nagios parent processes, but I inspected in you profile and that wasn't the case.
mejokj wrote:will this a permanent solution?
should be
Re: E-mail Notification alert even after notification disabl
Posted: Wed Feb 12, 2020 9:08 am
by mejokj
Hi Scottwilkerson,
Issue got resolved. Thanks for the support.
Thanks
Re: E-mail Notification alert even after notification disabl
Posted: Wed Feb 12, 2020 9:41 am
by scottwilkerson
mejokj wrote:Hi Scottwilkerson,
Issue got resolved. Thanks for the support.
Thanks
Great !
Locking thread