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
Export Monitored Hosts and Servies to an Excel Spreadsheet
Re: Export Monitored Hosts and Servies to an Excel Spreadshe
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
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!
Re: Export Monitored Hosts and Servies to an Excel Spreadshe
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