SNMP: aruba-cx-switch.yaml (#20383)
Co-authored-by: ilyam8 <ilya@netdata.cloud>
Fotis Voutsas committed
May 30, 2025 at 14:40 UTC
e61aea34fe9bf1dcb44563ed854bbe58df1bf34e
1 file changed
+63
-52
src/go/plugin/go.d/config/go.d/snmp.profiles/default/aruba-cx-switch.yaml
+63
-52
@@ -20,23 +20,25 @@ metadata:
20
type:
21
value: "switch"
22
metrics:
23
- - MIB: HOST-RESOURCES-MIB
24
- symbol:
25
- name: memory.total
26
- OID: 1.3.6.1.2.1.25.2.3.1.5.1 # hrStorageSize.1
27
- description: The size of the storage represented by this entry, in units of hrStorageAllocationUnits.
28
- unit: "{logical_storage_area}"
29
- - MIB: HOST-RESOURCES-MIB
30
- symbol:
31
- name: memory.used
32
- OID: 1.3.6.1.2.1.25.2.3.1.6.1 # hrStorageUsed.1
33
- description: The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.
34
- unit: "{logical_storage_area}"
23
+ # - MIB: HOST-RESOURCES-MIB
24
+ # symbol:
25
+ # name: memory.total
26
+ # OID: 1.3.6.1.2.1.25.2.3.1.5.1 # hrStorageSize.1
27
+ # description: The size of the storage represented by this entry, in units of hrStorageAllocationUnits.
28
+ # unit: "{logical_storage_area}"
29
+ # - MIB: HOST-RESOURCES-MIB
30
+ # symbol:
31
+ # name: memory.used
32
+ # OID: 1.3.6.1.2.1.25.2.3.1.6.1 # hrStorageUsed.1
33
+ # description: The amount of the storage represented by this entry that is allocated, in units of hrStorageAllocationUnits.
34
+ # unit: "{logical_storage_area}"
35
+ # TODO This is not yet supported by the collector
36
- MIB: HOST-RESOURCES-MIB
37
symbol:
38
name: cpu.usage
39
OID: 1.3.6.1.2.1.25.3.3.1.2.196608 # hrProcessorLoad.196608
39
- description: The average, over the last minute, of the percentage of time that this processor was not idle.
40
+ description: The average, over the last minute, of the percentage of time that this processor was not idle
41
+ family: Aruba/Switch/CPU
42
unit: "%"
43
- MIB: ARUBAWIRED-TEMPSENSOR-MIB
44
table:
@@ -45,17 +47,19 @@ metrics:
47
symbols:
48
- name: arubaWiredTempSensorTemperature
49
OID: 1.3.6.1.4.1.47196.4.1.1.3.11.3.1.1.7
48
- description: Current temperature value read from the temperature sensor.
50
+ description: Current temperature value read from the temperature sensor
51
+ family: Aruba/Switch/Sensors
52
unit: "Cel"
53
metric_tags:
54
- symbol:
55
name: arubaWiredTempSensorName
56
OID: 1.3.6.1.4.1.47196.4.1.1.3.11.3.1.1.5
57
tag: aruba_wired_temp_sensor_name
55
- - symbol:
56
- OID: 1.3.6.1.4.1.47196.4.1.1.3.11.3.1.1.6
57
- name: arubaWiredTempSensorState
58
- tag: aruba_wired_temp_sensor_state
58
+ # TODO: find mapping and make it a metric
59
+ # - symbol:
60
+ # OID: 1.3.6.1.4.1.47196.4.1.1.3.11.3.1.1.6
61
+ # name: arubaWiredTempSensorState
62
+ # tag: aruba_wired_temp_sensor_state
63
- MIB: ARUBAWIRED-POWERSUPPLY-MIB
64
table:
65
OID: 1.3.6.1.4.1.47196.4.1.1.3.11.2.1
@@ -64,10 +68,12 @@ metrics:
68
- name: arubaWiredPSUInstantaneousPower
69
OID: 1.3.6.1.4.1.47196.4.1.1.3.11.2.1.1.7
70
description: Total instantaneous power supplied by the power supply in Watts.
71
+ family: Aruba/Switch/Power Supply
72
unit: "W"
73
- name: arubaWiredPSUNumberFailures
74
OID: 1.3.6.1.4.1.47196.4.1.1.3.11.2.1.1.9
75
description: Number of failures the power supply has experienced since the most recent insertion of the power supply and boot of the system.
76
+ family: Aruba/Switch/Power Supply
77
unit: "{failure}"
78
metric_tags:
79
- symbol:
@@ -86,36 +92,39 @@ metrics:
92
name: arubaWiredPSUAirflowDirection
93
OID: 1.3.6.1.4.1.47196.4.1.1.3.11.2.1.1.10
94
tag: aruba_wired_psu_airflow_direction
89
- - symbol:
90
- OID: 1.3.6.1.4.1.47196.4.1.1.3.11.2.1.1.4
91
- name: arubaWiredPSUState
92
- tag: aruba_wired_psu_state
93
- - MIB: ARUBAWIRED-FANTRAY-MIB
94
- table:
95
- OID: 1.3.6.1.4.1.47196.4.1.1.3.11.4.1
96
- name: arubaWiredFanTrayTable
97
- symbols:
98
- - name: arubaWiredFanTray
99
- constant_value_one: true
100
- description: This variable uniquely identifies the fan tray instance in a chassis and value 1 must be used for non-modular devices.
101
- unit: "{fan_tray}"
102
- metric_tags:
103
- - symbol:
104
- name: arubaWiredFanTrayName
105
- OID: 1.3.6.1.4.1.47196.4.1.1.3.11.4.1.1.3
106
- tag: aruba_wired_fan_tray_name
107
- - symbol:
108
- name: arubaWiredFanTrayProductName
109
- OID: 1.3.6.1.4.1.47196.4.1.1.3.11.4.1.1.5
110
- tag: aruba_wired_fan_tray_product_name
111
- - symbol:
112
- name: arubaWiredFanTraySerialNumber
113
- OID: 1.3.6.1.4.1.47196.4.1.1.3.11.4.1.1.6
114
- tag: aruba_wired_fan_tray_serial_number
115
- - symbol:
116
- OID: 1.3.6.1.4.1.47196.4.1.1.3.11.4.1.1.4
117
- name: arubaWiredFanTrayState
118
- tag: aruba_wired_fan_tray_state
95
+ # TODO: find mapping and make it a metric
96
+ # - symbol:
97
+ # OID: 1.3.6.1.4.1.47196.4.1.1.3.11.2.1.1.4
98
+ # name: arubaWiredPSUState
99
+ # tag: aruba_wired_psu_state
100
+
101
+ # - MIB: ARUBAWIRED-FANTRAY-MIB
102
+ # table:
103
+ # OID: 1.3.6.1.4.1.47196.4.1.1.3.11.4.1
104
+ # name: arubaWiredFanTrayTable
105
+ # symbols:
106
+ # - name: arubaWiredFanTray
107
+ # constant_value_one: true
108
+ # description: This variable uniquely identifies the fan tray instance in a chassis and value 1 must be used for non-modular devices.
109
+ # unit: "{fan_tray}"
110
+ # metric_tags:
111
+ # - symbol:
112
+ # name: arubaWiredFanTrayName
113
+ # OID: 1.3.6.1.4.1.47196.4.1.1.3.11.4.1.1.3
114
+ # tag: aruba_wired_fan_tray_name
115
+ # - symbol:
116
+ # name: arubaWiredFanTrayProductName
117
+ # OID: 1.3.6.1.4.1.47196.4.1.1.3.11.4.1.1.5
118
+ # tag: aruba_wired_fan_tray_product_name
119
+ # - symbol:
120
+ # name: arubaWiredFanTraySerialNumber
121
+ # OID: 1.3.6.1.4.1.47196.4.1.1.3.11.4.1.1.6
122
+ # tag: aruba_wired_fan_tray_serial_number
123
+ # - symbol:
124
+ # OID: 1.3.6.1.4.1.47196.4.1.1.3.11.4.1.1.4
125
+ # name: arubaWiredFanTrayState
126
+ # tag: aruba_wired_fan_tray_state
127
+ # State has no mapping that I could find, so empty table.
128
- MIB: ARUBAWIRED-FAN-MIB
129
table:
130
OID: 1.3.6.1.4.1.47196.4.1.1.3.11.5.1
@@ -124,6 +133,7 @@ metrics:
133
- name: arubaWiredFanRPM
134
OID: 1.3.6.1.4.1.47196.4.1.1.3.11.5.1.1.8
135
description: Current RPM read for the fan.
136
+ family: Aruba/Switch/Fans
137
unit: "1.min"
138
metric_tags:
139
- symbol:
@@ -142,7 +152,8 @@ metrics:
152
name: arubaWiredFanAirflowDirection
153
OID: 1.3.6.1.4.1.47196.4.1.1.3.11.5.1.1.9
154
tag: aruba_wired_fan_airflow_direction
145
- - symbol:
146
- OID: 1.3.6.1.4.1.47196.4.1.1.3.11.5.1.1.5
147
- name: arubaWiredFanState
148
- tag: aruba_wired_fan_state
155
+# TODO: find mapping and make it a metric
156
+# - symbol:
157
+# OID: 1.3.6.1.4.1.47196.4.1.1.3.11.5.1.1.5
158
+# name: arubaWiredFanState
159
+# tag: aruba_wired_fan_state