BIG-IP Report
Problem this snippet solves:
Overview
This is a script which will generate a report of the BIG-IP 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 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 auditor (read-only) permissions on your devices.
Demo/Preview
Interactive demo
http://loadbalancing.se/bigipreportdemo/
Screen shots
The main report:
The device overview:
Certificate details:
How to use this snippet:
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).
- Downloads:
https://loadbalancing.se/downloads/bigipreport-v5.7.13.zip - Documentation, installation instructions and troubleshooting: https://loadbalancing.se/bigipreport-rest/
Docker support
https://loadbalancing.se/2021/01/05/running-bigipreport-on-docker/
Kubernetes support
https://loadbalancing.se/2021/04/16/bigipreport-on-kubernetes/
BIG-IP Report (Legacy)
Older version of the report that only runs on Windows and is depending on a Powershell plugin originally written by Joe Pruitt (F5)
BIG-IP Report (only download this if you have v10 devices):
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.
---
Join us on Discord: https://discord.gg/7JJvPMYahA
Code :
BigIP Report
Tested this on version:
12, 13, 14, 15, 16
Duplicate comment. Read below. 🙂
- BenTAltocumulus
I've been running on Ubuntu 20.04, and recently powershell was updated to 7.3.0 and bigipreport stopped working. I downgraded to 7.2.7 and it is back to working. With powershell at 7.3.0 the following error was given, "The application to execute does not exist: '/var/www/html/BigIPReport/pwsh.dll'."
Not sure if this is a powershell issue or if something in the bigipreport code needs updating, just passing it on.
Hey there
Not sure if people subscribe to this thread anymore. Feels like we lost most subscribers after the first update to DC. Still get plenty of downloads though so in case someone is listening:
Been updating the Docker base images in October to patch some security holes. Be sure to pull the new ones from DockerHub. 🙂
I've been looking at making a PoC of a new frontend in React and I was wondering if there are any features that you feel is missing from BigIPReport? If it's frontend related I might just add it in the next revision.
Kind regards,
PatrikHi Robert
Following up on your question. I updated to 16.1.2 and the report runs fine. I'm afraid I need more information in order to help you further.
Kind regards,
PatrikHey Robert
Have a look at the logs tab and look for errors. Try restarting the restjavad service on the F5s.
Meanwhile I'll upgrade my lab to 16.1.2 and will try myself.Kind regards,
Patrik- MrRobertBoothNimbostratus
I've been using BigIP Report for more than a year now without issues, recently we upgraded our F5s from 15 to 16.1.2 and ever since all pools have no members. The related json for pools has all of the members at Null despite them being there. Running v5.6.8 but have also tried some other versions to get the pool members back and have been unsuccessful. Any thoughts?
"members": null,
Hey Bryan
Please check if the files are marked as read-only or if the report user does not have write permissions. You can also try to delete them manually, although it should not be needed with the "-force" flag set.Kind regards,
PatrikAny ideas?
2022-07-26 10:33:30 Writing C:/bigip/wwwroot/json/preferences.json.tmp
2022-07-26 10:33:30 Wrote temporary files
2022-07-26 10:33:35 Updating C:/bigip/wwwroot/json/asmpolicies.json
Move-Item: C:\Users\admin\Downloads\bigipreport-v5.6.5\bigipreport-v5.6.5.ps1:2466
Line |
2466 | Move-Item -Force ($path + ".tmp") $path
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot create a file when that file already exists.PS C:\Users\admin\Downloads\bigipreport-v5.6.5>
Please validate that you're running the script with the role Auditor?
kind regards
Patrik
- EmadCirrostratus
Patrik_Jonsson I am Getting the following issue
- SSL Certificated are not being indexed/listed
Error:
2022-06-27 08:27:37 199.96.216.196:Caching certificates 2022-06-27 08:27:39 199.96.216.196:Error loading certificates. {"code":400,"message":"\"recursive\" unexpected argument","errorStack":[],"apiError":26214401} (line 1133)