Page 1 of 1

Request NRPD 'Schedule SVC Downtime' return Schedule ID

Posted: Thu Dec 19, 2013 7:20 pm
by santosltd
Currently the 'SCHEDULE_SVC_DOWNTIME' NRPD call does not return a 'schedule downtime ID' which is needed later on to remove that schedule downtime when created via a NRPD call - this is because the Schedule Downtime ID's are assigned in an asynchronous manner and are not known at the time the API receives the Schedule downtime request.

Given that in future Nagios will be assigning these in a synchronous manner - I would like to request a change in the API so the XML status return code has the assigned Schedule Service Downtime ID returned in the Status XML reply to the request.

This will allow scripts to remove scheduled downtimes without resorting to web-scraping the IDs from the Nagios XI GUI (yes someone has had to write a script to do this !! ).

Re: Request NRPD 'Schedule SVC Downtime' return Schedule ID

Posted: Thu Jan 23, 2014 1:55 pm
by slansing
Can you note this in a feature request at:

tracker.nagios.com ?

Thank you!