REST API - Get all notifications of a Host

Hi all!

Hope you are dooing fine. At the moment i am searching for a way to get all the notifications of a HOST via a REST call. I do not find an endpoint or something like that. Any ideas ? To make the question concret. i wand to to GET this information via REST

What you see in your screenshot is the monitoring core log.
At the moment there is no API request available to retrieve the core log. If i remember it correctly :wink:

3 Likes

You can use the Multisite API to retrieve any view as JSON data.
Take the URL from the Export > JSON menu and append the URL parameters _username and _secret with automation credentials.

6 Likes

Hm… ok, this means that i have to check every single host right? Or is there a way to get a bundle of hosts. Or all hosts in a special view ? Or is the way only in the event console ?

Could be an idea for the upcoming roadmap :slight_smile:

ideas.checkmk.com :slight_smile: