Skip to content

Commit

Permalink
Merge pull request #8562 from Icinga/bugfix/fix-no-renotification-for…
Browse files Browse the repository at this point in the history
…-non-ok-state-changes-8545

Fix no re-notification for non OK state changes with time delay
  • Loading branch information
Al2Klimov committed Jan 14, 2021
2 parents 70b438a + 997ad86 commit c549a66
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/icinga/notification.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,12 @@ void Notification::BeginExecuteNotification(NotificationType type, const CheckRe
*/
SetNextNotification(checkable->GetLastHardStateChange() + timesBegin + 1.0);

/*
* We need to set no more notifications to false, in case
* some notifications were sent previously
*/
SetNoMoreNotifications(false);

return;
}

Expand Down

0 comments on commit c549a66

Please sign in to comment.