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;
|
continue;
|
||||||
|
|
||||||
/* Don't send reminder notifications before initial ones. */
|
/* Don't send reminder notifications before initial ones. */
|
||||||
if (checkable->GetSuppressedNotifications() & NotificationProblem)
|
if (checkable->GetSuppressedNotifications() & NotificationProblem || notification->GetSuppressedNotifications() & NotificationProblem)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* Skip in runtime filters. */
|
/* Skip in runtime filters. */
|
||||||
|
|
Loading…
Reference in New Issue