Page 1 of 1
Hourly Notification for services
Posted: Mon Apr 09, 2018 3:50 am
by jyoti22
Hi Team,
I am getting service notification alerts every 1 hour. I have made the changes in configuration and removed notification interval. Still alerts are getting generated.
Kindly help. Thanks
Re: Hourly Notification for services
Posted: Mon Apr 09, 2018 12:53 pm
by scottwilkerson
If you removed the notification interval, it would use one from a template, or the default.
If you want to stop re-notifications, you want to set the notification interval to 0 (zero)
Re: Hourly Notification for services
Posted: Mon Apr 09, 2018 12:56 pm
by npolovenko
@jyoti22 , In addition to what
@scottwilkerson mentioned you could run a truncate email events command to make sure there're no stuck entries in the Database.
Code: Select all
echo "truncate table xi_events; truncate table xi_meta; truncate table xi_eventqueue;" | mysql -uroot -pnagiosxi nagiosxi
Re: Hourly Notification for services
Posted: Tue Apr 10, 2018 11:51 pm
by jyoti22
Thanks for the suggestion. I added line "notification_interval" as 0 in configuration file and ran truncate email event command. However I still get hourly notification. What could be the issue now?
FYI, I am using "xi_host_notification_handler" and "xi_service_notification_handler" commands for email notifications.
Re: Hourly Notification for services
Posted: Wed Apr 11, 2018 10:51 am
by npolovenko
@ jyoti22, It's hard to tell without looking at the log files.
Could you send in your Nagios XI System Profile so I can review it?
To send us your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file, upload it to a cloud storage of your choice, and share a link with me in a personal message.
Also, please let me know the name of the service that triggers notifications every hour so that I know what to look for.
After you send me the file, please post something in this thread to bring it back up in the support queue.