Inventory Export or Report

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
CFT6Server
Posts: 506
Joined: Wed Apr 15, 2015 4:21 pm

Inventory Export or Report

Post by CFT6Server »

I don't think this is an existing feature, but is there anyway I can get a report of hosts and services in XI? I need a complete list for auditing purposes. We ideally would like these to ensure that we haven't missed any new hosts and devices or decommission the ones that are no longer around.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Inventory Export or Report

Post by Box293 »

I think the JSON API's are what you are after. This is included in Nagios XI 2014R1.2.

Here's a link to an article demonstrating it:
https://labs.nagios.com/2014/06/19/expl ... -7-part-1/

Here's a screenshot of my list of hosts:
Selection_082.png
While my screenshot is from using the API in a web browser, the same API can be used with a CURL or WGET command inside of a script (I've used it in a perl script).
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Inventory Export or Report

Post by WillemDH »

You can also use the Backend API. https://assets.nagios.com/downloads/nag ... nd_API.pdf

But the JSON query generator is defintely better.
Nagios XI 5.8.1
https://outsideit.net
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Inventory Export or Report

Post by ssax »

CFT6Server, will those solutions work for your requirements?
Locked