Page 1 of 1
Setting Downtime with the REST API
Posted: Tue Feb 21, 2017 9:39 am
by optionstechnology
Hi,
I'm running 5.4.1
Is it possible to set downtime using the REST API?
Re: Setting Downtime with the REST API
Posted: Tue Feb 21, 2017 11:24 am
by mcapra
Not currently. You can refer to the "Help" section of your Nagios XI GUI for more information about the back-end API.
You could use the external commands file to schedule downtime from the CLI though. More information:
https://old.nagios.org/developerinfo/ex ... ndlist.php
The specific commands for an individual host and service:
https://old.nagios.org/developerinfo/ex ... and_id=118
https://old.nagios.org/developerinfo/ex ... and_id=119