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!
Nagios XI Schedule Maintenance Rest API
- tacolover101
- Posts: 432
- Joined: Mon Apr 10, 2017 11:55 am
Re: Nagios XI Schedule Maintenance Rest API
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
http://sites.box293.com/nagios/guides/t ... e-and-cgis - first example on this page
Re: Nagios XI Schedule Maintenance Rest API
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.