6WIND KPI monitoring provides the ability to monitor and export Turbo Router KPIs to an InfluxDB time-series database, which can then be integrated with an analytics frontend, such as Grafana. An example of InfluxDB/Grafana setup is described on 6WIND’s github.

Configuring KPIs requires to:

  • enable and configure the KPIs daemon to specify which KPIs to collect
  • enable and configure the Telegraf agent to export the specified KPIs to a remote InfluxDB database

To configure the KPIs daemon with everything it can collect, and the Telegraf agent to send data to the InfluxDB server located at, in the test database, do:

vrouter running config# vrf main kpi
vrouter running kpi/# telegraf
vrouter running telegraf/# influxdb-output url database test
vrouter running telegraf/# commit


In most cases, you will want to enable the KPIs in the main VRF, but it may be configured in any other VRF. In any case, KPIs cannot be enabled in more than one VRF.


To connect Telegraf to a secured InfluxDB instance (https URL) that is using a self-signed certificate, you must enable insecure-skip-verify.

To display the state:

vrouter running config# show state vrf main kpi
        interval 10
        enabled true
        influxdb-output url database test

The same configuration can be made using this NETCONF XML configuration:

vrouter running kpi# show config xml absolute
<config xmlns="urn:6wind:vrouter">
    <kpi xmlns="urn:6wind:vrouter/kpi">
      <telegraf xmlns="urn:6wind:vrouter/kpi/telegraf">
    <interface xmlns="urn:6wind:vrouter/interface"/>