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 2001:db8:300::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# ipv6 address 2001:db8:300::1/96
vrouter running physical mgt# / vrf main kpi telegraf
vrouter running telegraf# enabled true
vrouter running telegraf# influxdb-output url http://[2001:db8:300::2]:8086 database telegraf
vrouter running telegraf# metrics monitored-interface name lan vrf main
vrouter running telegraf# metrics monitored-interface name wan vrf main
vrouter running telegraf# commit