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 |
|
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.