Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Add the self signed certificate to the OS's cert store. Example for Ubuntu:  https://ubuntu.com/server/docs/security-trust-store


ERROR [cmk_agent_ctl] Error while loading registered connections.

Detailed error message:



Code Block
themeRDark
ERROR [cmk_agent_ctl] Error while loading registered connections.

Caused by:
    Failed to split into server and port at ':' at line 4 column 24


If you see this error message when trying to work with any subcommand of cmk-agent-ctl, there is probably something wrong in the file /var/lib/cmk-agent/registered_connections.json.

Solution

First move the file registered_connections.json to registered_connections.json.bak and re-run the command. If that works you can start checking the content of the file. If you still need the registration stored in the file, check the line and column in the error message an try to repair it. If you don't need it anymore, simply delete the file.

Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("agent","agent_controller") and type = "page" and space = "KB"
labelsagent agent_controller

...