Merge pull request #8953 from Icinga/bugfix/icinga-checksum-state-growing

Icinga DB: clean up vanished objects from icinga:checksum:*:state
This commit is contained in:
Julian Brost 2021-09-17 12:04:41 +02:00 committed by GitHub
commit 6fc15449a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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") { if (type == "host" || type == "service" || type == "user") {
keys.emplace_back(m_PrefixConfigObject + type + "group:member"); keys.emplace_back(m_PrefixConfigObject + type + "group:member");
keys.emplace_back(m_PrefixConfigObject + type + ":state"); keys.emplace_back(m_PrefixConfigObject + type + ":state");
keys.emplace_back(m_PrefixConfigCheckSum + type + ":state");
} else if (type == "timeperiod") { } else if (type == "timeperiod") {
keys.emplace_back(m_PrefixConfigObject + type + ":override:include"); keys.emplace_back(m_PrefixConfigObject + type + ":override:include");
keys.emplace_back(m_PrefixConfigObject + type + ":override:exclude"); keys.emplace_back(m_PrefixConfigObject + type + ":override:exclude");