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
Hi!
Are you able to reach the device over port 443 (web interface?)? Please verify that the firewall is open?
/Patrik
- christiancruz88
Nimbostratus
yes, its ok but the behavior is the same
- Try logging into the device with the account as well?
-
Can you please check the result from this command on your f5 box?
tmsh list sys httpd ssl-ciphersuite
-
I assume TLS1.2 is enabled in the settings?
- Please add me on Skype? Contact details on https://loadbalancing.se/about
/Patrik
- TimRiker
Cirrocumulus
Announcing release 5.2.0 here:
I've been fixing some things here and there, and adding a few minor features. Wrapping it up for others to try. From the changelog:
- remove some unused code
- better pool/datagroup highlighting in iRules
- show virtual servers using iRules
- show fallback persistence profile
- fix processing of hash on refresh (keeps context on updates)
- handle pools created during report run
- force virtualservers to array
- show layer 4 vips (in SSL column)
- update sooner
The better highlighting was only working in Chrome initially. It's now works in IE and Firefox, though not as well. If you have two datagroups call dg_foo and dg_foo-external in IE and firefox you may incorrectly get the "dg_foo" portion highlighted as "-" counts as a wordbreak. Chrome regular expressions allow for negative lookahead and negative look behind from ES2018, but the others don't yet. If there are errors that break the display, please tell me what the rule looks like, what datagroups or pools it's trying to highlight and any console error messages. I think I have these taken care of. Just a word on the changes.
Nice Tim! \o/
- Mathieu_Cerfont
Nimbostratus
Hi Guys,
I don't know if it came with the version 5.2.0 but now the exported CSV file is not really user friendly ! I used to use this file to export the config for my customers ... Anyway to get a clean report of the config ? Such as : VIP, Pool, Pool Members, Persistence Profile, SSL Profile, etc ...
Thank !
- TimRiker
Cirrocumulus
There are now two options for CSV export. The CSV button on the right is exports the current search results. Any filters and such are applied to the download.
The "Export to CSV" button should include all rows and columns in the main virtual server view. I just tried that one again, and it's not exporting for me. I'm not sure why. It looks like it does generate the content.
Which one are you using? What are you seeing? What do you expect to see instead?
The CSV button on the right is pulling HTML markup that should not be there for column headings and such. I'll see if I can clean that up.
You might be able to get what you are after from the json. add /json/virtualservers.json to the end of your URL and see if that json fits your needs.
I added some cleanup, particularly to column headings on the CSV export button. I also cleaned up some field formatting for pool members and such. Opened a new pull request for Patrik. :)
- LAB
Nimbostratus
Hello Patrik and Tim,
We really like your script. One thing that would be very helpful for us is that the Description field would be a Toggle column in the Virtual server view. In that case our Team manager (me as well!)will be able to search for custom values. We are thinking about using the description-field as some kind of accounting-field.
Regards
Anders and Peter
- Mathieu_Cerfont
Nimbostratus
Hi Tim,
I have no "Export to CSV" button in the main virutal server view. Only the "CSV" button, which generate a CSV file totally unreadable for my customer ! Actually I just need the kind of file that this script used to generate in the past : a simple file with the VS configurations (filtered by the main filter) !. Just a summarizing of the main view in a CSV file !
- TimRiker
Cirrocumulus
Mathieu,
There is an option in the config file called ExportLink that needs to be enabled to see the "Export to CSV" option.
I made some changes to clean up the CSV export buttons. Pull request submitted to Patrik. You can try running the script from my github repo if you want to test it before it's released.
https://github.com/timriker/BigIPReport
LAB,
That's easy enough to add. My concern is that the table is already pretty full. The "Export to CSV" mentioned above does include the description, as does the
file. Do either of those meet your needs?json/virtualservers.json
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)