]> granicus.if.org Git - icinga2/commitdiff
compatido: dump RETAINED config types only, quickfix, now icinga web shows some stuff
authorMichael Friedrich <michael.friedrich@gmail.com>
Mon, 24 Sep 2012 15:41:05 +0000 (17:41 +0200)
committerMichael Friedrich <michael.friedrich@gmail.com>
Mon, 24 Sep 2012 15:41:05 +0000 (17:41 +0200)
components/compatido/compatidocomponent.cpp

index 169df421ecc6fe2e21a1c85dd6412f038a385c00..6825c1ecb894a1054c0ed1b346223ee367850b4f 100644 (file)
@@ -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";