When deleting a host, also remove rules that are only for that host
Especially the ruleset "disabled services" accumulates a large number of rules when users are manually disabling services in the configuration.
When hosts are removed these rules are still there and increase the time to activate changes.
It would be nice when checkmk checks for such rules where only one hostname is in the conditions and removes them. Maybe similar to the situation when we remove tags from tag groups.
Comments: 2
-
12 Jan
JPHWe've the same requirement for the host files to delete, see FR: Delete a host: delete all host files (rules) by using WEB API, GUI, shell or in general
-
12 Jan
Jon DoeA corresponding message in the GUI that lists all rules that use the host name as a condition, as for example when deleting a contact or a host group, would already bring some relief and help to reduce the number of obsolete rules and old data.