From b0a72ceb2f126877c6eeb4cd9b5c5301e4455e25 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Thu, 5 Aug 2021 11:32:47 +0200 Subject: [PATCH] Icinga DB: clean up vanished objects from icinga:checksum:*:state ... not to let it grow non-stop. --- lib/icingadb/icingadb-objects.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/icingadb/icingadb-objects.cpp b/lib/icingadb/icingadb-objects.cpp index 69c1f2b57..a0d8c413f 100644 --- a/lib/icingadb/icingadb-objects.cpp +++ b/lib/icingadb/icingadb-objects.cpp @@ -533,6 +533,7 @@ std::vector IcingaDB::GetTypeOverwriteKeys(const String& type) if (type == "host" || type == "service" || type == "user") { keys.emplace_back(m_PrefixConfigObject + type + "group:member"); keys.emplace_back(m_PrefixConfigObject + type + ":state"); + keys.emplace_back(m_PrefixConfigCheckSum + type + ":state"); } else if (type == "timeperiod") { keys.emplace_back(m_PrefixConfigObject + type + ":override:include"); keys.emplace_back(m_PrefixConfigObject + type + ":override:exclude");