I am running Icinga2 in an HA configuration (two instances located in master zone) on Centos 6.7. I’m frequently seeing early reminder notifications. The alerts are coming from the same host and I can see in the logs where it writes to the db that it sent the first notification before sending the second (thus the second email is a reminder notification). It doesn’t appear to be occurring with a specific host/service or for a particular interval. Sometimes the reminder is sent only a minute after the first notification, sometimes it’s several minutes. I can’t seem to find anything erroneous with my config. Please help!
#####Notification Config###### apply Notification "mail-support-host" to Host { import "mail-host-notification" user_groups = ["support"] assign where host.vars.owner == "support" } apply Notification "mail-support-service" to Service { import "mail-service-notification" user_groups = ["support"] if (match ("swap*", service.name)) { interval = 1h } assign where host.vars.owner == "support" ignore where service.name == "openmanage" } #####Notification Template###### template Notification "mail-host-notification" { command = "mail-host-notification" states = [ Down ] types = [ Problem, Custom, DowntimeStart, DowntimeEnd, DowntimeRemoved ] period = "24x7" interval = 30m } template Notification "mail-service-notification" { command = "mail-service-notification" states = [ Critical, Unknown ] types = [ Problem, Custom, DowntimeStart, DowntimeEnd, DowntimeRemoved ] period = "24x7" interval = 30m } #####Host and Service Template###### template Host "generic-host" { max_check_attempts = 3 check_interval = 5m retry_interval = 1m check_command = "hostalive" } template Service "generic-service" { max_check_attempts = 3 check_interval = 5m retry_interval = 1m }
_______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users