Open yolanjoy opened 1 month ago
You can fetch the result of a Service check via the API as well. Each Service object has runtime attributes as, e.g., last_check_result
. This will be of the CheckResult
type, hopefully containing every information you need.
Thus, start at API, Querying Objects, perform a query for the Service
you need, for example against https://example.com:5665/v1/objects/services/icinga.example.com!icinga
, and inspect the last_check_result
.
I hope this helps.
Currently only Icinga App Info/status is available via RestApi.
Expose Icinga internal checks performance data via RestApi. The data is provides by Icinga inbuilt checks such as "icinga", "cluster"., "cluster-zone", "ido" .