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
974 Comments
- jba3126
Cirrostratus
Patrik, I tried several browsers and cleared cache. I need to pull a report, so I went back to a previous version of BigIP Report and things are working. I will reattempt 5.2.2 again. I saw a few comments above about versioning. Should I do a fresh download?
Hi Jeff
A few questions:
- Do you use the polling endpoints?
- How many F5's are you indexing?
- Can you see any errors in the browser javascript console?
I don't think you need to download it again.
/Patrik
- wkirk
Nimbostratus
Hi, any idea about this error?
Also, how can I view the report in the browser, sorry I'm new to this.
The variable '$Global:HTML' cannot be retrieved because it has not been set. At D:\*\bigipreport\script\bigipreport-5.0.9.ps1:2017 char:17 + $HTMLContent = $Global:HTML.ToString(); + ~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (Global:HTML:String) [], RuntimeException + FullyQualifiedErrorId : VariableIsUndefinedI am using xampp by the way, and here are the other result when I ran the script, I'm trying to view it from here:
2018-10-24 12:09:22 Writing temporary file D:\xampp\htdocs\bigipreport\json\pools.json.tmp 2018-10-24 12:09:22 Writing temporary file D:\xampp\htdocs\bigipreport\json\monitors.json.tmp 2018-10-24 12:09:22 Writing temporary file D:\xampp\htdocs\bigipreport\json\loadbalancers.json.tmp 2018-10-24 12:09:22 Writing temporary file D:\xampp\htdocs\bigipreport\json\virtualservers.json.tmp 2018-10-24 12:09:22 Writing temporary file D:\xampp\htdocs\bigipreport\json\certificates.json.tmp 2018-10-24 12:09:22 Writing temporary file D:\xampp\htdocs\bigipreport\json\devicegroups.json.tmp 2018-10-24 12:09:22 Writing temporary file D:\xampp\htdocs\bigipreport\json\loggederrors.json.tmp 2018-10-24 12:09:22 Writing temporary file D:\xampp\htdocs\bigipreport\json\irules.json.tmp 2018-10-24 12:09:22 Writing temporary file D:\xampp\htdocs\bigipreport\json\datagrouplists.json.tmp 2018-10-24 12:09:22 Successfully wrote the temporary files 2018-10-24 12:09:32 Updating the report with the new data 2018-10-24 12:09:32 The report has been successfully been updated 2018-10-24 12:09:32 There were errors while generating the report 2018-10-24 12:09:32 Sending report 2018-10-24 12:09:32 Pruning logfile - TimRiker
Cirrocumulus
wkirk,
Can you see any of the content?
Does this get a json file?
or perhaps without https?
This should work with xampp provided that the web server is running correctly.
- wkirk
Nimbostratus
Hi, yeah both and the shows the vsa's. But my which is in the same dir as the json dir is not showing anything, its just a blank page.
5.2.3 Bug fix for data group list rendering - By Tim
@wkirk If you want we can do a Skype session to troubleshoot?
- Abed_AL-R
Cirrostratus
Ö˛@Patrik I noticed something on the report. It is not showing all the Virtual Servers that has ASM policy enabled on them. When the ASM policy enabled this way , there is no problem and the bigip report is showing them: But when it is enabled this way it is not showing in the bigip report: At the second way you can configure the asm policy at the virtual server policies section:
Hi Abed
Thank you for the report, I will submit a feature request for this.
Kind regards, Patrik
- RossVermette
Nimbostratus
Hey Patrick/TimRiker, Just noticed that if the datagroup is of type "external file", the entries do not display in the report.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)