Prerequisites
- A Checkmk site that CloudThinker can reach over HTTPS. For a private address, follow Reaching private services.
- A Checkmk administrator who can create users and assign roles.
- The Admin role in your CloudThinker workspace. See Roles.
Setup
Create an automation user
cloudthinker. In the Security section, choose Automation secret for machine accounts and generate a secret. Copy the secret. See Checkmk’s user guide.Choose its role
Connect in CloudThinker
Connection details
Required permissions
The user’s role decides which hosts and services agents see and whether they can acknowledge problems and set downtimes. Checkmk ships three roles:Agent capabilities
Verify the connection
Example prompts
Troubleshooting
Checkmk rejected the automation user or its secret.
Checkmk rejected the automation user or its secret.
The automation user signed in, but its role cannot use the REST API.
The automation user signed in, but its role cannot use the REST API.
That address has no Checkmk REST API. Check the site name in the URL, such as https://monitor.example.com/mysite.
That address has no Checkmk REST API. Check the site name in the URL, such as https://monitor.example.com/mysite.
/check_mk.Checkmk answered with a redirect. Use the exact https site address, such as https://monitor.example.com/mysite.
Checkmk answered with a redirect. Use the exact https site address, such as https://monitor.example.com/mysite.
The Checkmk certificate is not trusted.
The Checkmk certificate is not trusted.
BEGIN and END lines.Could not reach Checkmk over HTTPS. Check the URL and that the sandbox can reach it.
Could not reach Checkmk over HTTPS. Check the URL and that the sandbox can reach it.
https:// and that your firewall lets CloudThinker reach the site. Browser access from your laptop alone is not enough.An agent says the Checkmk write tool is off
An agent says the Checkmk write tool is off
Security
- Least privilege — grant only the permissions the agents need for your use case; start read-only and widen later.
- Read-only by default — use read-only credentials unless you want agents to make changes through this connection.
- Rotate credentials — rotate keys and tokens on your normal schedule; CloudThinker picks up the new value when you update the connection.
- Revoke on offboarding — remove the credential at the provider when you delete a connection or a teammate leaves.
- Use a dedicated automation user for CloudThinker, so you can change its secret or remove it without touching other integrations.
- Avoid the Administrator role. A custom role with only the permissions agents need limits what a leaked secret can do.