The idea is that I would just have to link CheckMk to the Asset Management System (Device42) API.
There I would be able to pull this information:
Hostname
IP/ DNS(FQDM)
Role
SLA
Customer tag
Monitored? (yes/ no)
This would be automatically be populated when entering the ID of the device I’m trying to monitor.
This would synchronize the checkmk monitored host to my Asset Management System.
So when I make a change in the system, checkmk would pull this information and just update the information.
The API documentation states that via /api/1.0/devices/id/{device-id}/
I can get a JSON output of all device information like.
from my point of view, yes! You can handle it by the CheckMK API. When you run the call “all_hosts” with effective_attributes “on”, then you get all information you need. In addition, you can also the HW/SW Inventory information to enrich you data.
Similar things have been implemented. You will typically see that in discussions around CMDB integrations.
Take a look at this API wrapper from Checkmk: https://github.com/brennerm/check-mk-web-api