Rule Condition: Allow rule conditions to target a specific check (e.g., check_mk_active-httpv2)
Rules in Checkmk should be able to apply to a specific check type, such as check_mk_active-httpv2, rather than across all services with similar names.
As an example, the Service Name of several HTTP-related checks starts with HTTP. In my use case, it would be highly useful to configure certain rules, such as “Escape HTML in service output,” exclusively for the check_mk_active-httpv2 check and set it to Don’t escape HTML. Achieving this today requires multiple separate rules with carefully defined name patterns, which is inefficient and error-prone.
Introducing a direct way to identify and select specific check types would make rule configuration cleaner, more precise, and easier to maintain.
Benefits:
Simplifies rule management, reduces configuration complexity, and prevents unintended effects on unrelated checks.
Possible solution:
A service label such as "cmk/check_type:check_mk_active-httpv2" would be fully sufficient and integrate seamlessly into the existing label-based rule concept.