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
- Mike_Perez_6161
Nimbostratus
Hi Patrik,
Thanks for giving this a look. Using v5.0.9. I have manipulated it just a bit. My changes do not affect this issue as was seeing the same in v5.0.4 without these. One to replace Compression Profile with HTTP Profile and also created unique ClientSSL and ServerSSL to populate correctly in the details. It was previously using sslprofile to populate both ClientSSL and ServerSSL within the Virtual Server details pop up screen.
Changed to this and other relevant objects within the script. public string clientsslprofile; public string serversslprofile;
Let me know if you want to see the .ps1 I am using.
Hi!
Just out of curiosity. Do you get the same issue if you run the original script? It does not look like what you modified would trigger this behaviour.
Is the device names identical too?
/Patrik
- Mike_Perez_6161
Nimbostratus
Hi Patrik,
Yes just verified, Reran with original (not modified) files, Both my modified and (new) reran original seem to be grouping different sets of similar configs each time I rerun their scripts. This time, one that is being given the same is ID of 2 but different pool ID
2 class="poolname" id=Pool1>
2 class="poolname" id=Pool50>
Load Balancers, VIP and node members IPs are different
Thanks Mike. And the device names? Same or different?
/Patrik
- Mike_Perez_6161
Nimbostratus
Devices are different
na11-d-sec-ltm01 na12-d-sec-ltm01
- Mike_Perez_6161
Nimbostratus
Example of one that was originally broken in the above screenshot is now working after rerunning the script.
BenefitYYYY.domain.com
However you can see a broken one that is using the same vsid but a different Pool id
CchmcYYYY.domain.com
That part is by design though. The VS-id is used to identify pools belonging to the same VS.
Do you get any javascript errors in the browser console?
/Patrik
- Mike_Perez_6161
Nimbostratus
So the vs-id is also unique to the load balancer? meaning it is a coincidence that they both have an ID of 2? No Javascript errors that I can find in the browser. Is there a good place to find a triggered error?
- esloan
Nimbostratus
I'm wondering if there is a way to get a layer 7 or layer 4 indication on the report?
I see in the icontrol wsdl there is a get_type just don't know if that is the same as the type for standard layer 7 vs layer 4.
Thanks for all your work Patrik
E.
- Mike_Perez_6161
Nimbostratus
E,
mentioned above to Patrick I was able to modify the report to replace the Compression Profile (not used in our environment) to pull HTTP Profile data which is the indicator between a Layer 4 and Layer 7 VS. I modified it in this manner to not effect the existing layout of the columns and tables.
Patrik,
If you are ok with it, I can pass along to E where I made those changes. Or you would like me to shoot them over to you, so you can vet and make sure I am not violating any coding structure of yours before releasing.
Compression Profile column replaced with HTTP Profile column
VS details replaced with HTTP Profile row
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)