Setting Downtime with the REST API

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
optionstechnology
Posts: 234
Joined: Thu Nov 17, 2016 11:26 am

Setting Downtime with the REST API

Post by optionstechnology »

Hi,

I'm running 5.4.1

Is it possible to set downtime using the REST API?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Setting Downtime with the REST API

Post 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
Former Nagios employee
https://www.mcapra.com/
Locked