Page 1 of 1

Nagios XI Schedule Maintenance Rest API

Posted: Mon Aug 14, 2017 3:38 pm
by bennyboy
Hi,

It's possible to schedule a maintenance by the API. I need as example SCCM be able to put in maintenance a server before update ncpa agent.

Thank you!

Re: Nagios XI Schedule Maintenance Rest API

Posted: Mon Aug 14, 2017 3:41 pm
by tacolover101
i can't recall if there was a REST call directly for XI for this, but you could use Core's cmd.cgi to process it.

http://sites.box293.com/nagios/guides/t ... e-and-cgis - first example on this page

Re: Nagios XI Schedule Maintenance Rest API

Posted: Mon Aug 14, 2017 4:03 pm
by cdienger
It's currently a request - #7383. tacolover101's suggestion is a good one. More information on the cgi can be found at https://assets.nagios.com/downloads/nag ... mands.html and https://www.nagios.org/developerinfo/externalcommands/ .