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).
First of all, you should have working instance of FastNetMon. Please note that your CPU should support SSE 4.2 instruction set for our time series database Clickhouse.
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 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
After this setting, you could see data on your graphics. Below you could find few example dashboards.