CMK version: RAW 2.4.0p14
OS version: Debian 12.12
Error message:
[agent] Success, [special_proxmox_ve] json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Output of “./share/check_mk/agents/special/agent_proxmox_ve --debug --verbose”:
OMD[poller1]:~/share/check_mk/agents/special$ cd
OMD[poller1]:~$ ./share/check_mk/agents/special/agent_proxmox_ve --debug --verbose --username 'checkmk@pve' --password hunter2 --port 8006 --no-cert-check 'pveclus-node01'
INFO 2025-10-29 14:40:11 root: running file /omd/sites/poller1/lib/python3/cmk/special_agents/v0_unstable/agent_common.py
INFO 2025-10-29 14:40:11 root: using Python interpreter v3.12.11.final.0 at /omd/sites/poller1/bin/python3
INFO 2025-10-29 14:40:11 agent_proxmox_ve: Establish connection to Proxmox VE host 'pveclus1-node01.infra.xantion.net'
INFO 2025-10-29 14:40:11 agent_proxmox_ve: Fetch general cluster and node information..
INFO 2025-10-29 14:40:35 agent_proxmox_ve: Fetch and process backup logs..
Traceback (most recent call last):
File "/opt/omd/sites/poller1/./share/check_mk/agents/special/agent_proxmox_ve", line 11, in <module>
sys.exit(main())
^^^^^^
File "/omd/sites/poller1/lib/python3/cmk/special_agents/agent_proxmox_ve.py", line 901, in main
return special_agent_main(parse_arguments, agent_proxmox_ve_main)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/omd/sites/poller1/lib/python3/cmk/special_agents/v0_unstable/agent_common.py", line 180, in special_agent_main
return _special_agent_main_core(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/omd/sites/poller1/lib/python3/cmk/special_agents/v0_unstable/agent_common.py", line 151, in _special_agent_main_core
return main_fn(args)
^^^^^^^^^^^^^
File "/omd/sites/poller1/lib/python3/cmk/special_agents/agent_proxmox_ve.py", line 480, in agent_proxmox_ve_main
logged_backup_data = fetch_backup_data(args, session, data["nodes"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/omd/sites/poller1/lib/python3/cmk/special_agents/agent_proxmox_ve.py", line 401, in fetch_backup_data
with JsonCachedData(
^^^^^^^^^^^^^^^
File "/omd/sites/poller1/lib/python3.12/contextlib.py", line 137, in __enter__
return next(self.gen)
^^^^^^^^^^^^^^
File "/omd/sites/poller1/lib/python3/cmk/special_agents/v0_unstable/misc.py", line 369, in JsonCachedData
cache = json.loads(storage.read(key=storage_key, default="{}"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/omd/sites/poller1/lib/python3.12/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/omd/sites/poller1/lib/python3.12/json/decoder.py", line 338, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/omd/sites/poller1/lib/python3.12/json/decoder.py", line 356, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
This is a three node Proxmox Cluster, node 2 and 3 have no issues. Is there a way to just dump the json to validate / troubleshoot?
edit: i moved the VMs in batches and the error does not seem to related to a specific VM