mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 23:24:09 +02:00
parent
2d551db9d8
commit
832b5bed2a
@ -83,11 +83,8 @@ void NotificationComponent::NotificationTimerHandler(void)
|
|||||||
if (!IcingaApplication::GetInstance()->GetEnableNotifications() || !checkable->GetEnableNotifications())
|
if (!IcingaApplication::GetInstance()->GetEnableNotifications() || !checkable->GetEnableNotifications())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (notification->GetInterval() <= 0 && notification->GetNoMoreNotifications()) {
|
if (notification->GetInterval() <= 0 && notification->GetNoMoreNotifications())
|
||||||
Log(LogDebug, "NotificationComponent")
|
|
||||||
<< "Skipping reminder notification '" << notification->GetName() << "'. Interval is 0 and no more notifications are required.";
|
|
||||||
continue;
|
continue;
|
||||||
}
|
|
||||||
|
|
||||||
if (notification->GetNextNotification() > now)
|
if (notification->GetNextNotification() > now)
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user