REST API to fetch the server data

Hi All,

I am newbie to checkmk. Is there any REST API to fetch the server data from check_mk dashboard?

Thanks
Maheswari

The actual 2.0 has a REST API to fetch different things. It is mostly for configuration handling.

To process monitoring data it is better to use the existing livestatus connection.
Here Retrieving and processing status data via an API and Command reference for Livestatus you can find the livestatus reference with all the tables.
Or you query single views in a machine readable way (json/python format) as described here.
Views and their possibilities in detail

Thanks @andreas-doehler

My checkmk version is 1.6
will it Retrieving and processing status data via an API or Views and their possibilities in detail works for my version?

Yes these two work also with 1.6
With 1.6 you have also an old WATO API to retrieve configuration data.
This is the documentation for the old API.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.