# File lib/smart_proxy_monitoring_icinga2/monitoring_icinga2_main.rb, line 15 def remove_downtime_host(host, author, comment) request_url = "/actions/remove-downtime?type=Host&filter=host.name==\"#{host}\"\&\&author==\"#{author}\"\&\&comment=\"#{comment}\"" data = {} result = with_errorhandling("Remove downtime from #{host}") do Icinga2Client.post(request_url, data.to_json) end result.to_json end