forked from andubiel/ansible_eda_network_multivendor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
telegraf.conf
39 lines (30 loc) · 905 Bytes
/
telegraf.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[inputs]
[[inputs.cisco_telemetry_mdt]]
# ## Telemetry transport can be "tcp" or "grpc". TLS is only supported when
# ## using the grpc transport.
transport = "grpc"
service_address = ":57000"
[[inputs.gnmi]]
## Address and port of the GNMI GRPC server
addresses = ["rtr4:6030"]
## credentials
username = "your_username"
password = "your_password"
## redial in case of failures after
redial = "30s"
[[inputs.gnmi.subscription]]
## Name of the measurement
name = "interface_state"
origin = "openconfig"
path = "interfaces/interface/state/oper-status"
subscription_mode = "sample"
sample_interval = "30s"
# OUTPUTS
[outputs]
[outputs.kafka]
# URLs of kafka brokers
brokers = ["ip-172-16-213-105.us-east-2.compute.internal:9092"]
# Kafka topic for producer messages
topic = "telegraf"
data_format = "json"
enable_tls = false