Problem while installing CheckMK Agent Remotely

CMK version: 2.2.0p17 (Raw containereized)
OS version: Windows 10 / Windows Server 2019

Error message:

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

I need to bulk import a lot of VM’s into checkmk and want to automate the task of accepting the certificate when registering to checkmk after installing the agent in powershell. Is this possible? I tried looking for flags in the executable that will allow me this to happen, but was not able to find any.

cmk-agent-ctl register --help shows you all available command line options.

You can use --trust-cert to automatically accept the site’s CA certificate.

2 Likes

Thanks for the fast response.
Seems like I’ve missed register while doing the --help (only cmk-agent-ctl --help). This works as expected.