Skip to content

Set Up Checkmk ​

This guide explains step by step how to set up a Checkmk instance in InfraWatch.


Prerequisites ​

  • Access to a Checkmk installation (version 2.x or newer)
  • Administrator rights in Checkmk to create an automation user
  • The Checkmk site must be reachable from your smartphone (via VPN if necessary)

Step 1: Create an Automation User in Checkmk ​

InfraWatch requires a dedicated automation user in Checkmk. This user has no interactive login and is used exclusively for API communication.

  1. Sign in to the Checkmk web interface
  2. Go to Setup → Users → Users
  3. Click "Add user"

📸 Screenshot

Shows: The user management in Checkmk (Setup → Users) with the "Add user" button.

  1. Fill out the form:
    • Username: e.g., infrawatch_app
    • Full name: e.g., InfraWatch App User
    • Authentication: Select "Automation secret for machine accounts"
    • The system automatically generates an Automation secret – copy this value!

📸 Screenshot

Shows: The user creation form in Checkmk with the username filled in and the automatically generated "Automation secret" field.

  1. Set the role of the user:

    • Minimum: monitoring_user (read-only)
    • Recommended: user (includes Acknowledge and Downtime)
  2. Click "Save"

💡 Tip

If you want to use an existing account: You can find the Automation Secret in the user settings under "Security → Automation secret".


Step 2: Determine the Server URL ​

The URL for InfraWatch is composed as follows:

https://<your-checkmk-server>/<site-name>

Examples:

  • https://checkmk.company.com/monitoring
  • https://192.168.1.10/cmk
  • https://cmk.intern.local/prod

💡 Tip

You can see the correct URL in your browser when the Checkmk web interface is open. Copy everything including the site name.


Step 3: Add the Instance in InfraWatch ​

  1. Open InfraWatch and tap the Settings icon (⚙️)
  2. Tap "+ Add Instance"
  3. Select type: Checkmk

Add Checkmk instance

  1. Fill in the fields:
FieldDescriptionExample
NameAny label for this instanceCMK Production
TypeMonitoring systemCheckmk
Server URLURL of your Checkmk sitehttps://cmk.company.com/monitoring
UsernameName of the automation userinfrawatch_app
API KeyAutomation Secretabc123...xyz
Ignore SSLOnly enable for self-signed certificates☐

Step 4: Test the Connection ​

Tap "Test Connection" before saving.

Checkmk connection successful

Possible error messages:

ErrorCauseSolution
Network errorServer unreachableCheck URL, enable VPN
API error 401Wrong credentialsCheck username and API key
API error 403Insufficient permissionsCheck user role in Checkmk
Certificate errorSelf-signed SSLEnable "Ignore SSL"

Step 5: Save and Activate ​

  1. Tap "Save"
  2. Activate the instance with the toggle switch (green = active)
  3. Switch to the "Hosts" or "Services" tab – data will load

Active Checkmk instance


Frequently Asked Questions ​

Which Checkmk version is supported? InfraWatch supports Checkmk from version 2.0 (REST API v2).

Can I use the default admin account? Yes, but it's not recommended. It's better to create a dedicated automation user with minimal permissions.

Does InfraWatch work with Checkmk Raw Edition? Yes, all editions are supported (Raw, Free, Enterprise, Cloud).

Can I add multiple Checkmk sites? Yes, each site is a separate instance in InfraWatch. You can add as many as you like.