Icinga DB: clean up vanished objects from icinga:checksum:*:state

... not to let it grow non-stop.
This commit is contained in:
Alexander A. Klimov 2021-08-05 11:32:47 +02:00
parent aaccd0448f
commit e3a5d613aa
1 changed files with 1 additions and 0 deletions

View File

@ -533,6 +533,7 @@ std::vector<String> 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");