@cryptotaxi247 / netdata-1 / commits / fa277ea41

SNMP: aruba-switch.yaml (#20385)

Fotis Voutsas committed May 30, 2025 at 14:31 UTC fa277ea4113cf0905580212f531ac786e74bd6e0
1 file changed +15 -34
src/go/plugin/go.d/config/go.d/snmp.profiles/default/aruba-switch.yaml
+15 -34
@@ -81,37 +81,16 @@ metrics:
81 - OID: 1.3.6.1.4.1.14823.2.2.1.2.1.17.1.2
82 name: sysExtFanStatus
83 description: Status of the Fan
84 - unit: "TBD"
85 - metric_tags:
86 - - tag: fan_index
87 - symbol:
88 - OID: 1.3.6.1.4.1.14823.2.2.1.2.1.17.1.1
89 - name: sysExtFanIndex
90 -
91 - - MIB: WLSX-SYSTEMEXT-MIB
92 - table:
93 - OID: 1.3.6.1.4.1.14823.2.2.1.2.1.17
94 - name: wlsxSysExtFanTable
95 - symbols:
96 - - name: wlsxSysExtFan
97 - constant_value_one: true
98 - description: Fan constant value one
99 - unit: "TBD"
100 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
84 + family: Aruba/Switch/Fans
85 + unit: "{status}"
86 + mapping:
87 + 1: active
88 + 2: inactive
89 metric_tags:
90 - tag: fan_index
91 symbol:
92 OID: 1.3.6.1.4.1.14823.2.2.1.2.1.17.1.1
93 name: sysExtFanIndex
106 - - tag: fan_status
107 - symbol:
108 - OID: 1.3.6.1.4.1.14823.2.2.1.2.1.17.1.2
109 - name: sysExtFanStatus
110 - mapping:
111 - 1: active
112 - 2: inactive
113 -
114 - ### Power
94
95 # The table of Power supplies in the controller.
96 # Not supported in Aruba 200, 800 and 2400 controllers.
@@ -124,15 +103,17 @@ metrics:
103 - OID: 1.3.6.1.4.1.14823.2.2.1.2.1.18.1.2
104 name: sysExtPowerSupplyStatus
105 description: Status of the power supply
127 - unit: "TBD"
106 + family: Aruba/Switch/Power Supply
107 + unit: "{status}"
108 + mapping:
109 + 1: active
110 + 2: inactive
111 metric_tags:
112 - tag: powersupply_index
113 symbol:
114 OID: 1.3.6.1.4.1.14823.2.2.1.2.1.18.1.1
115 name: sysExtPowerSupplyIndex
116
134 - ### Processor
135 -
117 # The table of processors contained by the controller.
118 - MIB: WLSX-SYSTEMEXT-MIB
119 table:
@@ -143,6 +124,7 @@ metrics:
124 - OID: 1.3.6.1.4.1.14823.2.2.1.2.1.13.1.3
125 name: sysExtProcessorLoad
126 description: The average over the last minute of the percentage of time that this processor was not idle
127 + family: Aruba/Switch/CPU
128 unit: "%"
129 metric_tags:
130 - tag: processor_index
@@ -150,8 +132,6 @@ metrics:
132 OID: 1.3.6.1.4.1.14823.2.2.1.2.1.13.1.1
133 name: sysExtProcessorID
134
153 - ### Memory
154 -
135 # The memory status of the controller. All memory values measured in KB.
136 - MIB: WLSX-SYSTEMEXT-MIB
137 table:
@@ -161,14 +141,17 @@ metrics:
141 - OID: 1.3.6.1.4.1.14823.2.2.1.2.1.15.1.2
142 name: sysExtMemorySize
143 description: Total memory in KB
144 + family: Aruba/Switch/Memory
145 unit: "kBy"
146 - OID: 1.3.6.1.4.1.14823.2.2.1.2.1.15.1.3
147 name: sysExtMemoryUsed
148 description: Used memory in KB
149 + family: Aruba/Switch/Memory
150 unit: "kBy"
151 - OID: 1.3.6.1.4.1.14823.2.2.1.2.1.15.1.4
152 name: sysExtMemoryFree
153 description: Free memory in KB
154 + family: Aruba/Switch/Memory
155 unit: "kBy"
156 metric_tags:
157 - tag: memory_index
@@ -176,13 +159,11 @@ metrics:
159 OID: 1.3.6.1.4.1.14823.2.2.1.2.1.15.1.1
160 name: sysExtMemoryIndex
161
179 -
180 - ### Interface
181 -
162 # The packet loss count of the switch.
163 - MIB: WLSX-SYSTEMEXT-MIB
164 symbol:
165 OID: 1.3.6.1.4.1.14823.2.2.1.2.1.32.0
166 name: wlsxSysExtPacketLossPercent
167 description: Packet loss percent of the switch
168 + family: Aruba/Switch/Network/Packets
169 unit: "%"