mirror of https://github.com/Icinga/icinga2.git
parent
3f0b6ec003
commit
5498dc5e4f
|
@ -351,6 +351,10 @@ void Notification::BeginExecuteNotification(NotificationType type, const CheckRe
|
|||
UpdateNotificationNumber();
|
||||
double now = Utility::GetTime();
|
||||
SetLastNotification(now);
|
||||
|
||||
if (type == NotificationProblem && GetInterval() > 0)
|
||||
SetNextNotification(now + GetInterval());
|
||||
|
||||
if (type == NotificationProblem)
|
||||
SetLastProblemNotification(now);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue