Proxmox Integration

CMK version:
Checkmk Raw Edition 2.4.0p6

OS version:
Debian GNU/Linux 12 (bookworm)

Error message:
[special_proxmox_ve]: ValueError: key must only contain ASCII letters, digits, or underscores.

Output of “cmk --debug -vvn hostname”: (If it is a problem with checks or plugins)

0 piggyback files for ‘proxmox’.
[cpu_tracking] Stop [725df6e87860 - Snapshot(process=posix.times_result(user=0.13000000000000078, system=0.0, children_user=0.0, children_system=0.0, elapsed=0.11999999918043613))]
[agent] Success, [special_proxmox_ve] ValueError: key must only contain ASCII letters, digits, or underscores.(!!), [piggyback] Success (but no data found for this host), execution time 12.7 sec | execution_time=12.730 user_time=0.170 system_time=0.010 children_user_time=4.360 children_system_time=0.200 cmk_time_agent=6.400 cmk_time_ds=1.600
Agent exited with code 1: Agent failed - please submit a crash report! (Crash-ID: 4c6b5992-5cd1-11f0-bca5-bc2411e2d12e)

Traceback (most recent call last):
File “/omd/sites/monitoring/lib/python3/cmk/special_agents/v0_unstable/agent_common.py”, line 151, in _special_agent_main_core
return main_fn(args)
^^^^^^^^^^^^^
File “/omd/sites/monitoring/lib/python3/cmk/special_agents/agent_proxmox_ve.py”, line 478, in agent_proxmox_ve_main
logged_backup_data = fetch_backup_data(args, session, data[“nodes”])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/omd/sites/monitoring/lib/python3/cmk/special_agents/agent_proxmox_ve.py”, line 398, in fetch_backup_data
storage = Storage(program_ident=“agent_proxmox_ve”, host=args.hostname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/omd/sites/monitoring/lib/python3/cmk/special_agents/v0_unstable/storage.py”, line 35, in init
self._get_base_path(), self._sanitize_key(program_ident), self._sanitize_key(host)
^^^^^^^^^^^^^^^^^^^^^^^^
File “/omd/sites/monitoring/lib/python3/cmk/special_agents/v0_unstable/storage.py”, line 49, in _sanitize_key
raise ValueError(“key must only contain ASCII letters, digits, or underscores.”)
ValueError: key must only contain ASCII letters, digits, or underscores.(!!)

This was fixed in 2.4.0p7: Werk #18169: proxmox_ve: new persistent log cache fails with value error

thank you for your quick help :slight_smile:

Hello!

If one of the answers helped you solve your question, please mark it as the solution. This way, you thank the person who helped you and also indicate that the question has been resolved. This, in turn, helps others who come across the same question.

Solution

Thank you!