Inventory Export or Report
-
CFT6Server
- Posts: 506
- Joined: Wed Apr 15, 2015 4:21 pm
Inventory Export or Report
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.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Inventory Export or Report
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:
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).
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:
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.
Re: Inventory Export or Report
You can also use the Backend API. https://assets.nagios.com/downloads/nag ... nd_API.pdf
But the JSON query generator is defintely better.
But the JSON query generator is defintely better.
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Inventory Export or Report
CFT6Server, will those solutions work for your requirements?