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.