Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icinga internal checks performance data via RestApi #10183

Open
yolanjoy opened this issue Oct 2, 2024 · 1 comment
Open

Icinga internal checks performance data via RestApi #10183

yolanjoy opened this issue Oct 2, 2024 · 1 comment
Labels
area/api REST API

Comments

@yolanjoy
Copy link

yolanjoy commented Oct 2, 2024

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" .

@oxzi oxzi added the area/api REST API label Oct 4, 2024
@oxzi
Copy link
Member

oxzi commented Oct 4, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api REST API
Projects
None yet
Development

No branches or pull requests

2 participants