CMK version: 2.3.0p25
OS version: Debian 12
Hey guys
I have a server with a special agent: “server1” which create somy piggyback data.
I configured a “Host name translations for piggybacked hosts” with the followed configuration:
Explicit hostname mapping
Original hostname: hostnamewrong (this is the folder name under ~/tmp/check_mk/piggyback)
Translated hostname: hostnameright (the hostname in CheckMK)
Excplicit host: server1 The host where the piggyback data comes from (the same under ~/tmp/check_mk/piggyback/hostnamewrong/server1
I expect the translated folder change from:
~/tmp/check_mk/piggyback/hostnamewrong/server1
to
~/tmp/check_mk/piggyback/hostnameright/server1
But it’s not happen. Even when I tried the other way. Any ideas?
Greetz
r.sander
(Robert Sander)
January 24, 2025, 1:55pm
2
The old folder will not be removed. Piggyback data expires after 2 minutes, so this is not an issue.
The folder with the new name should have been created.
1 Like
Unfortunatley not. Nothing happens… the old folder still persists and no new folder is created
gstolz
(Gerd Stolz)
January 24, 2025, 2:18pm
4
does the translation rule apply to the “server1”?
it can easily be misunderstood and the rule is sometimes placed in the folder where the “hostnameright” host is located, but the rule actually is applied during the processing of the incoming data of “server1”.
If that is not the issue, would you mind sharing a screenshot of the rule and your folders? (company parts obfuscated if you must :))
1 Like
Sure - here it is:
I tried with “Case translation - Do not convert case” as well and I switched the hostname mapping.
The folder above, Linux, is the right one. I also tried with the Main folder
r.sander
(Robert Sander)
January 24, 2025, 3:56pm
6
Just to make sure: You activated that change?
Sure - I saved it several times, restatet the monitoring. It’s not the first Piggyback translation rule but it’s the first like this.
I don’t know if there is a bug in CheckMK version?
Most times, you can only say with the real data where the problem is.
Also you need to see all rules defined in the same category.
Overlord
(M)
January 31, 2025, 10:06am
9
I changed the same rule to
Case translation: Convert hostnames to lower case
and it’s working like expected. The “Explicit hostname mapping” is not working
system
(system)
Closed
January 31, 2026, 10:07am
10
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.