Hello,
i need to make a curl via api to retrive only the status (ok, warning, critical) of all services in all hosts into a host group called cged.
I tried lot of time but without success.
Can i have an help?
What do you want with a list of OKs, WARNINGs and CRITICALs without context returned form the API?
I would use the API call to get all the services objects of the hosts in the hostgroups and then in a second step filter the result to build a dictionary filled with the fields from the service objects in the form of host!servcie: state - in Python datatypes