One of my hosts is producing this error, while most others register fine:
root@sshgateway:~# cmk-agent-ctl register --hostname gateway.gerhards.local --server 10.0.4.107:8000 --site home -U cmkadmin
ERROR [cmk_agent_ctl] Error while loading registered connections.
Caused by:
EOF while parsing a string at line 8 column 1040
Adding -vv gives one line more, which says basically nothing…
root@sshgateway:~# cmk-agent-ctl register --hostname gateway.gerhards.local --server 10.0.4.107:8000 --site home -U cmkadmin -vv
INFO [cmk_agent_ctl] starting
ERROR [cmk_agent_ctl] Error while loading registered connections.
Caused by:
EOF while parsing a string at line 8 column 1040
The path you might be looking for is /var/lib/cmk-agent/.
There lives /var/lib/cmk-agent/registered_connections.json, which stores the registered connections. It might have been corrupted.
Hey, like @davidwayne wrote, removing var lib with: rm -rf /var/lib/cmk-agent/ fixed the ERROR [cmk_agent_ctl] Error while loading registered connections.
Here is what I noticed: the disk (/) ran full during executing this command. I enlarged it and it worked.
Hi @peterge, please open dedicated threads for distinct problems, so it is easier for others to find.
Also, please mark correct answers as the solution (I took the liberty to do so already ).
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.