Free on-demand webinars: Learn how to set up, configure, and get more out of Checkmk – Pick your webinar

Werk #20221: Host and service name translation: correct regular expression help

Component Setup
Title Host and service name translation: correct regular expression help
Date Aug 18, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
3.0.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.5.0p13 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.4.0p37 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

The inline help of the Multiple regular expressions option in the rules Host name translation for piggybacked hosts and Translation of service names claimed that a pattern is matched from the beginning of the name and that the match is case insensitive. Actually, each expression must match the complete name and the match is case sensitive. The matching behavior itself is unchanged; this werk only corrects the help texts.

For example, to translate the piggybacked host name VM01 - Testserver into VM01, use the expression (\S+) .* with replacement \1. Note that such expressions must match the original name as sent by the agent, not the underscore variant shown in the monitoring.

To the list of all Werks