Code: Select all
{
"error": "Missing required variables",
"missing": [
"max_check_attempts",
"check_period",
"notification_interval",
"notification_period",
"contacts OR contact_groups"
]
}
EDIT: I guess I could write the host cfg to the import folder, use the API to run the import, then write the services file and do the import again as a work around, but using the curl commands would be awesome!