Skip to content

Commit 4b5021c

Browse files
committed
Explain host name translation for invalid piggyback hosts
SUP-28974 Change-Id: I1560119e8927226d9dd10e6260c24362e6a31ab9
1 parent ac4a21b commit 4b5021c

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
@@ -6053,6 +6053,15 @@ def _valuespec_piggyback_translation() -> Dictionary:
60536053
"If that is not the case, then with this rule you can define a host name translation. "
60546054
'Note: This rule must be configured for the "pig" - i.e. the host that the '
60556055
"agent is running on. It is not applied to the translated piggybacked hosts."
6056+
"<br><br>"
6057+
"The 'Multiple regular expressions' and 'Explicit name mapping' options match against "
6058+
"the raw host names as sent by the agent. Keep in mind that Checkmk only allows "
6059+
"letters, digits, dashes, underscores and dots in host names, so any other characters "
6060+
"are automatically converted to underscores when the piggybacked host is created in "
6061+
"monitoring. This means that if, for example, an agent sends the host name "
6062+
"'My Virtual Machine', Checkmk will store it as 'My_Virtual_Machine'. Your translation "
6063+
"rules should therefore be written to match the original name as sent by the agent, not"
6064+
" the converted underscore variant."
60566065
),
60576066
)
60586067

0 commit comments

Comments
 (0)