-
Notifications
You must be signed in to change notification settings - Fork 584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
icinga2.8 - Notifications are sent even in downtime #6231
Comments
I would appreciate it if you would take the time to fill in the issue template and provide steps to reproduce the problem. |
I'm also seeing this issue. There is a downtime for a service of a host (created via icingaweb2):
But there are still notifications coming from this service:
System Information:
|
Please extract the runtime state for this host/service and downtime via REST API endpoints |
Downtime:
Service:
|
Hm, looks ok to me. Can you share the zones.conf on that master, and check which node is sending the notification email? I would suspect that it happens on the secondary master which maybe doesn't have the downtime applied. |
We only have one master and only the master is sending mails.
|
So your problem is different to what @anan80 described, highly likely. One thing I would also check via REST API - the notification objects and their current state. E.g. the last_notification timestamp, etc. |
This patch ensures that specific configuration types are pre-activated and post-activated. In general, logging is first, then common configuration objects like host/service, downtimes, etc. In the end, all features are activated after to ensure that notifications are only sent once downtimes are applied. A similar thing happens for starting with checks too early. The ApiListener feature runs first to allow cluster connections at first glance. fixes #6057 fixes #6231
We have icinga master1-2 /satellite/client setup running with version 2.8. We are facing issue that we are still receiving alert notification even in downtime, Downtime is set thorugh web-UI and it shows in UI but still icinga is triggering alert notification mails. I observed that, no of servers doesnot match between master1 and master 2 server in /var/lib/icinga2/api/packages/_api//conf.d/downtimes directory
icinga: 2.8.0-1
icingaweb2: 2.4.1
Master 1 - api.conf is set to false for accept_config but master 2 is set to true
The text was updated successfully, but these errors were encountered: