I’m trying to write up some Python code to interact with the REST-API of CheckMK.
I want to get a list of all unhandled service problems, but I can’t find a fitting command in the documentation? I’d be very surprised if it cant be done, since this seems incredibly basic to me.
Also, the documentation mentions an API Key, but I can’t find anything in the settings mentioning it.
The following query finds all services. You can refine this with “query”. In this example, all services are identified that have not been confirmed and that have an unequal OK status.