However, it doesn't tell you if the apply was actually successful and that no errors were found. To do this you have to check the status via the browser.
I've been looking at possible work arounds such as creating a custom API endpoint to retrieve the 'configuration snapshot' list (using the same call your PHP script uses via CCM "get_nagioscore_config_snapshots()"). This works fine, and allows me to see if the latest snapshot is an error.
This can also be useful prior to 'applyconfig' to make sure it's in a fit state before committing any changes.
Is there some other API call I can make to query the result of the applyconfig or could this be another feature request?
Being able to query the configuration snapshots as a standard API call would also be nice
Thanks.