compatido: dump RETAINED config types only, quickfix, now icinga web shows some stuff

This commit is contained in:
Michael Friedrich 2012-09-24 17:41:05 +02:00
parent 81c3f07f13
commit 35d3bbd50e
1 changed files with 2 additions and 2 deletions

View 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";