-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtelegraf.conf
77 lines (59 loc) · 1.71 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[[inputs.gnmi]]
## Address and port of the GNMI GRPC server
addresses = ["10.83.28.122:6030", "10.83.28.125:6030"]
## credentials
username = "arista"
password = "arista"
## redial in case of failures after
redial = "10s"
[[inputs.gnmi.subscription]]
## Name of the measurement
name = "ifcounters"
origin = "openconfig"
path = "/interfaces/interface/state/counters"
subscription_mode = "sample"
sample_interval = "10s"
[[inputs.gnmi.subscription]]
## Name of the measurement
name = "openconfig_bgp"
origin = "openconfig"
path = "/network-instances/network-instance/protocols/protocol/bgp/"
subscription_mode = "sample"
sample_interval = "10s"
[[inputs.gnmi]]
## Address and port of the GNMI GRPC server
addresses = ["10.83.28.122:6030", "10.83.28.125:6030"]
## credentials
username = "arista"
password = "arista"
## redial in case of failures after
redial = "10s"
[[inputs.gnmi.subscription]]
name = "eos_bgp"
origin = "eos_native"
subscription_mode = "sample"
path = "/Sysdb/routing/bgp/export/"
sample_interval = "10s"
[[inputs.gnmi.subscription]]
name = "CPU"
origin = "eos_native"
subscription_mode = "sample"
path = "/Kernel/proc/cpu/utilization/total"
sample_interval = "10s"
[[inputs.gnmi.subscription]]
name = "RAM"
origin = "eos_native"
subscription_mode = "sample"
path = "/Kernel/proc/meminfo"
sample_interval = "10s"
[[inputs.lanz]]
servers = [
"tcp://10.83.13.139:50001",
"tcp://10.81.116.167:50001",
]
[[outputs.influxdb]]
urls = ["http://influxdb:8086"]
database = "arista"
timeout = "5s"
username = "arista"
password = "arista"