Brief
In this reference we will describe details about traffic visualization solution based on Grafana technology. It can expose total bandwidth, per host bandwidth, per network bandwidth and arbitrary traffic reports from traffic persistency database (peering reports, per prefix reports).
System requirements
First of all, you should have working instance of FastNetMon.
Install steps
For installing graphic stack we use special flag from FastNetMon’s installer.
wget https://install.fastnetmon.com/installer -Oinstaller sudo chmod +x installer sudo ./installer -install_graphic_stack
Please carefully read output of installer tool and remember passwords for Grafana. During installation Grafana, InfluxDB and Clickhouse will be installed, configured and integrated with FastNetMon.
To access Grafana you use HTTP connection to port 81 or HTTPS connection to port 443 (Debian / Ubuntu only).
By default FastNetMon uses self-signed SSL certificate available in your system. You may switch to your own SSL certificates by changing following fields in file /etc/nginx/sites-enabled/grafana.conf:
ssl_certificate /etc/ssl/certs/ssl-cert-snakeoil.pem; ssl_certificate_key /etc/ssl/private/ssl-cert-snakeoil.key;
After that you will need to restart Nginx to apply changes:
sudo systemctl restart nginx
You can reset password for any user or add new user with unique password using following procedure:
wget https://install.fastnetmon.com/installer -Oinstaller sudo chmod +x installer sudo ./installer -reset_visual_passwords -visual_login admin
You may check detailed guide for manual configuration of InfluxDB and another guide about using Clickhouse for metrics.
After this setting, you could see data on your graphics. Below you could find few example dashboards with test data.




Also, we suggest using this guide and setup DDoS alerts in Grafana.
You may find more dashboards here: ClickHouse as metrics storage.