Custom variables in Nagios XI REST API

Discuss new project and feature ideas here.
See labs.nagios.com for new projects under development.

Custom variables in Nagios XI REST API

Postby cmueller » Mon Apr 15, 2019 3:57 am

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
cmueller
 
Posts: 10
Joined: Sun Mar 04, 2018 11:07 am

Re: Custom variables in Nagios XI REST API

Postby scottwilkerson » Mon Apr 15, 2019 10:22 am

This is going to be available in 5.6.0 when it is released under the config API endpoint
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 16620
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises


Return to Nagios Ideas

Who is online

Users browsing this forum: No registered users and 1 guest