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
- TimRiker
Cirrocumulus
Another new release.
https://github.com/timriker/BigIPReport/raw/master/Releases/BigIPReport-5.1.3.zip
Fix:
- bad datagroups.json with only one loadbalancer
- utf8 log file truncation
Other Changes:
- prefer / over \ in path names (in hopes of future platform portability)
- datatables layout tweaks
- remove some unused code
- TimRiker
Cirrocumulus
In my current fork I've upgraded JQuery and DataTables, and I'm now exporting and displaying pool status as well as virtual server and pool member status. Edit and details links are available in more places.
If you don't have edit links enabled, they still show in some of the detail views. I've not gotten around to fixing that.
How many folks are testing my new versions? Are you seeing a significant speed increase?
- Chris_FP
Cirrus
The report isn't displaying correctly when I go to view it - I've checked things and they appear to be setup correctly but I am guessing I've missed something but not sure what.
- TimRiker
Cirrocumulus
Chris_FP:
What version are you trying? Is this a new install? Perhaps you didn't copy over the css, images, js, json directories over wherever you are writing the report? It looks like the javascript is not working. What browser are you using? I've not tested my changes with anything other than Chrome, but I would expect current browsers would work.
- Chris_FP
Cirrus
Version 5.1.3 and it was a new install.
The css/images/js and json were all copied and I've checked the directories again.
Tried it on Chrome / FF and IE
PS C:\Users\chris\Downloads\bigipreport> .\bigipreport-5.1.3.ps1 Successfully loaded the config file: C:\Users\chris\Downloads\bigipreport\bigipreportconfig.xml 2018-05-05 10:21:00 Configuring the console window 2018-05-05 10:21:00 Pre-execution checks 2018-05-05 10:21:00 Loaded F5 iControl snapin 2018-05-05 10:21:00 Pre execution checks was successful 2018-05-05 10:21:00 Enabling TLS1.2 2018-05-05 10:21:00 Getting data from 1.2.3.4 2018-05-05 10:21:00 iControl session successfully established 2018-05-05 10:21:00 Getting hostname 2018-05-05 10:21:01 Hostname is xxxxxx-Demo-ha-1.local 2018-05-05 10:21:01 Fetching information about the device 2018-05-05 10:21:02 Caching LTM information from xxxxxx-Demo-ha-1.local 2018-05-05 10:21:02 Version 12 or higher detected together with the ASM module. Getting authentication token for the REST API to be able to fetch ASM information 2018-05-05 10:21:03 Getting ASM Policy information 2018-05-05 10:21:03 Caching certificates 2018-05-05 10:21:04 Caching monitors 2018-05-05 10:21:04 Caching data group lists 2018-05-05 10:21:05 Caching Pools 2018-05-05 10:21:06 Caching iRules 2018-05-05 10:21:07 Caching Virtual servers 2018-05-05 10:21:09 Detecting orphaned pools 2018-05-05 10:21:09 Verifying load balancer data to make sure that no load balancer is missing 2018-05-05 10:21:09 No missing loadbalancer data was detected, compiling the report 2018-05-05 10:21:09 Writing temporary report file to C:\inetpub\wwwroot\index.html.tmp 2018-05-05 10:21:09 Writing temporary file C:\inetpub\wwwroot\json/pools.json.tmp 2018-05-05 10:21:09 Writing temporary file C:\inetpub\wwwroot\json/monitors.json.tmp 2018-05-05 10:21:09 Writing temporary file C:\inetpub\wwwroot\json/loadbalancers.json.tmp 2018-05-05 10:21:09 Writing temporary file C:\inetpub\wwwroot\json/virtualservers.json.tmp 2018-05-05 10:21:09 Writing temporary file C:\inetpub\wwwroot\json/certificates.json.tmp 2018-05-05 10:21:09 Writing temporary file C:\inetpub\wwwroot\json/devicegroups.json.tmp 2018-05-05 10:21:09 Writing temporary file C:\inetpub\wwwroot\json/loggederrors.json.tmp 2018-05-05 10:21:09 Writing temporary file C:\inetpub\wwwroot\json/asmpolicies.json.tmp 2018-05-05 10:21:09 Writing temporary file C:\inetpub\wwwroot\json/nat.json.tmp 2018-05-05 10:21:09 Writing temporary file C:\inetpub\wwwroot\json/irules.json.tmp 2018-05-05 10:21:09 Writing temporary file C:\inetpub\wwwroot\json/datagrouplists.json.tmp 2018-05-05 10:21:09 Successfully wrote the temporary files 2018-05-05 10:21:19 Updating the report with the new data 2018-05-05 10:21:19 The report has been successfully been updated PS C:\Users\chris\Downloads\bigipreport>
- TimRiker
Cirrocumulus
can you load the js files? Do you see any errors on the console? For example, can you load:
if you are loading files locally without using a web server, at least under Chrome, you will need tell it that loading local resources by passing chrome the option:
--allow-file-access-from-files - Mike_Perez_6161
Nimbostratus
Tim, do you have a new release with all your recent changes? I should be able to setup and test in the next couple of days.
- TimRiker
Cirrocumulus
I'll package up a release for testing. My fork moves the console tabs to the main page and adds all iRules to the iRules table. I've also added more edit links.
- SL
Cirrus
Hi All
Not sure if this was noted before, is it possible to reference more than one configuration file?
- Mike_Perez_6161
Nimbostratus
SL,
Yes. You can have multiple versions. I point them at different /paths for testing purposes and also different environments. For instance, 5.0.9 is deployed at the root of the site and /test has 5.1.1 deployed to it.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)