mirror of https://github.com/Icinga/icinga2.git
Merge pull request #8708 from Icinga/bugfix/reminder-notification-after-timeperiod-with-interval-0
Make sure not to send reminder notification, if problem notification has been suppressed by TimePeriod
This commit is contained in:
commit
dbcb2549aa
|
@ -235,7 +235,7 @@ void NotificationComponent::NotificationTimerHandler()
|
|||
continue;
|
||||
|
||||
/* Don't send reminder notifications before initial ones. */
|
||||
if (checkable->GetSuppressedNotifications() & NotificationProblem)
|
||||
if (checkable->GetSuppressedNotifications() & NotificationProblem || notification->GetSuppressedNotifications() & NotificationProblem)
|
||||
continue;
|
||||
|
||||
/* Skip in runtime filters. */
|
||||
|
|
Loading…
Reference in New Issue