I'm saving the unique ID of my CMDB system in a custom variable of the host entry.
It would be very nice to have the custom variables in the host output of the REST API.
/nagiosxi/api/v1/objects/host
/nagiosxi/api/v1/objects/hoststatus
Like it is available in the old objectjson.cgi
/nagios/cgi-bin/objectjson.cgi?query=hostlist&details=true
Custom variables in Nagios xi REST API
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Custom variables in Nagios xi REST API
This is going to be available in 5.6.0 when it is released under the config API endpoint