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
Could you please elaborate what is wrong with the ssl information?
As for version 10, sorry but I am unable to support that as we don't have any available for testing.
/Patrik
- Maneesh_72711Cirrostratus
In the SSL section it says NO SSL though there is a client and Server SSL profile both enabled on the VIP.
- Maneesh_72711Cirrostratus
Ok, that's not how it's supposed to be at all. Could you please paste the virtual server config section in a PM to me so I can try to re-produce it?
/Patrik
I believe that I have managed to re-produce the bug. Will investigate and issue an update as soon as I can.
Thanks for reporting!
/Patrik
Might have been false alarm actually. Upon checking closer I got the right information on my vips.
The script currently only checks for client profiles, so if it was only a server side profile assigned it would show the ssl profile for that vip as "No". But in your case you say you have both client and server assigned.
Have you tried running the script manually? Is there any errors?
/Patrik
- Maneesh_72711Cirrostratus
Cannot index into a null array. At C:\inetpub\wwwroot\testBigipreport-4.2.9 -.ps1:1003 char:4 + $virtualserverprofilelist[$i] | ForEach-Object { + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : NullArray
Cannot index into a null array. At C:\inetpub\wwwroot\testBigipreport-4.2.9 -.ps1:1011 char:4 + $virtualserverprofilelist[$i] | ForEach-Object { + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : NullArray
Cannot index into a null array. At C:\inetpub\wwwroot\testBigipreport-4.2.9 -.ps1:1059 char:5 + $objTempVirtualServer.sourcexlatetype = [string]$virtualserversourceaddresst ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : NullArray
Cannot index into a null array. At C:\inetpub\wwwroot\testBigipreport-4.2.9 -.ps1:1060 char:5 + $objTempVirtualServer.sourcexlatepool = [string]$virtualserversourceaddresss ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : NullArray
2017-01-09 06:19:49 Adding orphaned pools to the virtual server list 2017-01-09 06:19:49 Verifying load balancer data to make sure that no load balancer is missing 2017-01-09 06:19:49 No missing loadbalancer data was detected, compiling the report 2017-01-09 06:20:01 No iRule links to add to the dropdown 2017-01-09 06:20:01 No iRule definitions to add to the body 2017-01-09 06:20:01 Writing report temporary file to C:\inetpub\wwwroot\index.html.tmp 2017-01-09 06:20:01 Writing temporary pools json object to C:\inetpub\wwwroot\json\pools.json.tmp 2017-01-09 06:20:01 Writing temporary monitor json object to C:\inetpub\wwwroot\json\monitors.json.tmp 2017-01-09 06:20:01 Writing temporary virtual server json object to C:\inetpub\wwwroot\json\virtualservers.json.tmp 2017-01-09 06:20:01 Writing temporary irules json object to C:\inetpub\wwwroot\json\irules.json.tmp 2017-01-09 06:20:01 Writing temporary data group list json object to C:\inetpub\wwwroot\json\datagrouplists.json.tmp 2017-01-09 06:20:01 Successfully wrote the temporary files 2017-01-09 06:20:11 Updating the report with the new data 2017-01-09 06:20:11 The report has been successfully been updated 2017-01-09 06:20:11 There were errors while generating the report 2017-01-09 06:20:11 No error mail reporting enabled/configured
Ok, I have an idea. Writing a fix for you. Hopefully that will help.
/Patrik
Try 4.3.0 and see if you still get the errors?
/Patrik
- Maneesh_72711Cirrostratus
Thank you so much Patrick. If it shows SSL info that would be really helpful as we use SSL extensively and for both client and server side encryption.