@cryptotaxi247 / netdata-1 / commits / 69c8c3438

SNMP: cyberpower-pdu profile (#20575)

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>

Fotis Voutsas committed Jun 29, 2025 at 23:11 UTC 69c8c34389a65a972d53223275f5794a76570426
1 file changed +228 -206
src/go/plugin/go.d/config/go.d/snmp.profiles/default/cyberpower-pdu.yaml
+228 -206
@@ -1,15 +1,15 @@
1 extends:
2 - _base.yaml
3
4 -sysobjectid: 1.3.6.1.4.1.3808.1.1.*
5 -
4 metadata:
5 device:
6 fields:
7 vendor:
10 - value: "cyberpower"
8 + value: Cyberpower
9 type:
12 - value: "PDU"
10 + value: PDU
11 +
12 +sysobjectid: 1.3.6.1.4.1.3808.1.1.*
13
14 metrics:
15 - MIB: CPS-MIB
@@ -19,61 +19,63 @@ metrics:
19 symbols:
20 - OID: 1.3.6.1.4.1.3808.1.1.3.2.3.1.1.2
21 name: cyberpower.ePDULoadStatusLoad
22 - description: "Phase/bank load measured in tenths of Amps"
22 + description: "Phase/bank load"
23 + family: Load/Current
24 unit: "dA"
25 + - OID: 1.3.6.1.4.1.3808.1.1.3.2.3.1.1.3
26 + name: ePDULoadStatusLoadState
27 + family: Load/Status
28 + unit: "{status}"
29 + mapping:
30 + 1: LoadNormal
31 + 2: LoadLow
32 + 3: LoadNearOverload
33 + 4: LoadOverload
34 - OID: 1.3.6.1.4.1.3808.1.1.3.2.3.1.1.6
35 name: cyberpower.ePDULoadStatusVoltage
26 - description: "Phase/bank voltage measured in tenths of Volts"
36 + description: "Phase/bank voltage measured"
37 + family: Voltage/Value
38 unit: "dV"
39 - OID: 1.3.6.1.4.1.3808.1.1.3.2.3.1.1.7
40 name: cyberpower.ePDULoadStatusActivePower
30 - description: "Phase/bank active power measured in watts"
41 + description: "Phase/bank active power"
42 + family: Power/Active
43 unit: "W"
44 - OID: 1.3.6.1.4.1.3808.1.1.3.2.3.1.1.8
45 name: cyberpower.ePDULoadStatusApparentPower
34 - description: "Phase/bank apparent power measured in VA"
46 + description: "Phase/bank apparent power"
47 + family: Power/Apparent
48 unit: "VA"
49 - OID: 1.3.6.1.4.1.3808.1.1.3.2.3.1.1.9
50 name: cyberpower.ePDULoadStatusPowerFactor
38 - description: "Power factor of the output measured in hundredths"
51 + description: "Power factor of the output"
52 + family: Power/Factor
53 unit: "%"
40 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
54 metric_tags:
55 - symbol:
56 OID: 1.3.6.1.4.1.3808.1.1.3.2.3.1.1.1
57 name: ePDULoadStatusIndex
58 tag: e_pdu_load_status_index
46 - - symbol:
47 - OID: 1.3.6.1.4.1.3808.1.1.3.2.3.1.1.3
48 - name: ePDULoadStatusLoadState
49 - tag: e_pdu_load_status_load_state
50 - mapping:
51 - 1: load_normal
52 - 2: load_low
53 - 3: load_near_overload
54 - 4: load_overload
59 - MIB: CPS-MIB
60 table:
61 OID: 1.3.6.1.4.1.3808.1.1.3.2.4.1
62 name: ePDULoadBankConfigTable
63 symbols:
60 - - name: cyberpower.ePDULoadBankConfig
61 - constant_value_one: true
62 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
64 + - OID: 1.3.6.1.4.1.3808.1.1.3.2.4.1.1.5
65 + name: ePDULoadBankConfigAlarm
66 + description: Bank Alarm
67 + family: Bank/Alarm/Status
68 + unit: "{status}"
69 + mapping:
70 + 1: noLoadAlarm
71 + 2: underCurrentAlarm
72 + 3: nearOverCurrentAlarm
73 + 4: overCurrentAlarm
74 metric_tags:
75 - symbol:
76 OID: 1.3.6.1.4.1.3808.1.1.3.2.4.1.1.1
77 name: ePDULoadBankConfigIndex
78 tag: e_pdu_load_bank_config_index
68 - - symbol:
69 - OID: 1.3.6.1.4.1.3808.1.1.3.2.4.1.1.5
70 - name: ePDULoadBankConfigAlarm
71 - tag: e_pdu_load_bank_config_alarm
72 - mapping:
73 - 1: no_load_alarm
74 - 2: under_current_alarm
75 - 3: near_over_current_alarm
76 - 4: over_current_alarm
79 - MIB: CPS-MIB
80 table:
81 OID: 1.3.6.1.4.1.3808.1.1.3.3.5.1
@@ -81,13 +83,32 @@ metrics:
83 symbols:
84 - OID: 1.3.6.1.4.1.3808.1.1.3.3.5.1.1.7
85 name: cyberpower.ePDUOutletStatusLoad
84 - description: "Measured Outlet load for an Outlet Monitored Rack PDU in tenths of Amps"
85 - unit: "A"
86 + description: "Measured Outlet load for an Outlet Monitored Rack PDU"
87 + family: Outlet/Load/Current
88 + unit: "dA"
89 - OID: 1.3.6.1.4.1.3808.1.1.3.3.5.1.1.8
90 name: cyberpower.ePDUOutletStatusActivePower
88 - description: "Measured Outlet load for an Outlet Monitored Rack PDU in watts"
91 + description: "Measured Outlet load for an Outlet Monitored Rack PDU"
92 + family: Outlet/Power/Active
93 unit: "W"
90 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
94 + - OID: 1.3.6.1.4.1.3808.1.1.3.3.5.1.1.4
95 + name: ePDUOutletStatusOutletState
96 + description: Outlet state
97 + family: Outlet/Operational/Status
98 + unit: "{status}"
99 + mapping:
100 + 1: outletStatusOn
101 + 2: outletStatusOff
102 + - OID: 1.3.6.1.4.1.3808.1.1.3.3.5.1.1.9
103 + name: ePDUOutletStatusAlarm
104 + description: Outlet Alarm
105 + family: Outlet/Alarm/Status
106 + unit: "{status}"
107 + mapping:
108 + 1: noLoadAlarm
109 + 2: underCurrentAlarm
110 + 3: nearOverCurrentAlarm
111 + 4: overCurrentAlarm
112 metric_tags:
113 - symbol:
114 OID: 1.3.6.1.4.1.3808.1.1.3.3.5.1.1.1
@@ -97,65 +118,57 @@ metrics:
118 OID: 1.3.6.1.4.1.3808.1.1.3.3.5.1.1.2
119 name: ePDUOutletStatusOutletName
120 tag: e_pdu_outlet_status_outlet_name
121 + - MIB: CPS-MIB
122 + symbol:
123 + OID: 1.3.6.1.4.1.3808.1.1.3.4.1.1
124 + name: ePDUPowerSupply1Status
125 + description: Power Supply 1 Status
126 + family: PowerSupply/1/Operational/Status
127 + unit: "{status}"
128 + mapping:
129 + 1: powerSupplyOneOk
130 + 2: powerSupplyOneFailed
131 + - MIB: CPS-MIB
132 + symbol:
133 + OID: 1.3.6.1.4.1.3808.1.1.3.4.1.2
134 + name: ePDUPowerSupply2Status
135 + description: Power Supply 2 Status
136 + family: PowerSupply/2/Operational/Status
137 + unit: "{status}"
138 + mapping:
139 + 1: powerSupplyTwoOk
140 + 2: powerSupplyTwoFailed
141 + 3: powerSupplyTwoNotPresent
142 + - MIB: CPS-MIB
143 + symbol:
144 + OID: 1.3.6.1.4.1.3808.1.1.3.4.1.3
145 + name: ePDUPowerSupplyAlarm
146 + description: Power Supply Alarm
147 + family: PowerSupply/Alarm/Status
148 + mapping:
149 + 1: allAvailablePowerSuppliesOK
150 + 2: powerSupplyOneFailed
151 + 3: powerSupplyTwoFailed
152 + 4: powerSupplyOneandTwoFailed
153 + metric_tags:
154 - symbol:
101 - OID: 1.3.6.1.4.1.3808.1.1.3.3.5.1.1.4
102 - name: ePDUOutletStatusOutletState
103 - tag: e_pdu_outlet_status_outlet_state
104 - mapping:
105 - 1: outlet_status_on
106 - 2: outlet_status_off
107 - - symbol:
108 - OID: 1.3.6.1.4.1.3808.1.1.3.3.5.1.1.9
109 - name: ePDUOutletStatusAlarm
110 - tag: e_pdu_outlet_status_alarm
111 - mapping:
112 - 1: no_load_alarm
113 - 2: under_current_alarm
114 - 3: near_over_current_alarm
115 - 4: over_current_alarm
116 - # - MIB: CPS-MIB # All three metric tags are scalar metrics with enums. Not supported yet.
117 - # table:
118 - # OID: 1.3.6.1.4.1.3808.1.1.3.3.6.1
119 - # name: ePDUOutletBankTable
120 - # symbols:
121 - # - name: ePDUOutletBank
122 - # constant_value_one: true
123 - # metric_tags:
124 - # - symbol:
125 - # OID:
126 - # name: ePDUOutletBankIndex
127 - # - symbol:
128 - # OID: 1.3.6.1.4.1.3808.1.1.3.4.1.1
129 - # name: ePDUPowerSupply1Status
130 - # tag: e_pdu_power_supply1_status
131 - # mapping:
132 - # 1: power_supply_one_ok
133 - # 2: power_supply_one_failed
134 - # - symbol:
135 - # OID: 1.3.6.1.4.1.3808.1.1.3.4.1.2
136 - # name: ePDUPowerSupply2Status
137 - # tag: e_pdu_power_supply2_status
138 - # mapping:
139 - # 1: power_supply_two_ok
140 - # 2: power_supply_two_failed
141 - # 3: power_supply_two_not_present
142 - # - symbol:
143 - # OID: 1.3.6.1.4.1.3808.1.1.3.4.1.3
144 - # name: ePDUPowerSupplyAlarm
145 - # tag: e_pdu_power_supply_alarm
146 - # mapping:
147 - # 1: all_available_power_supplies_ok
148 - # 2: power_supply_one_failed
149 - # 3: power_supply_two_failed
150 - # 4: power_supply_oneand_two_failed
155 + OID:
156 + name: ePDUOutletBankIndex
157 - MIB: CPS-MIB
158 table:
159 OID: 1.3.6.1.4.1.3808.1.1.3.5.2
160 name: ePDUStatusBankTable
161 symbols:
156 - - name: cyberpower.ePDUStatusBank
157 - constant_value_one: true
158 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
162 + - OID: 1.3.6.1.4.1.3808.1.1.3.5.2.1.3
163 + name: ePDUStatusBankState
164 + description: Bank load state
165 + family: Bank/Load/Status
166 + unit: "{status}"
167 + mapping:
168 + 1: bankLoadNormal
169 + 2: bankLoadLow
170 + 3: bankLoadNearOverload
171 + 4: bankLoadOverload
172 metric_tags:
173 - symbol:
174 OID: 1.3.6.1.4.1.3808.1.1.3.5.2.1.1
@@ -165,23 +178,21 @@ metrics:
178 OID: 1.3.6.1.4.1.3808.1.1.3.5.2.1.2
179 name: ePDUStatusBankNumber
180 tag: e_pdu_status_bank_number
168 - - symbol:
169 - OID: 1.3.6.1.4.1.3808.1.1.3.5.2.1.3
170 - name: ePDUStatusBankState
171 - tag: e_pdu_status_bank_state
172 - mapping:
173 - 1: bank_load_normal
174 - 2: bank_load_low
175 - 3: bank_load_near_overload
176 - 4: bank_load_overload
181 - MIB: CPS-MIB
182 table:
183 OID: 1.3.6.1.4.1.3808.1.1.3.5.4
184 name: ePDUStatusPhaseTable
185 symbols:
182 - - name: cyberpower.ePDUStatusPhase
183 - constant_value_one: true
184 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
186 + - OID: 1.3.6.1.4.1.3808.1.1.3.5.4.1.3
187 + name: ePDUStatusPhaseState
188 + description: Phase load state
189 + family: Phase/Load/Status
190 + unit: "{status}"
191 + mapping:
192 + 1: phase_load_normal
193 + 2: phase_load_low
194 + 3: phase_load_near_overload
195 + 4: phase_load_overload
196 metric_tags:
197 - symbol:
198 OID: 1.3.6.1.4.1.3808.1.1.3.5.4.1.1
@@ -191,23 +202,21 @@ metrics:
202 OID: 1.3.6.1.4.1.3808.1.1.3.5.4.1.2
203 name: ePDUStatusPhaseNumber
204 tag: e_pdu_status_phase_number
194 - - symbol:
195 - OID: 1.3.6.1.4.1.3808.1.1.3.5.4.1.3
196 - name: ePDUStatusPhaseState
197 - tag: e_pdu_status_phase_state
198 - mapping:
199 - 1: phase_load_normal
200 - 2: phase_load_low
201 - 3: phase_load_near_overload
202 - 4: phase_load_overload
205 - MIB: CPS-MIB
206 table:
207 OID: 1.3.6.1.4.1.3808.1.1.3.5.6
208 name: ePDUStatusOutletTable
209 symbols:
208 - - name: cyberpower.ePDUStatusOutlet
209 - constant_value_one: true
210 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
210 + - OID: 1.3.6.1.4.1.3808.1.1.3.5.6.1.3
211 + name: ePDUStatusOutletState
212 + description: Outlet load state
213 + family: Outlet/Load/Status
214 + unit: "{status}"
215 + mapping:
216 + 1: outletLoadNormal
217 + 2: outletLoadLow
218 + 3: outletLoadNearOverload
219 + 4: outletLoadOverload
220 metric_tags:
221 - symbol:
222 OID: 1.3.6.1.4.1.3808.1.1.3.5.6.1.1
@@ -217,27 +226,20 @@ metrics:
226 OID: 1.3.6.1.4.1.3808.1.1.3.5.6.1.2
227 name: ePDUStatusOutletNumber
228 tag: e_pdu_status_outlet_number
220 - - symbol:
221 - OID: 1.3.6.1.4.1.3808.1.1.3.5.6.1.3
222 - name: ePDUStatusOutletState
223 - tag: e_pdu_status_outlet_state
224 - mapping:
225 - 1: outlet_load_normal
226 - 2: outlet_load_low
227 - 3: outlet_load_near_overload
228 - 4: outlet_load_overload
229 - MIB: CPS-MIB
230 symbol:
231 OID: 1.3.6.1.4.1.3808.1.1.3.5.7
232 name: cyberpower.ePDUStatusInputVoltage
233 - description: "Input voltage in 0.1 Volt"
234 - unit: "V"
233 + description: "Input voltage"
234 + family: Input/Voltage/Value
235 + unit: "dV"
236 - MIB: CPS-MIB
237 symbol:
238 OID: 1.3.6.1.4.1.3808.1.1.3.5.8
239 name: cyberpower.ePDUStatusInputFrequency
239 - description: "Input frequency in 0.1 Hertz"
240 - unit: "Hz"
240 + description: "Input frequency"
241 + family: Input/Frequency/Value
242 + unit: "dHz"
243 - MIB: CPS-MIB
244 table:
245 OID: 1.3.6.1.4.1.3808.1.1.6.3.4
@@ -245,68 +247,77 @@ metrics:
247 symbols:
248 - OID: 1.3.6.1.4.1.3808.1.1.6.3.4.1.5
249 name: cyberpower.ePDU2DeviceStatusCurrentLoad
248 - description: "Power consumption of the Rack PDU load in tenths of amps"
249 - unit: "A"
250 + description: "Power consumption of the Rack PDU load"
251 + family: Rack/Load/Current
252 + unit: "dA"
253 - OID: 1.3.6.1.4.1.3808.1.1.6.3.4.1.6
254 name: cyberpower.ePDU2DeviceStatusCurrentPeakLoad
252 - description: "Peak power consumption of the Rack PDU load in tenths of amps"
253 - unit: "A"
255 + description: "Peak power consumption of the Rack PDU load"
256 + family: Rack/Load/Current/Peak
257 + unit: "dA/s"
258 - OID: 1.3.6.1.4.1.3808.1.1.6.3.4.1.15
259 name: cyberpower.ePDU2DeviceStatusApparentPower
256 - description: "Apparent power consumption of the Rack PDU load in VoltAmps (VA)"
260 + description: "Apparent power consumption of the Rack PDU load"
261 + family: Rack/Power/Apparent
262 unit: "VA"
263 - OID: 1.3.6.1.4.1.3808.1.1.6.3.4.1.16
264 name: cyberpower.ePDU2DeviceStatusPowerFactor
260 - description: "Power factor of the Rack PDU load in hundredths"
265 + description: "Power factor of the Rack PDU load"
266 + family: Rack/Power/Factor
267 unit: "%"
262 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
263 - metric_tags:
264 - - symbol:
265 - OID: 1.3.6.1.4.1.3808.1.1.6.3.4.1.1
266 - name: ePDU2DeviceStatusIndex
267 - tag: e_pdu2_device_status_index
268 - - symbol:
269 - OID: 1.3.6.1.4.1.3808.1.1.6.3.4.1.3
270 - name: ePDU2DeviceStatusName
271 - tag: e_pdu2_device_status_name
272 - - symbol:
273 - OID: 1.3.6.1.4.1.3808.1.1.6.3.4.1.17
274 - name: ePDU2DeviceStatusRoleType
275 - tag: e_pdu2_device_status_role_type
268 + - OID: 1.3.6.1.4.1.3808.1.1.6.3.4.1.17
269 + name: ePDU2DeviceStatusRoleType
270 + description: Rack PDU role on Daisy Chain group
271 + family: Rack/Role/Status
272 + unit: "{status}"
273 mapping:
274 1: standalone
275 2: host
276 3: slave
280 - - symbol:
281 - OID: 1.3.6.1.4.1.3808.1.1.6.3.4.1.4
282 - name: ePDU2DeviceStatusLoadState
283 - tag: e_pdu2_device_status_load_state
277 + - OID: 1.3.6.1.4.1.3808.1.1.6.3.4.1.4
278 + name: ePDU2DeviceStatusLoadState
279 + description: Rack PDU load state
280 + family: Rack/Load/Status
281 + unit: "{status}"
282 mapping:
285 - 1: no_load_alarm
286 - 2: under_current_alarm
287 - 3: near_over_current_alarm
288 - 4: over_current_alarm
283 + 1: noLoadAlarm
284 + 2: underCurrentAlarm
285 + 3: nearOverCurrentAlarm
286 + 4: overCurrentAlarm
287 - symbol:
290 - OID: 1.3.6.1.4.1.3808.1.1.6.3.4.1.12
291 - name: ePDU2DeviceStatusPowerSupplyAlarm
292 - tag: e_pdu2_device_status_power_supply_alarm
288 + OID: 1.3.6.1.4.1.3808.1.1.6.3.4.1.12
289 + name: ePDU2DeviceStatusPowerSupplyAlarm
290 + description: Rack PDU Power Supply alarm
291 + family: Rack/PowerSupply/Alarm/Status
292 + unit: "{status}"
293 mapping:
294 1: normal
295 2: alarm
296 - - symbol:
297 - OID: 1.3.6.1.4.1.3808.1.1.6.3.4.1.13
298 - name: ePDU2DeviceStatusPowerSupply1Status
299 - tag: e_pdu2_device_status_power_supply1_status
296 + - OID: 1.3.6.1.4.1.3808.1.1.6.3.4.1.13
297 + name: ePDU2DeviceStatusPowerSupply1Status
298 + description: Rack PDU Power Supply 1 alarm
299 + family: Rack/PowerSupply/1/Alarm/Status
300 + unit: "{status}"
301 mapping:
302 1: normal
303 2: alarm
303 - - symbol:
304 - OID: 1.3.6.1.4.1.3808.1.1.6.3.4.1.14
305 - name: ePDU2DeviceStatusPowerSupply2Status
306 - tag: e_pdu2_device_status_power_supply2_status
304 + - OID: 1.3.6.1.4.1.3808.1.1.6.3.4.1.14
305 + name: ePDU2DeviceStatusPowerSupply2Status
306 + description: Rack PDU Power Supply 2 alarm
307 + family: Rack/PowerSupply/2/Alarm/Status
308 + unit: "{status}"
309 mapping:
310 1: normal
311 2: alarm
312 + metric_tags:
313 + - symbol:
314 + OID: 1.3.6.1.4.1.3808.1.1.6.3.4.1.1
315 + name: ePDU2DeviceStatusIndex
316 + tag: e_pdu2_device_status_index
317 + - symbol:
318 + OID: 1.3.6.1.4.1.3808.1.1.6.3.4.1.3
319 + name: ePDU2DeviceStatusName
320 + tag: e_pdu2_device_status_name
321 - MIB: CPS-MIB
322 table:
323 OID: 1.3.6.1.4.1.3808.1.1.6.4.4
@@ -314,43 +325,49 @@ metrics:
325 symbols:
326 - OID: 1.3.6.1.4.1.3808.1.1.6.4.4.1.5
327 name: cyberpower.ePDU2PhaseStatusLoad
317 - description: "Current draw in tenths of Amps of the load on the Rack PDU phase being queried"
318 - unit: "A"
328 + description: "Current draw of the load on the Rack PDU phase"
329 + family: Rack/Phase/Load/Current
330 + unit: "dA"
331 - OID: 1.3.6.1.4.1.3808.1.1.6.4.4.1.6
332 name: cyberpower.ePDU2PhaseStatusVoltage
321 - description: "Voltage in Volts of the Rack PDU phase being queried"
333 + description: "Voltage of the Rack PDU phase"
334 + family: Rack/Phase/Voltage/Value
335 unit: "V"
336 - OID: 1.3.6.1.4.1.3808.1.1.6.4.4.1.7
337 name: cyberpower.ePDU2PhaseStatusPower
325 - description: "Load power in watts (kW) consumed on the Rack PDU phase being queried"
326 - unit: "W"
338 + description: "Load power consumed on the Rack PDU phase"
339 + family: Rack/Phase/Power/Active
340 + unit: "kW"
341 - OID: 1.3.6.1.4.1.3808.1.1.6.4.4.1.8
342 name: cyberpower.ePDU2PhaseStatusApparentPower
329 - description: "Load apparent power in hundredths of kiloVoltAmps (kVA) consumed on the Rack PDU phase being queried"
330 - unit: "kVA"
343 + description: "Load apparent power consumed on the Rack PDU phase"
344 + family: Rack/Phase/Power/Apparent
345 + unit: "mkVA"
346 - OID: 1.3.6.1.4.1.3808.1.1.6.4.4.1.9
347 name: cyberpower.ePDU2PhaseStatusPowerFactor
333 - description: "Load power factor in hundredths of the Rack PDU phase being queried"
348 + description: "Load power factor of the Rack PDU phase"
349 + family: Rack/Phase/Power/Factor
350 unit: "%"
351 - OID: 1.3.6.1.4.1.3808.1.1.6.4.4.1.10
352 name: cyberpower.ePDU2PhaseStatusPeakLoad
353 description: "Peak current of the Rack PDU phase load in tenths of Amps"
338 - unit: "A"
339 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
354 + family: Rack/Phase/Load/Current/Peak
355 + unit: "dA/s"
356 + - OID: 1.3.6.1.4.1.3808.1.1.6.4.4.1.4
357 + name: ePDU2PhaseStatusLoadState
358 + description:
359 + family: Rack/Phase/Load/Status
360 + mapping:
361 + # this was wrong by DD
362 + 1: lowLoad
363 + 2: normal
364 + 3: nearOverload
365 + 4: overload
366 metric_tags:
367 - symbol:
368 OID: 1.3.6.1.4.1.3808.1.1.6.4.4.1.1
369 name: ePDU2PhaseStatusIndex
370 tag: e_pdu2_phase_status_index
345 - - symbol:
346 - OID: 1.3.6.1.4.1.3808.1.1.6.4.4.1.4
347 - name: ePDU2PhaseStatusLoadState
348 - tag: e_pdu2_phase_status_load_state
349 - mapping:
350 - 1: normal
351 - 2: low_load
352 - 3: near_overload
353 - 4: overload
371 - MIB: CPS-MIB
372 table:
373 OID: 1.3.6.1.4.1.3808.1.1.6.5.4
@@ -358,35 +375,44 @@ metrics:
375 symbols:
376 - OID: 1.3.6.1.4.1.3808.1.1.6.5.4.1.5
377 name: cyberpower.ePDU2BankStatusLoad
361 - description: "Current draw in tenths of Amps of the load on the Rack PDU bank being queried"
362 - unit: "A"
378 + description: "Current draw of the load on the Rack PDU bank"
379 + family: Rack/Bank/Load/Current
380 + unit: "dA"
381 - OID: 1.3.6.1.4.1.3808.1.1.6.5.4.1.6
382 name: cyberpower.ePDU2BankStatusPeakLoad
383 description: "Peak current of the Rack PDU bank load in tenths of Amps"
366 - unit: "A"
384 + family: Rack/Bank/Load/Current/Peak
385 + unit: "dA/s"
386 + - OID: 1.3.6.1.4.1.3808.1.1.6.5.4.1.4
387 + name: ePDU2BankStatusLoadState
388 + description: Load status of the Rack PDU bank
389 + family: Rack/Bank/Load/Status
390 + # this was wrong by DD
391 + mapping:
392 + 1: lowLoad
393 + 2: normal
394 + 3: nearOverload
395 + 4: overload
396 # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
397 metric_tags:
398 - symbol:
399 OID: 1.3.6.1.4.1.3808.1.1.6.5.4.1.1
400 name: ePDU2BankStatusIndex
401 tag: e_pdu2_bank_status_index
373 - - symbol:
374 - OID: 1.3.6.1.4.1.3808.1.1.6.5.4.1.4
375 - name: ePDU2BankStatusLoadState
376 - tag: e_pdu2_bank_status_load_state
377 - mapping:
378 - 1: normal
379 - 2: low_load
380 - 3: near_overload
381 - 4: overload
402 +
403 - MIB: CPS-MIB
404 table:
405 OID: 1.3.6.1.4.1.3808.1.1.6.6.1.4
406 name: ePDU2OutletSwitchedStatusTable
407 symbols:
387 - - name: cyberpower.ePDU2OutletSwitchedStatus
388 - constant_value_one: true
389 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
408 + - OID: 1.3.6.1.4.1.3808.1.1.6.6.1.4.1.5
409 + name: ePDU2OutletSwitchedStatusState
410 + description: Switch state of the Rack PDU switched outlet
411 + family: Rack/Outlet/Switched/Status
412 + unit: "{status}"
413 + mapping:
414 + 1: outletStatusOn
415 + 2: outletStatusOff
416 metric_tags:
417 - symbol:
418 OID: 1.3.6.1.4.1.3808.1.1.6.6.1.4.1.1
@@ -396,30 +422,26 @@ metrics:
422 OID: 1.3.6.1.4.1.3808.1.1.6.6.1.4.1.4
423 name: ePDU2OutletSwitchedStatusName
424 tag: e_pdu2_outlet_switched_status_name
399 - - symbol:
400 - OID: 1.3.6.1.4.1.3808.1.1.6.6.1.4.1.5
401 - name: ePDU2OutletSwitchedStatusState
402 - tag: e_pdu2_outlet_switched_status_state
403 - mapping:
404 - 1: outlet_status_on
405 - 2: outlet_status_off
425 - MIB: CPS-MIB
426 symbol:
427 OID: 1.3.6.1.4.1.3808.1.1.4.2.1.0
428 name: cyberpower.envirTemperature
410 - description: "Environment temperature expressed in 1/10 Fahrenheit"
429 + description: "Environment temperature"
430 + family: Environment/Temperature/Value
431 unit: "degF/10"
432 - MIB: CPS-MIB
433 symbol:
434 OID: 1.3.6.1.4.1.3808.1.1.4.2.6.0
435 name: cyberpower.envirTemperatureCelsius
436 description: "Environment temperature expressed in Celsius"
437 + family: Environment/Temperature/Value
438 unit: "Cel"
439 - MIB: CPS-MIB
440 symbol:
441 OID: 1.3.6.1.4.1.3808.1.1.4.3.1.0
442 name: cyberpower.envirHumidity
443 description: "Environment relative humidity expressed in persentage"
444 + family: Environment/Humidity/Value
445 unit: "%"
446 metric_tags:
447 - OID: 1.3.6.1.4.1.3808.1.1.3.1.1.0