4. Monitoring¶
For remote monitoring, the vRouter supports:
SNMP
Exporting KPIs to a time-series database for viewing system counters (CPU usage, IP statistics and many more). These are displayable via a graphical dashboard (for instance Grafana) for a very convenient remote view of the router health & status.
sFlow for statistical sampling on selected interfaces
4.1. SNMP¶
The following example shows a minimal SNMP setup:
border1> edit running
border1 running config# / vrf main snmp
border1 running snmp# static-info contact "noc@6wind.com"
border1 running snmp# static-info location "paris"
border1 running snmp# community local authorization read-only
border1 running snmp# community local source 127.0.0.1
border1 running snmp# community ems authorization read-only
border1 running snmp# community ems source 172.16.100.254
border1 running snmp# /
border1 running vrf main# commit
4.2. KPIs and dashboard¶
Here we will show how to export KPIs to a time-series database which can then be used with a graphical tool like Grafana.
border1> edit running
border1 running config# system kpi enabled true
border1 running config# vrf main kpi
border1 running kpi# interface ntfp1
border1 running kpi# interface ntfp2
border1 running kpi# interface ntfp3
border1 running kpi# telegraf influxdb-output url http://172.16.100.254:8086 database telegraf
border1 running kpi# /
border1 running config# commit
See also