-
Notifications
You must be signed in to change notification settings - Fork 3
/
telegraf.conf
35 lines (30 loc) · 1.21 KB
/
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
############################################## ceos1 #############################################
[[inputs.gnmi]]
## Address and port of the GNMI GRPC server
addresses = ["podman-host:6031"] ## Container Switch
name_override = "ceos1"
## credentials
username = "ansible"
password = "ansible"
[[inputs.gnmi.subscription]]
## Name of the measurement that will be emitted
name = "bgp_neighbor_state_ceos1"
origin = "openconfig"
path = "/network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/state/session-state"
subscription_mode = "on_change"
sample_interval = "1s"
############################################## CISCO 8000V #############################################
[[inputs.cisco_telemetry_mdt]]
# ## Telemetry transport can be "tcp" or "grpc". TLS is only supported when
# ## using the grpc transport.
transport = "grpc"
#
# ## Address and port to host telemetry listener
service_address = ":57000"
############################################## OUTPUTS ####################################################
[outputs.kafka]
# URLs of kafka brokers
brokers = ["broker:9092"] # EDIT THIS LINE
# Kafka topic for producer messages
topic = "network"
data_format = "json"