From 35d3bbd50e9f9a9909e31902ffa9137f585e4458 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Mon, 24 Sep 2012 17:41:05 +0200 Subject: [PATCH] compatido: dump RETAINED config types only, quickfix, now icinga web shows some stuff --- components/compatido/compatidocomponent.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/compatido/compatidocomponent.cpp b/components/compatido/compatidocomponent.cpp index 169df421e..6825c1ecb 100644 --- a/components/compatido/compatidocomponent.cpp +++ b/components/compatido/compatidocomponent.cpp @@ -211,11 +211,11 @@ void CompatIdoComponent::StartConfigDump() struct timeval now; gettimeofday(&now, NULL); - /* IDOMOD_CONFIG_DUMP_ORIGINAL=1 is the default config type */ + /* configtype =1 (original), =2 (retained == default) */ stringstream message; message << "\n\n" << 900 << ":" << "\n" /* startconfigdump */ - << 245 << "=" << 1 << "\n" /* configdumptype */ + << 245 << "=" << "RETAINED" << "\n" /* configdumptype */ << 4 << "=" << now.tv_sec << "." << now.tv_usec << "\n" /* timestamp */ << 999 /* enddata */ << "\n\n"; -- 2.50.1