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
If you want to try without the disabled cache you can try to replace ./js/bigipreport.js with this file.
https://pastebin.com/raw/h42rdU1z
/Patrik
- PhilShannon_334Nimbostratus
when I try to go to that url: 404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
I don't really see how that's the the issues though. The query string should just be ignored by the web server when serving these files.
/Patrik
Ok, then I was right. The files are missing. Simple as that.
Could you please do what Munawar did above?
- Start up a command prompt and go to the web root of your IIS server. Default is C:\inetpub\wwwroot (to enter that directory, issue the command "cd C:\inetpub\wwwroot").
- When you're in that directory, issue this command "dir /s".
- Paste the output here.
/Patrik
- PhilShannon_334Nimbostratus
But the files aren't actually missing, they are right where they should be : c:\inetpub\wwwroot>dir /s Volume in drive C has no label. Volume Serial Number is 24D9-8247
Directory of c:\inetpub\wwwroot
12/22/2017 11:19 AM
. 12/22/2017 11:19 AM .. 02/21/2014 09:46 AM aspnet_client 12/21/2017 08:52 AM css 12/22/2017 11:19 AM 142,356 default.html 12/19/2013 07:14 PM 689 iisstart.htm 12/21/2017 08:52 AM images 12/21/2017 08:52 AM js 12/22/2017 11:19 AM json 12/19/2013 07:14 PM 184,946 welcome.png 3 File(s) 327,991 bytesDirectory of c:\inetpub\wwwroot\aspnet_client
02/21/2014 09:46 AM
. 02/21/2014 09:46 AM .. 02/21/2014 09:46 AM system_web 0 File(s) 0 bytesDirectory of c:\inetpub\wwwroot\aspnet_client\system_web
02/21/2014 09:46 AM
. 02/21/2014 09:46 AM .. 02/21/2014 09:46 AM 4_0_30319 0 File(s) 0 bytesDirectory of c:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319
02/21/2014 09:46 AM
. 02/21/2014 09:46 AM .. 0 File(s) 0 bytesDirectory of c:\inetpub\wwwroot\css
12/21/2017 08:52 AM
. 12/21/2017 08:52 AM .. 12/21/2017 08:51 AM 29,396 bigipreportstyle.css 12/21/2017 08:51 AM 15,985 jquery.dataTables.css 12/21/2017 08:51 AM 10,251 pace.css 12/21/2017 08:51 AM 3,065 sh_style.css 4 File(s) 58,697 bytesDirectory of c:\inetpub\wwwroot\images
12/21/2017 08:52 AM
. 12/21/2017 08:52 AM .. 12/21/2017 08:51 AM 18,516 bigipreportlogo.png 12/21/2017 08:51 AM 15,932 black-circle-checkmark.png 12/21/2017 08:51 AM 19,055 black-diamond-exclamationmark.png 12/21/2017 08:51 AM 18,004 blue-square-questionmark.png 12/21/2017 08:51 AM 249 chevron-down.png 12/21/2017 08:51 AM 259 chevron-up.png 12/21/2017 08:51 AM 538 chosen-sprite.png 12/21/2017 08:51 AM 15,748 details.png 12/21/2017 08:51 AM 19,003 f5logo.png 12/21/2017 08:51 AM 1,150 favicon.ico 12/21/2017 08:51 AM 434 filter.png 12/21/2017 08:51 AM 15,882 green-circle-checkmark.png 12/21/2017 08:51 AM 35,166 Preloader_11.gif 12/21/2017 08:51 AM 15,896 red-circle-cross.png 12/21/2017 08:51 AM 19,148 red-diamond-exclamationmark.png 12/21/2017 08:51 AM 1,526 share.png 12/21/2017 08:51 AM 160 sort_asc.png 12/21/2017 08:51 AM 201 sort_both.png 12/21/2017 08:51 AM 158 sort_desc.png 19 File(s) 197,025 bytesDirectory of c:\inetpub\wwwroot\js
12/21/2017 08:52 AM
. 12/21/2017 08:52 AM .. 12/21/2017 11:26 AM 57,105 bigipreport.js 12/21/2017 08:51 AM 80,041 jquery.dataTables.min.js 12/21/2017 08:51 AM 4,091 jquery.highlight.js 12/21/2017 08:51 AM 85,634 jquery.min.js 12/21/2017 08:51 AM 52,757 modernizr.js 12/21/2017 08:51 AM 12,364 pace.js 12/21/2017 08:51 AM 15,433 sh_main.js 12/21/2017 08:51 AM 1,763 sh_tcl.js 8 File(s) 309,188 bytesDirectory of c:\inetpub\wwwroot\json
12/22/2017 11:19 AM
. 12/22/2017 11:19 AM .. 12/22/2017 11:19 AM 841 datagrouplists.json 12/21/2017 08:51 AM 342 defaultpreferences.json 12/22/2017 11:19 AM 107,117 irules.json 12/22/2017 11:19 AM 17,550 monitors.json 12/22/2017 11:19 AM 23,867 pools.json 12/22/2017 11:19 AM 35,868 virtualservers.json 6 File(s) 185,585 bytesTotal Files Listed: 40 File(s) 1,078,486 bytes 23 Dir(s) 28,083,527,680 bytes free
c:\inetpub\wwwroot
- PhilShannon_334Nimbostratus
this is frustrating, can't even paste the results in here in a veiwable way. Maybe we just drop this whole thing, export to CSV isn't THAT important. I wish we could just drop the files into wwwroot as instructed, and everythign works.
- PhilShannon_334Nimbostratus
results on pastebin anyway, at least they are viewable there https://pastebin.com/Gmzh4Kb4
Yep, they are there indeed. But somehow your IIS server reports them as missing when you browse to them which to me indicates that the directory you listed just now might not be the directory where the IIS is fetching files from.
Have a look at the site bindings in IIS?
Please note that I only have one site. You might have more than one?
/Patrik
You can also double check the folder content according to IIS by opening up the manager, navigating to the json folder and clicking browse in the top right corner:
/Patrik
Let's not give up too easily. Mysteries are to be solved. ;)
/Patrik