CheckMK API - How to Add host on a Specific Site

The easiest way is - assign the slave site to a folder and place the host inside this folder.
With this method every host created inside the folder is automatically assigned to the slave. Or create a host manually inside the configuration and pull the config from the API to see what parameters are set.

1 Like