Free (Custom) Variables Listed From objects/statehistory API

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
eblackstone
Posts: 2
Joined: Wed Sep 16, 2020 8:52 am

Free (Custom) Variables Listed From objects/statehistory API

Post by eblackstone »

ServiceNow NagiosXI MID Server Script Includes objects/statehistory API Free (Custom) Variables

Hello,

In ServiceNow to Configure event collection from NagiosXI we are using the out-of-the-box NagiosXI MID Server Script Includes. The NagiosXI MID Server Script Includes utilizes the objects/statehistory API. We would like to get a list of free (custom) variables which will be added to the JSON output returned when the objects/statehistory API is called. I am not able to locate an argument to be able to make this happen. Is there an argument similar to customvars=1 that is available like for objects/host, objects/service, and objects/contact API's that would list the free variables to the JSON output returned when the objects/statehistory API is called?

Nagios XI 5.7.1
redhat-release-server-7.8-2.el7.x86_64
ServiceNow Orlando

Thanks
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Free (Custom) Variables Listed From objects/statehistory

Post by ssax »

There is not currently a way to show them in that API endpoint, development would need to add that functionality into the code, I've created a feature request on your behalf with a link back to this thread:

FR: XI - API - objects/statehistory - Add customvars=1 support

Please keep in mind that the decision to implement the enhancement is at the discretion of our development team.
eblackstone
Posts: 2
Joined: Wed Sep 16, 2020 8:52 am

Re: Free (Custom) Variables Listed From objects/statehistory

Post by eblackstone »

Hi ssax,

Thanks for submitting a feature request for this.

As a follow up does Nagios XI support development of custom API's?

Thanks
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Free (Custom) Variables Listed From objects/statehistory

Post by benjaminsmith »

Hi,

Your welcome!

We have done custom programming projects in the past, I would recommend reaching out to sales ([email protected]) if you have any questions. Just let me know if you need any assistance connecting.

Regards,
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked