mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Icinga DB: clean up vanished objects from icinga:checksum:*:state
... not to let it grow non-stop.
This commit is contained in:
parent
aaccd0448f
commit
e3a5d613aa
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user