From: Michael Friedrich Date: Mon, 24 Sep 2012 15:41:05 +0000 (+0200) Subject: compatido: dump RETAINED config types only, quickfix, now icinga web shows some stuff X-Git-Tag: v0.0.1~76 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35d3bbd50e9f9a9909e31902ffa9137f585e4458;p=icinga2 compatido: dump RETAINED config types only, quickfix, now icinga web shows some stuff --- 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";