I’m not sure how to do it with a single rule matching all unless you do the following.
- Create a Host Tag specific for this.
- Create the rule to disable the check you require.
- Set the host tag as an condition for matching the rule.
- Assign host tag to required Hosts(Your VM’s) in CMK, so they will match the rule to disable the check.
4a. You can filter on the problem service to identify the hosts which need the host tag.
s: For example: “s: check_mk Agent” or: “s: check_mk$” or “s: check_mk” or “s: *.MK” or “s: *.MK”
You can put this in the quicksearch. the wildcard character *. is not needed at the end. The $ tells CMK that the search has to exactly match.
After the search you can filter using the magnifier on top to limit your results to warnings and criticals for example. You can even filter specific values in your status details.
There might be an easier way to get there, but I’m not aware of it right now.