Page 1 of 1

Custom variables in Nagios XI REST API

Posted: Mon Apr 15, 2019 3:57 am
by cmueller
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

Re: Custom variables in Nagios XI REST API

Posted: Mon Apr 15, 2019 10:22 am
by scottwilkerson
This is going to be available in 5.6.0 when it is released under the config API endpoint