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
Hourly Notification for services
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Hourly Notification for services
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)
If you want to stop re-notifications, you want to set the notification interval to 0 (zero)
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Hourly Notification for services
@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 nagiosxiAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Hourly Notification for services
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.
FYI, I am using "xi_host_notification_handler" and "xi_service_notification_handler" commands for email notifications.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Hourly Notification for services
@ 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.
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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.