Skip to content

Commit c549a66

Browse files
authored
Merge pull request #8562 from Icinga/bugfix/fix-no-renotification-for-non-ok-state-changes-8545
Fix no re-notification for non OK state changes with time delay
2 parents 70b438a + 997ad86 commit c549a66

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/icinga/notification.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,12 @@ void Notification::BeginExecuteNotification(NotificationType type, const CheckRe
287287
*/
288288
SetNextNotification(checkable->GetLastHardStateChange() + timesBegin + 1.0);
289289

290+
/*
291+
* We need to set no more notifications to false, in case
292+
* some notifications were sent previously
293+
*/
294+
SetNoMoreNotifications(false);
295+
290296
return;
291297
}
292298

0 commit comments

Comments
 (0)