]> granicus.if.org Git - icinga2/commitdiff
Disable freshness stuff in status.dat
authorGunnar Beutner <gunnar.beutner@netways.de>
Mon, 2 Jul 2012 13:49:36 +0000 (15:49 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Mon, 2 Jul 2012 13:49:36 +0000 (15:49 +0200)
components/compat/compatcomponent.cpp

index 0acde0c3538787b8e260c574f9524fec2cf2bbff..197edc563dba0d7fe2b9a4ce8fed2618fff7971c 100644 (file)
@@ -154,7 +154,6 @@ void CompatComponent::DumpServiceObject(ofstream& fp, Service service)
           << "\t" << "max_check_attempts" << "\t" << 1 << "\n"
           << "\t" << "active_checks_enabled" << "\t" << 1 << "\n"
           << "\t" << "passive_checks_enabled" << "\t" << 1 << "\n"
-          << "\t" << "check_freshness" << "\t" << 1 << "\n"
           << "\t" << "}" << "\n"
           << "\n";
 }
@@ -198,7 +197,7 @@ void CompatComponent::StatusTimerHandler(void)
                 << "\t" << "passive_service_checks_enabled=1" << "\n"
                 << "\t" << "active_host_checks_enabled=0" << "\n"
                 << "\t" << "passive_host_checks_enabled=0" << "\n"
-                << "\t" << "check_service_freshness=1" << "\n"
+                << "\t" << "check_service_freshness=0" << "\n"
                 << "\t" << "check_host_freshness=0" << "\n"
                 << "\t" << "enable_flap_detection=1" << "\n"
                 << "\t" << "enable_failure_prediction=0" << "\n"