CheckMK integration and API object attributes

What I tried today:

  • Created dedicated automation user
  • Added automation user to all organizations for monitoring
  • Extracted automation user_ID using the rails console: user_ID: 3
  • Changed line 104 of /app/controllers/integration/check_mk_controller.rb and changed ID from 1 (System) to 3 (automation user)
  • Restart zammad systemctl restart zammad
  • Pushed a notification

In this case the customer_id is set to 3 and the group_id is correctly set to 8
image

Which works fine enough for my needs.
This is risky since it will be overwritten ad every update, but in my limited knowledge of how Zammad works, this is the best possible solution.

It would be nice if the “if customer not found use customer_ID:1” could be parametrized in the webGUI.