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
- Abed_AL-R
Cirrostratus
any information contained in the CSV .. like: virtual servers , ssl profiles .. instead of exporting CSV file each time manually , to do kind of email automatic report :)
I see. Personally I never fully understood the CSV feature request. This particular feature is a bit challenging to do. I'd need to configure different intervals for different purposes and script functionality would go from creating the HTML report to doing that AND an email report.
What you could though though is to create a powershell that parses the BigIPReport data and sends the email.
I'll give you an example soon.
/Patrik
If you schedule the example in this post you can do what you suggested before:
https://loadbalancing.se/2018/02/25/scheduled-bigipreport-csv-exports-via-mail/
You might need to tweak the mail settings according to your environment. :)
As always, if you like the report, please rate it here.
- pscyber_317839
Nimbostratus
Hi,
Running IIS6.0 and I have problem with json as I cas see. This is the error message i got :
There were errors when loading the object json files The following json files did not load: Failed object:./json/pools.json Status code: 0 Reason: error Failed object:./json/monitors.json Status code: 0 Reason: error Failed object:./json/virtualservers.json Status code: 0 Reason: error Failed object:./json/irules.json Status code: 0 Reason: error
I went through the kb section: The script reports missing JSON files .. but that did not resolve the issue
Hi!
So you created the web.config file with the content specified in the guide? Try the solutions listed on this page?
https://stackoverflow.com/questions/332988/get-iis6-to-serve-json-files-inc-post-get
/Patrik
- pscyber_317839
Nimbostratus
another question please if i have many partitions, should i configure the vip in the common partition or it does not matter ?
Ask away, that's the purpose of this thread :)
It does not matter at all. I take it the json problem was solved? May I please know what the issue was so I can update my instructions?
/Patrik
- pscyber_317839
Nimbostratus
regarding the json.. it is weird because from the webser it self i got the error .. but if i surf to the server url from another server in the network it is working fine without errors it is not that much matter to me because i prefer to surf to url from another server and not from the webser itself . regarding the virtual server it still showing polling failed and in 12.1.3 the version showing twice as you can see (maybe problem with my configuration-not sure)
Could be the browser version or the cache. But since that problem is out of the way, let's focus on your polling issue.
- What does the developer tools say? There's a troubleshooting section for that in the installation guide here here.
- What does the report log say?
In short the troubleshooting section can be summarized as:
- A timeout means that the client can't reach the polling endpoint. Possible root cause: Firewall or routing
- Mixing an HTTPS BigipReport application with HTTP endpoints won't be accepted by your browser.
- The endpoint could be incorrectly configured.
Just to be clear. It's important that you understand that the polling is done from the client viewing the report and not from the server executing the Powershell script (unless it's browsing itself).
/Patrik
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)