Page 1 of 1

NagiosXI scheduled downtime API

Posted: Fri Sep 07, 2018 3:39 am
by Gonela
Hi Team,

Can you share API for the following scheduled downtime info.

1. How to fetch the information of scheduled downtime hosts or services using API

2 . How to add the hosts or services into the scheduled downtime using API

Re: NagiosXI scheduled downtime API

Posted: Fri Sep 07, 2018 7:52 am
by scottwilkerson
Gonela wrote:1. How to fetch the information of scheduled downtime hosts or services using API
This is currently not available but I can see it being useful, I will add a feature request for it.
Gonela wrote:2 . How to add the hosts or services into the scheduled downtime using API
In Nagios XI under Help -> REST API Docs -> System Reference -> system/scheduleddowntime

you can add/delete downtimes