REST API to add/remove a host ?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nagmoto
Posts: 195
Joined: Fri Jan 09, 2015 8:05 am

REST API to add/remove a host ?

Post by nagmoto »

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.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: REST API to add/remove a host ?

Post by avandemore »

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.
Previous Nagios employee
nagmoto
Posts: 195
Joined: Fri Jan 09, 2015 8:05 am

Re: REST API to add/remove a host ?

Post by nagmoto »

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 ?

Post by avandemore »

Glad to help, please open a new thread or ticket if you have further issues.
Previous Nagios employee
Locked