BigIP Report Old
Problem this snippet solves:
This codeshare has been deprecated due to a hosting platform corruption. I have moved code and conversation to a new record (on the same original URL) https://devcentral.f5.com/s/articles/bigip-report
can be Overview
This is a script which will generate a report of the BigIP LTM configuration on all your load balancers making it easy to find information and get a comprehensive overview of virtual servers and pools connected to them.
This information is used to relay information to our NOC and developers to give them insight in where things are located and to be able to plan patching and deploys. I also use it myself as a quick way get information or gather data used as a foundation for RFC's, ie get a list of all external virtual servers without compression profiles.
The script has been running on 13 pairs of load balancers, indexing over 1200 virtual servers for several years now and the report is widely used across the company and by many companies and governments across the world.
It's easy to setup and use and only requires guest permissions on your devices.
Demo/Preview
Please note that it takes time to make these so sometimes they're a bit outdated and they only cover one HA pair. However, they still serve the purpose of showing what you can expect from the report.
Interactive demo
http://loadbalancing.se/bigipreportdemo/
Screen shots
The main report:
The device overview:
Certificate details:
How to use this snippet:
This codeshare has been deprecated due to a hosting platform corruption. I have moved code and conversation to a new record (on the same original URL) https://devcentral.f5.com/s/articles/bigip-report
Installation instructions
BigipReport REST
This is the only branch we're updating since middle of 2020 and it supports 12.x and upwards (maybe even 11.6).
Download: https://loadbalancing.se/downloads/bigipreport-v5.5.4.zip
Documentation, installation instructions and troubleshooting: https://loadbalancing.se/bigipreport-rest/
Docker support
This will be the recommended way of running bigipreport in the near future. It's still undergoing testing but it's looking really good so far.
https://loadbalancing.se/2021/01/05/running-bigipreport-on-docker/
BigipReport (Legacy)
Older version of the report that only runs on Windows and is depending on a Powershell plugin originally written by Joe Pruitt (F5).
BigipReport (Stable):
https://loadbalancing.se/downloads/bigipreport-5.3.1.zip
BigipReport (BETA): https://loadbalancing.se/downloads/bigipreport-5.4.0-beta.zip
iControl Snapin: https://loadbalancing.se/downloads/f5-icontrol.zip
Documentation and installation instructions:
https://loadbalancing.se/bigip-report/
Upgrade instructions
Protect the report using APM and active directory
Written by DevCentral member Shann_P:
https://loadbalancing.se/2018/04/08/protecting-bigip-report-behind-an-apm-by-shannon-poole/
Got issues/problems/feedback?
Still have issues? Drop a comment below. We usually reply quite fast. Any bugs found, issues detected or ideas contributed makes the report better for everyone, so it's always appreciated.
---
Also trying out a Discord channel now. You're welcome to hang out with us there:
Code :
85931,86647,90730
Tested this on version:
13.0
- PhilShannon_334Nimbostratus
Adding JSON to mime types fixes it for chrome (not IE but who cares lol) Found the info here, about adding it to IIS mime settings https://stackoverflow.com/questions/15944311/error-404-3-not-found-for-json-file
Nice! That was actually suggested a few comments back. :)
So the report works now? I have a feeling that this could be due to an old IIS version.
I will update the installation guide.
- PhilShannon_334Nimbostratus
"Define a wildcard "MIME Type" within the roaming user profile directory of the IIS server" actually the link I posted tells you to go into IIS Manager and add the MIME type there, which works. Yes this is all set now, the report has everything that was missing previously. For the record, the version of IIS running in the Windows 7 vm is 7.5.7600.16385 I'll try to learn if there is a newer version of IIS that works for Win 7 or not. thanks for all the help to get these features working, I was one of the people that asked for export to CSV
- PhilShannon_334Nimbostratus
Doesn't seem to be a newer version of 7.5 for Windows 7. This IIS version has numerous vulnerabilities as well. What OS/IIS combo are you using Patrik? I wonder if I should switch over to Server 2012 with latest IIS 8, thinking it's probably a good idea
Thank you for your feedback Phil! Since introducing json to the report I've only used:
- Windows 2012
- Windows 2016
- Windows 8
- Windows 10
I guess that makes IIS 8 and above?
/Patrik
- PhilShannon_334Nimbostratus
Yeah I built a new Windows 7 vm because that's what I've been running this on, my old win 7 vm and I wanted to troubleshoot in the same enviro. I already disabled IIS 7.5 on my original old school WIn 7 vm, and will now build a small Server 2016 vm for this. Thank you for being so quick with suggestions and next steps. Happy New Year
- Cinder_317147Nimbostratus
Hello Patrik, I've enjoyed using your report generator. Thank you for the hard work. I've run into an issue when opening the html file in Chrome - "There were errors when loading the object json files". I've validated the json files do indeed have data. I've also tried opening the html in IE, I don't get the error about the json files but none of the links to see virtual server details work. I've interrogated the ltms several times and don't see any issues in the logs.
Any ideas? Win7x64\Chrome-v63.0.3239.84\IE-v11.0.9600
Hi Cinder
Look at PhilShannons comments just above yours. He most likely just went through the same issue. :)
I've added some instructions here:
https://loadbalancing.se/bigip-report/The_script_reports_missing_JSON_files
If you were running recent versions of BigIP Report it used to be broken without you knowing it so you might get a pleasant surprise after fixing this. :)
Meanwhile, I will update the report to suggest this solution in the error message.
Happy new year!
/Patrik
Version 4.7.5
Improving the error message when failing to load the json files.
/Patrik
- Cinder_317147Nimbostratus
Thanks Patrik, I got it all working. How frequently do you run the script to interrogate all of your ltm's? Have you run into any issues on a an ltm with regards to resources while running the script too often?