Nagios XI Schedule Maintenance Rest API

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bennyboy
Posts: 157
Joined: Thu Oct 29, 2015 9:42 am

Nagios XI Schedule Maintenance Rest API

Post 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!
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: Nagios XI Schedule Maintenance Rest API

Post 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
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Nagios XI Schedule Maintenance Rest API

Post 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/ .
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked