brennerm / check-mk-web-api

Python library to talk to the Check_Mk Web API
https://brennerm.github.io/check-mk-web-api/
MIT License
53 stars 26 forks source link

Default alert rules export, no API #32

Closed ryanlll3 closed 3 years ago

ryanlll3 commented 3 years ago

I need to get the list of activated alerting rules, service names which are default or autodicovered. But I see I couldn't get the list of default thresholds, service names.

Do you think you could help or guide?

Ryan

brennerm commented 3 years ago

Hey @ryanlll3, here you can find a list of all currently supported commands. As you can see there's no way to export alert rules at all. So this is not possible with the current web API.

It may be possible with the new REST API coming with 2.0, which will be adopted by this project (#31) as well.