mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-04 04:14:29 +02:00
parent
2867d79514
commit
cf37decbef
@ -203,7 +203,7 @@ void Checkable::TriggerDowntime(const String& id)
|
||||
|
||||
double now = Utility::GetTime();
|
||||
|
||||
if (now < downtime->GetStartTime() && now > downtime->GetEndTime()) {
|
||||
if (now < downtime->GetStartTime() || now > downtime->GetEndTime()) {
|
||||
Log(LogDebug, "Checkable")
|
||||
<< "Not triggering downtime with ID '" << downtime->GetLegacyId() << "': current time is outside downtime window.";
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user