Skip to content

Commit c196960

Browse files
committed
Explain host name translation for invalid piggyback hosts
SUP-28974 Change-Id: I1560119e8927226d9dd10e6260c24362e6a31ab9
1 parent 71688ca commit c196960

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

cmk/gui/wato/_check_mk_configuration.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6581,6 +6581,15 @@ def _valuespec_piggyback_translation():
65816581
"If that is not the case, then with this rule you can define a host name translation. "
65826582
'Note: This rule must be configured for the "pig" - i.e. the host that the '
65836583
"agent is running on. It is not applied to the translated piggybacked hosts."
6584+
"<br><br>"
6585+
"The 'Multiple regular expressions' and 'Explicit name mapping' options match against "
6586+
"the raw host names as sent by the agent. Keep in mind that Checkmk only allows "
6587+
"letters, digits, dashes, underscores and dots in host names, so any other characters "
6588+
"are automatically converted to underscores when the piggybacked host is created in "
6589+
"monitoring. This means that if, for example, an agent sends the host name "
6590+
"'My Virtual Machine', Checkmk will store it as 'My_Virtual_Machine'. Your translation "
6591+
"rules should therefore be written to match the original name as sent by the agent, not"
6592+
" the converted underscore variant."
65846593
),
65856594
)
65866595

0 commit comments

Comments
 (0)