diff --git a/lib/icinga/timeperiod.cpp b/lib/icinga/timeperiod.cpp index 43b8f3447..ccb938557 100644 --- a/lib/icinga/timeperiod.cpp +++ b/lib/icinga/timeperiod.cpp @@ -345,6 +345,9 @@ void TimePeriod::UpdateTimerHandler(void) double now = Utility::GetTime(); BOOST_FOREACH(const TimePeriod::Ptr& tp, ConfigType::GetObjectsByType()) { + if (!tp->IsActive()) + continue; + double valid_end; {