For automatic agent updates, as described here Automatic agent updates, you should use cmk-update-agent.
For registering (adding) a host to your monitoring, as described here Monitoring Linux, you should use cmk-agent-ctl
Perfect, thanks for the clarification.
I have some follow-up questions:
Why do I need to register a host in my monitoring system if I create the host using an IP scan instead? Or do I still need to register it in that case?
When running the cmk-update-agent register command, I get the following error:
Max retries exceeded with URL: /site/check_mk/login.py (Caused by SSLError(SSLCertVerificationError("hostname '192.168.10.31' doesn't match 'cmk-site'")))
I have added the certificate to the agent rule in the bakery, baked the agent, and installed it. Shouldn’t this be sufficient?
This registration enables TLS encryption for the agent data. It is optional but to disable Checkmk’s need for it you have to bake an agent package without the agent controller.
You have configured the agent updater with only the IP address which is not part of the webserver’s certificate. Hence the validity cannot be verified.
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.