3.2.13. telegraf

Telegraf configuration. Should be put in ‘main’ vrf.

vrouter running config# vrf <vrf> kpi telegraf

enabled

Enable or disable telegraf.

vrouter running config# vrf <vrf> kpi telegraf
vrouter running telegraf# enabled true|false
Default value
true

interval

Default data collection interval in seconds.

vrouter running config# vrf <vrf> kpi telegraf
vrouter running telegraf# interval <uint16>
Default value
10

influxdb-output

Configure an InfluxDB server.

vrouter running config# vrf <vrf> kpi telegraf
vrouter running telegraf# influxdb-output url <influxdb-output> database <string> \
... username <string> password <string> insecure-skip-verify
<influxdb-output> values Description
<udp://host[:port]> An UDP URL.
<http[s]://host[:port]> An HTTP(S) URL.

database (mandatory)

The target database for metrics (telegraf will create it if not exists).

database <string>

username

The username to connect to InfluxDB.

username <string>

password

The password to connect to InfluxDB.

password <string>

insecure-skip-verify

Use SSL but skip chain and host verification.

insecure-skip-verify

url (state only)

The full HTTP or UDP URL for your InfluxDB instance. Usually http://X.X.X.X:8086.

vrouter> show state vrf <vrf> kpi telegraf influxdb-output url <influxdb-output> url