Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: e403e29ada74790b892049882f9602361faa57f0
https://github.com/tribe29/checkmk/commit/e403e29ada74790b892049882f9602361…
Author: Simon Jess <simon.jess(a)tribe29.com>
Date: 2020-06-23 (Tue, 23 Jun 2020)
Changed paths:
A .werks/11002
M cmk/utils/translations.py
A tests-py3/unit/cmk/utils/test_translations.py
Log Message:
-----------
11002 FIX Hostname Translation: Fix wrongly detected IP address if drop domain
Within the ruleset {{Hostname translation for piggybacked hosts}} the option
{{Convert FQHN}} drops the domain part, eg. "host123.foobar.de -> host123".
If
a hostname begins with a number then the translation failed because this name
was wrongly detected as an IP address, eg. "123host.foobar.de" ->
"123host.foobar.de".
This has been fixed.
Change-Id: Ib6d6a93a01879595a2b507dbc05454d59730ca98