This repository has been archived by the owner on Jul 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
leaf3.conf
122 lines (100 loc) · 2.92 KB
/
leaf3.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[[inputs.gnmi]]
## Address and port of the GNMI GRPC server for OpenConfig paths
addresses = ["10.73.1.107:6030"]
use_local_timestamp = true
## credentials
username = "arista"
password = "arista"
## redial in case of failures after
redial = "30s"
[[inputs.gnmi.subscription]]
## Name of the measurement
name = "ifcounters"
origin = "openconfig"
path = "/interfaces/interface/state/counters"
subscription_mode = "sample"
sample_interval = "30s"
[[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 = "30s"
[inputs.gnmi.tags]
device = "leaf3"
[[inputs.gnmi]]
## Address and port of the GNMI GRPC server for EOS native paths
addresses = ["10.73.1.107:6030"]
use_local_timestamp = true
## credentials
username = "arista"
password = "arista"
## redial in case of failures after
redial = "30s"
[[inputs.gnmi.subscription]]
## Name of the measurement
name = "cpu"
origin = "eos_native"
path = "/Kernel/proc/cpu/utilization"
subscription_mode = "sample"
sample_interval = "30s"
[inputs.gnmi.tags]
device = "leaf3"
[[inputs.snmp]]
agents = ["10.73.1.107:161"]
name_prefix = "snmp_"
interval = "60000ms"
version = 2
community = "public"
[[inputs.snmp.field]]
name = "hostname"
oid = "1.3.6.1.2.1.1.5.0"
is_tag = true
[[inputs.snmp.field]]
name = "uptime"
oid = "1.3.6.1.2.1.1.3.0"
[[inputs.snmp.table]]
name = "BGP"
inherit_tags = [ "hostname" ]
[[inputs.snmp.table.field]]
name = "bgpPeerState"
oid = "1.3.6.1.2.1.15.3.1.2"
[[inputs.snmp.table.field]]
name = "bgpPeerRemoteAddr"
oid = "1.3.6.1.2.1.15.3.1.7"
is_tag = true
[[inputs.snmp.table.field]]
name = "bgpPeerRemoteAs"
oid = "1.3.6.1.2.1.15.3.1.9"
[[inputs.snmp.table.field]]
name = "bgpPeerFsmEstablishedTransitions"
oid = "1.3.6.1.2.1.15.3.1.15"
[[inputs.snmp.table]]
name = "interfaces"
inherit_tags = [ "hostname" ]
[[inputs.snmp.table.field]]
name = "ifName"
oid = "1.3.6.1.2.1.31.1.1.1.1"
is_tag = true
[[inputs.snmp.table.field]]
name = "ifHCInOctets"
oid = "1.3.6.1.2.1.31.1.1.1.6"
[[inputs.snmp.table.field]]
name = "ifHCOutOctets"
oid = "1.3.6.1.2.1.31.1.1.1.10"
[[inputs.snmp.table.field]]
name = "ifHCOutUcastPkts"
oid = "1.3.6.1.2.1.31.1.1.1.11"
[[inputs.snmp.table.field]]
name = "ifHCInUcastPkts"
oid = "1.3.6.1.2.1.31.1.1.1.7"
[[inputs.snmp.table.field]]
name = "ifOperStatus"
oid = "1.3.6.1.2.1.2.2.1.8"
[[inputs.snmp.table.field]]
name = "ifAdminStatus"
oid = "1.3.6.1.2.1.2.2.1.7"
[[inputs.snmp.table.field]]
name = "ifLastChange"
oid = "1.3.6.1.2.1.2.2.1.9"