mirror of https://github.com/Icinga/icinga2.git
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:
commit
6fc15449a8
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue