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
- PhilShannon_334Nimbostratus
- PhilShannon_334Nimbostratus
when I click browse it takes me there:
Ok... I'm running out of ideas here without actually doing a remote session. What happens if you copy the files to another server and try there? Maybe run IIS on your client and try localhost?
I really don't think that the script is the problem here considering how you get 404's from your web server.
Almost 01am here so I need to hit the sack. :)
/Patrik
- PhilShannon_334Nimbostratus
Sure I'll try another computer, let's take a break and I will report back next week. Thank you for helping with this I'm sure you have much better things to do. Happy Holidays
No problem. Also check the hosts file to make sure that there are no entries there that could throw you off track. :)
Please report back with any findings? Always nice to solve a mystery.
Merry christmas!
/Patrik
Discussed this with a friend of mine and he had the idea that you could create ie. a text file at the root at attempt to access it. Then create it in the json folder and try to access it.
Also double check the file and folder permissions.
/Patrik
Problem: One more thing:
When attempting to open a file from a web server running IIS 6.0 or later, and the file has an extension that is not a defined "MIME Type", the following error message will be displayed:
HTTP Error 404 – File or Directory not found
Solution:
Define a wildcard "MIME Type" within the roaming user profile directory of the IIS server. In order to define the wildcard "MIME Type", please follow the steps listed below:
Version 4.7.3
Only quality improvements in this one.
Better pre-execution checks
- The script now will check if the report root directory contains the js, css, images and json folders.
- Script will also verify that the folders has content.
Better report error handling
- The report will show an error message if any of the json files does not exist.
- Each failure is recorded and links to the failed objects is provided.
Merry christmas!
/Patrik
- PhilShannon_334Nimbostratus
I setup another vm, brand new vm running windows 7. Tried version 4.7.3 but it fails with this error:
PS C:\Users\Administrator\Documents\BigIpReport> .\bigipreport-4.7.3.ps1You must provide a value expression on the right-hand side of the '-' operator.At C:\Users\Administrator\Documents\BigIpReport\bigipreport-4.7.3.ps1:1871 char:57+ $ruleScope = $Global:irules | Where-Object { $_.name - <<<< in $Bigipreportconfig.Settings.iRules.iRule.iRuleName -and $_.loadbalancer -in $Bigipreportconfig.Settings.iRules.iRule.loadbalancer } + CategoryInfo : ParserError: (:) [], ParseException + FullyQualifiedErrorId : ExpectedValueExpression
I tried the same files on my current system, script runs, I get the results, but same issue. I'm not seeing the export and other options at the top
- PhilShannon_334Nimbostratus
Next thing I tried: since the script won't run on the brand new vm, I copied the 4 directories over to the new vm, and also the default.html file. On the new VM I can view default.html but the same issue exists, the top options are missing including export to cvs. This is a default IIS 7 setup, I haven't edited any settings at all.