REST/WEB API Call - Downtime for Hostgroup

Hello all,

I am looking for a way to trigger a fixed downtime for a hostgroup via old Web API or new REST API.
We have automated our Update Process and therefore want to set these hosts into downtime during the update process.
Can easily manage it via REST to a single host, but not for a hostgroup.

Does someone have an idea how to approach that ?

Thanks for your ideas.

Robert

Sometimes when the api fails you can use a vew. For example:

/check_mk/view.py?hostgroup=YOURHOSTGROUP&output_format=json&view_name=hostgroup

Yes, that returns table data as json, but you still might be able to pick through that.

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.