Skip to content

Testing on an unmodified Checkmk

Rick Elrod edited this page Jul 9, 2026 · 2 revisions

cmk-rustik can be tested in a Checkmk that hasn't yet been modified to support this architecture.

Push-mode

Reminder: Push only works in Checkmk Ultimate edition (or Ultimate MT) on the Checkmk side.

  • Go to add a new host in Checkmk Ultimate edition, give it a name, set it to no-ip, set it to push.
  • Create a Push-Agent Receiver one-time-token (OTT)
    • Usually you can do this in the UI via the host-add page after you set it to push mode... when the UI is not broken and the button shows up.
    • In the slide out pick any agent for now, the linux one works fine. Click throw the wizard until you get to the "register" step. Copy the "ott" value out of the command it shows after you click "generate token". It should start be in the format: 0:<uuid> - that is the string you need.
  • Run the development environment in Kind:
    • just push=true push_ott=<your token> kind-dev
    • Create a DCD rule
      • Restrict source hosts to your host above
      • Ensure discovery is enabled
    • Save && Activate
    • Wait for DCD (or run it manually)

Pull-mode

With no arguments, just spinning up the development environment will not try to enable push-mode.

  • Run the development environment in Kind:
    • just kind-dev
  • In your local Checkmk instance:
    • Create a new host, set it to no IP
    • Add a rule under Individual program call instead of agent access
      • Set the command to /usr/bin/curl -s localhost:30050/debug
      • Bind it to your new host
    • Create a DCD rule
      • Restrict source hosts to your host above
      • Ensure discovery is enabled
    • Save && Activate
    • Wait for DCD (or run it manually)

Clone this wiki locally