Page 1 of 1

Nagios XI 5.6.6 REST API get and restore config snapshot

Posted: Mon Jan 13, 2020 1:23 pm
by JosephH
Hi,

Is it possible using Nagios REST API to get last good configuration snapshot and restore it if my current apply configuration (system/applyconfig) failed using API? Is it possible to get the applyconfig command output and see the following?
Total Warnings: 0
Total Errors: 0

Thanks
Joseph

Re: Nagios XI 5.6.6 REST API get and restore config snapshot

Posted: Mon Jan 13, 2020 2:43 pm
by scottwilkerson
Unfortunately neither of these are possible via the API at this time.

If you would like I could submit a feature request and they may get added in a future version.

Re: Nagios XI 5.6.6 REST API get and restore config snapshot

Posted: Mon Jan 13, 2020 2:54 pm
by JosephH
hi scottwilkerson,

Thank you very much to reply this quick.

Yes, please put this as a feature request for future release.

Thanks
Joseph

Re: Nagios XI 5.6.6 REST API get and restore config snapshot

Posted: Mon Jan 13, 2020 3:04 pm
by scottwilkerson
Features requested.