Thank you for the Recommendation Andreas. I am very new to checkmk. I think I got the site , hostname, server and user good now. I get a Cert rendered but when I hit āYā to establish the connection I get the following error
In your site should exists an user with name āautomationā and also with user type āautomationā. Is this user there? If you not, you need to create an automation user with name āautomationā.
If the site is existing longer and was updated, this is a common problem.
For new sites it should not happen.
I have the user automation and setup a password which I added to my command. I get the prompt to proceed with the registration but then it fails with a 500.
Ok so for the automation user, it needs to use the secret option. Registration will fail if you try and use the password for the user. For future people having the same issue the syntax for the registration command is as follows
cmk-agent-ctl register --hostname <hostname created in checkmk> \
--server <IP of your linux server or DNS>:<Port> --site mysite \
--user automation --password '<Automation Secret for Machine Accounts>'
Port can be found by running
omd config <sitename> show | grep AGENT_RECEIVED
The secret can be found under the Setup>Users>Properties Automation User>Security
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.