Export Monitored Hosts and Servies to an Excel Spreadsheet

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nlnieme
Posts: 5
Joined: Thu Jan 10, 2013 2:36 pm

Export Monitored Hosts and Servies to an Excel Spreadsheet

Post by nlnieme »

I'd like to export our list of monitored hosts and services into an Excel spreadsheet. I'd like to use this to compare our existing servers to what we are currently monitoring in NAGIOS XI. Let me know if anyone has any ideas or suggestions for accomplishing this.

Thanks.
-Nate
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Export Monitored Hosts and Servies to an Excel Spreadshe

Post by bwallace »

Sure, you can use the REST API (as of Nagios XI 5) to obtain these details
https://support.nagios.com/kb/article.php?id=176
All of the documentation is available inside of the Nagios XI product via the Help menu. In the left pane you will find the section REST API Docs


Or, you can scrape the objects.cache file - this is the running configuration after everything has been compiled, such as templates, etc.
/usr/local/nagios/var/objects.cache
Be sure to check out the Knowledgebase for helpful articles and solutions!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Export Monitored Hosts and Servies to an Excel Spreadshe

Post by tmcdonald »

Just checking in since we have not heard from you in a while. Did @bwallace's post clear things up or has the issue otherwise been resolved?
Former Nagios employee
Locked