diff --git a/lib/icinga/notification.cpp b/lib/icinga/notification.cpp index ba6ca49b4..09b5c1106 100644 --- a/lib/icinga/notification.cpp +++ b/lib/icinga/notification.cpp @@ -288,11 +288,9 @@ void Notification::BeginExecuteNotification(NotificationType type, const CheckRe << "': before specified begin time (" << Utility::FormatDuration(timesBegin) << ")"; /* we need to adjust the next notification time - * to now + begin delaying the first notification + * delaying the first notification */ - double nextProposedNotification = now + timesBegin + 1.0; - if (GetNextNotification() > nextProposedNotification) - SetNextNotification(nextProposedNotification); + SetNextNotification(checkable->GetLastHardStateChange() + timesBegin + 1.0); return; }