3.2.18. telegraf

Note

requires a Product License.

Telegraf configuration.

vsr running config# vrf <vrf> kpi telegraf

enabled (pushed)

Enable or disable telegraf.

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

interval

Default data collection interval in seconds.

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

influxdb-output

Configure an InfluxDB v1.x server.

vsr running config# vrf <vrf> kpi telegraf
vsr running telegraf# influxdb-output url <influxdb-output> database <string> \
... username <string> password <string> insecure-skip-verify

<influxdb-output> values

Description

<udp-url>

An UDP URL.

<http-url>

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

influxdbv2-output

Configure an InfluxDB v2 server.

vsr running config# vrf <vrf> kpi telegraf
vsr running telegraf# influxdbv2-output url <influxdbv2-output> token <string> \
... organization <string> bucket <string> insecure-skip-verify

<influxdbv2-output> values

Description

<udp-url>

An UDP URL.

<http-url>

An HTTP(S) URL.

token (mandatory)

The InfluxDB v2 token. See https://docs.influxdata.com/influxdb/v2.0/security/tokens/view-tokens.

token <string>

organization (mandatory)

The name of the organization that owns the target bucket.

organization <string>

bucket (mandatory)

The name of the bucket to write data to.

bucket <string>

insecure-skip-verify

Use SSL but skip chain and host verification.

insecure-skip-verify

kafka-output

Configure a Kafka server.

vsr running config# vrf <vrf> kpi telegraf
vsr running telegraf# kafka-output broker <kafka-output> topic <string>

<kafka-output>

A host port tuple.

topic

The Kafka topic.

topic <string>
Default value
telegraf