4. Monitoring with Grafana

Here we will show how to export KPIs to a time-series database which can then be used with a graphical tool like Grafana. This assumes that InfluxDB and Grafana have been installed on 172.16.0.2 following this documentation.

vrouter> edit running
vrouter running config# / vrf main interface physical mgt
vrouter running physical mgt#! port pci-b0s6
vrouter running physical mgt# ipv4 address 172.16.0.1/24
vrouter running physical mgt# / system kpi enabled true
vrouter running physical mgt# / vrf main kpi
vrouter running kpi# telegraf influxdb-output url http://172.16.0.2:8086 database telegraf
vrouter running kpi# interface lan
vrouter running kpi# interface wan
vrouter running kpi# commit