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