mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 23:24:09 +02:00
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…
x
Reference in New Issue
Block a user