From 45fef3573c99d9230b19eebdae40207d9ff9a8a2 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 2 Jul 2012 15:49:36 +0200 Subject: [PATCH] Disable freshness stuff in status.dat --- components/compat/compatcomponent.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/compat/compatcomponent.cpp b/components/compat/compatcomponent.cpp index 0acde0c35..197edc563 100644 --- a/components/compat/compatcomponent.cpp +++ b/components/compat/compatcomponent.cpp @@ -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" -- 2.50.1