Custom variables in Nagios XI REST API

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
cmueller
Posts: 13
Joined: Sun Mar 04, 2018 11:07 am

Custom variables in Nagios XI REST API

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Custom variables in Nagios XI REST API

Post by scottwilkerson »

This is going to be available in 5.6.0 when it is released under the config API endpoint
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked