Page 1 of 1

Export Monitored Hosts and Servies to an Excel Spreadsheet

Posted: Mon Feb 13, 2017 3:54 pm
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

Re: Export Monitored Hosts and Servies to an Excel Spreadshe

Posted: Mon Feb 13, 2017 4:13 pm
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

Re: Export Monitored Hosts and Servies to an Excel Spreadshe

Posted: Fri Mar 03, 2017 4:30 pm
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?