Behavioral DDOS Grafana Dashboard using BIG-IP APIs
From the desk of Pavel Borovsky (March 15, 2017)
F5 L7 Behavioral DDOS feature provides with API's to monitor and debug the detection and mitigation process in real time. To provide an example on how to use the API we developed Grafana plugin that utilizes the API and shows real time data on the Dos attacks.
How to install the Dashboard on Grafana:
- Install Grafana 4.1
- Install the following panels:
- grafana-piechart-panel https://grafana.net/plugins/grafana-piechart-panel
- grafana-worldmap-panel https://grafana.net/plugins/grafana-worldmap-panel
- mtanda-histogram-panel https://grafana.net/plugins/mtanda-histogram-panel
- Install admdb plugin
- copy data\plugins\grafana-admdb-datasource
- copy public\dashboards*.json
- enable dashboards
- Configure the dashboard(see example defaults.ini attached)
- edit conf/defaults.ini
- modify these lines:
- [dashboards.json]
- enabled = true
- path = public/dashboards
- Enable admdb on big IP: tmsh modify sys db adm.cloud.host value local
- Add data source to Grafana using web interface as in the following screenshot:
Download the Grafana bados dahsboard here.
I got a couple people to look at this and the we came up with referencing some Grafana resources at this point.
https://grafana.com/docs/grafana/latest/plugins/installation/
In the .zip file attached to this page these locations are found in the Grafana_bados_dashboard directory:
- data/plugins/Grafana-admdb-datasource/
- public/dashboards/ (which contains 6 .json files)
- conf/defaults.ini
Not sure where to copy these to exactly, but the instructions for the grafana-piechart-panel (step 3) indicate the grafana default plugins directory is /var/lib/grafana/plugins. So maybe that will help with the ADMDB plugin you are looking for?
If this helps you get the answer or if it generates more clarifying questions - post back what you find out so we can help others who might have the same issues.
Cheers.
- MS_KNimbostratus
Dear Chase Abbott,
how to install admdb plugin ?
Could you please explain Steps 7 and 8 more clearly ?!
Thanks in advanced.