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
Thank you for your feedback! I'll add it to the feature list and see if I can think of a good way to realize it. I assume you'd prefer to have it in the actual table rather than in the object details?
Object details is faster and could be done soon. As for the table I would need to find a "pretty" way to do it.
/Patrik
- CirrusCirrus
I think it would be the best to add such a feature in the details page from the VS/Pool, otherwise the complete table will be overloaded.
Cheers, Christoph
Version 4.6.6
Added virtual server and pool member statistics in the object details div.
No update of the configuration file is needed.
Christoph, please note that I have not had an opportunity to test this one fully yet. Feedback appreciated. :)
/Patrik
- CirrusCirrus
Wow thank you for your fast response. Unfortunetly I'm getting a lot of errors after executing the script. Tested it on two different devices running BigIP Version 12.1.2.
Here is one example:
Cannot index into a null array. At C:\_dev\_F5\BigipReport-4.6.6-beta\bigipreport-4.6.6.ps1:1357 char:101 + ... h $($VipStatistics[8].value.high) -Low $($VipStatistics[8].value.low) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : NullArray The property 'currentconnections' cannot be found on this object. Verify that the property exists and can be set. At C:\_dev\_F5\BigipReport-4.6.6-beta\bigipreport-4.6.6.ps1:1357 char:101 + ... h $($VipStatistics[8].value.high) -Low $($VipStatistics[8].value.low) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : PropertyAssignmentException
Did you start a new powershell window before executing it? If trying both the old, and new version within the same PS Session it will fail because types can't be declared twice in the same session.
/Patrik
Version 4.6.6
Made a small CSS fix to avoid member name wrapping in the pool details table.
No config file update needed.
/Patrik
- CirrusCirrus
Patrik, i just tested today with a fresh powershell window. Now everything was working. A little bit strange because yesterday i also used a complete new instance.
Anyway, the main thing is that it's working. Thank you very much for your help
Great stuff, thank you for reporting back!
/Patrik
- PhilShannon_334Nimbostratus
I just followed your instructions (ver 4.5), everything seems to work ok. Except I can't view the report all I see are 4 circles spinning
- PhilShannon_334Nimbostratus
I fixed this by changing line 1263 of bigipreport.js to
function showPoolDetails(pool, loadbalancer, layer){
originally this line was:
function showPoolDetails(pool, loadbalancer, layer = "first"){