CMK version: 2.4.0p18
OS version: Ubuntu 24.04
Error message: piggyback-hub crashes if data from specific host is received
The problem happens every time the agent output has some non ascii characters inside.
In this case here, I have some backups inside Veeam with names starting with “täglich….”
Crash report looks like this.
"exc_traceback": [
[
"/omd/sites/eka/lib/python3/cmk/piggyback/hub/_payload.py",
106,
"run",
"self._handle_message(channel, config, piggyback_message)"
],
[
"/omd/sites/eka/lib/python3/cmk/piggyback/hub/_payload.py",
134,
"_handle_message",
"channel.publish_for_site("
],
[
"/omd/sites/eka/lib/python3.12/site-packages/cmk/messaging/_connection.py",
234,
"publish_for_site",
"body=message.model_dump_json().encode(\"utf-8\"),"
],
[
"/omd/sites/eka/lib/python3.12/site-packages/pydantic/main.py",
477,
"model_dump_json",
"return self.__pydantic_serializer__.to_json("
]
],
Important part of the local vars are.
PiggybackPayload(source_host='VEEAM', raw_data={'SERVER': (b'<<<veeam_client:cached(1767582031,90):sep(9)>>>\nStatus\tSuccess\nJobName\t1_t\x84glich_backup\nTotalSizeByte\t225485783040\nReadSizeByte\t4980736000\nTransferedSizeByte\t1831083572\nStartTime\t04.01.2026 17:13:34\nLastBackupAge\t38654.3187182\nDurationDDHHMMSS\t00:00:01:51\nAvgSpeedBps\t498073600\nDisplayName\t\nBackupServer\tVEEAM\n',)}, message_timestamp=1767582031, contact_timestamp=1767582031),
