Hi
I am Nagios Core 4 user. I like to understand if Nagios XI has ability to create and delete a host from external REST API call.
ie, when a openstack instance got spun up, it can trigger a REST call to Nagios XI server to add it,
once instance got deleted the Nagios server remove it from another REST call.
REST API to add/remove a host ?
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: REST API to add/remove a host ?
Core doesn't support this functionality however there may be addon's which fulfill your needs:
https://exchange.nagios.org/directory/Addons/APIs
XI has a API capable of this builtin: XI > Help > Config Reference for details.
https://exchange.nagios.org/directory/Addons/APIs
XI has a API capable of this builtin: XI > Help > Config Reference for details.
Previous Nagios employee
Re: REST API to add/remove a host ?
Thanks for the answer, pls close this thread.
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: REST API to add/remove a host ?
Glad to help, please open a new thread or ticket if you have further issues.
Previous Nagios employee