-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
cisco-nexus.yaml
69 lines (64 loc) · 1.58 KB
/
cisco-nexus.yaml
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
# Profile for Cisco Nexus devices
extends:
- _base.yaml
- _cisco-generic.yaml
device:
vendor: "cisco"
metadata:
device:
fields:
type:
value: "switch"
sysobjectid:
- 1.3.6.1.4.1.9.1.1216 # ciscoN7KC7018IOS
- 1.3.6.1.4.1.9.1.1217 # ciscoN7KC7010IOS
- 1.3.6.1.4.1.9.1.1915 # ciscoN9KC9508
- 1.3.6.1.4.1.9.1.1923 # ciscoN9KC93128TX
- 1.3.6.1.4.1.9.1.1924 # ciscoN9KC9396TX
- 1.3.6.1.4.1.9.1.1925 # ciscoN9KC9396PX
- 1.3.6.1.4.1.9.12.3.1.3.*
metrics:
- MIB: CISCO-ENTITY-SENSOR-MIB
table:
OID: 1.3.6.1.4.1.9.9.91.1.1.1
name: entSensorValueTable
symbols:
- OID: 1.3.6.1.4.1.9.9.91.1.1.1.1.4
name: entSensorValue
metric_tags:
- symbol:
OID: 1.3.6.1.4.1.9.9.91.1.1.1.1.1
name: entSensorType
tag: sensor_type
mapping:
1: other
2: unknown
3: volts_ac
4: volts_dc
5: amperes
6: watts
7: hertz
8: celsius
9: percent_rh
10: rpm
11: cmm
12: truthvalue
13: special_enum
14: dbm
15: db
- index: 1
tag: sensor_id
- MIB: CISCO-ENHANCED-MEMPOOL-MIB # Overrides generic cisco defaults from _cisco-cpu-memory.yaml
table:
OID: 1.3.6.1.4.1.9.9.221.1.1.1
name: cempMemPoolTable
symbols:
- OID: 1.3.6.1.4.1.9.9.221.1.1.1.1.7
# core check only
name: memory.used
- OID: 1.3.6.1.4.1.9.9.221.1.1.1.1.8
# core check only
name: memory.free
metric_tags:
- tag: mem
index: 1