This attribute is stored in the state file forever as well.
Will cause forced notifications ignoring state/type filters.
fixes #12670
bool force = GetForceNextNotification();
+ SetForceNextNotification(false);
+
if (!IcingaApplication::GetInstance()->GetEnableNotifications() || !GetEnableNotifications()) {
if (!force) {
Log(LogInformation, "Checkable")
<< "Notifications are disabled for service '" << GetName() << "'.";
return;
}
-
- SetForceNextNotification(false);
}
Log(LogInformation, "Checkable")