Is there a way of using the new REST-API to get the state of a service from a host?
e.g. I like to know if service Running Processes on host example.com is up/down or ok/critical?
The api docs mention under Service status to use /domain-types/service/collections/all but when running the below I get a list of services for this host but this does not include information about the state of the service.
curl -X GET "https:/example.com/production/check_mk/api/v1/domain-types/service/collections/all?host_name=example.com
If anyone could point me in the right direction please? Much appreciated.
Do you know to happen if this is a planned feature at some point? I can see this a pretty useful feature to connect other platforms to checkmk instances via webhooks. Thanks again for confirming.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact @fayepal if you think this should be re-opened.