improve(go.d/snmp): add EATON UPS profile (#21355)
Ilya Mashchenko committed
Nov 26, 2025 at 20:51 UTC
16b5914f8228e6812159688001374cb78152ee22
1 file changed
+835
src/go/plugin/go.d/config/go.d/snmp.profiles/default/eaton-ups.yaml
new
+835
@@ -0,0 +1,835 @@
1
+extends:
2
+ - _system-base.yaml
3
+
4
+selector:
5
+ - sysobjectid:
6
+ include:
7
+ - 1.3.6.1.4.1.534.1.*
8
+
9
+metadata:
10
+ device:
11
+ fields:
12
+ vendor:
13
+ value: "Eaton"
14
+ type:
15
+ value: "UPS"
16
+ model:
17
+ symbol:
18
+ OID: 1.3.6.1.4.1.534.1.1.2.0
19
+ name: xupsIdentModel
20
+ serial_number:
21
+ symbol:
22
+ OID: 1.3.6.1.4.1.534.1.1.6.0
23
+ name: xupsIdentSerialNumber
24
+
25
+# https://mibbrowser.online/mibdb_search.php?mib=XUPS-MIB
26
+# https://github.com/librenms/librenms/blob/master/mibs/eaton/XUPS-MIB
27
+
28
+metrics:
29
+ # ==========================================================================
30
+ # Battery Metrics
31
+ # ==========================================================================
32
+ - MIB: XUPS-MIB
33
+ symbol:
34
+ OID: 1.3.6.1.4.1.534.1.2.1.0
35
+ name: xupsBatTimeRemaining
36
+ chart_meta:
37
+ description: Battery runtime remaining before UPS shutdown
38
+ family: 'System/Battery/Runtime'
39
+ unit: "s"
40
+
41
+ - MIB: XUPS-MIB
42
+ symbol:
43
+ OID: 1.3.6.1.4.1.534.1.2.2.0
44
+ name: xupsBatVoltage
45
+ chart_meta:
46
+ description: Battery voltage
47
+ family: 'Hardware/Battery/Voltage'
48
+ unit: "V"
49
+
50
+ - MIB: XUPS-MIB
51
+ symbol:
52
+ OID: 1.3.6.1.4.1.534.1.2.3.0
53
+ name: xupsBatCurrent
54
+ chart_meta:
55
+ description: Battery current (positive=discharging, negative=charging)
56
+ family: 'Hardware/Battery/Current'
57
+ unit: "A"
58
+
59
+ - MIB: XUPS-MIB
60
+ symbol:
61
+ OID: 1.3.6.1.4.1.534.1.2.4.0
62
+ name: xupsBatCapacity
63
+ chart_meta:
64
+ description: Battery charge level
65
+ family: 'System/Battery/Capacity'
66
+ unit: "%"
67
+
68
+ - MIB: XUPS-MIB
69
+ symbol:
70
+ OID: 1.3.6.1.4.1.534.1.2.5.0
71
+ name: xupsBatteryAbmStatus
72
+ chart_meta:
73
+ description: Advanced Battery Management status
74
+ family: 'Hardware/Battery/Status/ABM'
75
+ unit: "{status}"
76
+ mapping:
77
+ 1: charging
78
+ 2: discharging
79
+ 3: floating
80
+ 4: resting
81
+ 5: unknown
82
+ 6: disconnected
83
+ 7: under_test
84
+ 8: check_battery
85
+
86
+ - MIB: XUPS-MIB
87
+ symbol:
88
+ OID: 1.3.6.1.4.1.534.1.2.7.0
89
+ name: xupsBatteryFailure
90
+ chart_meta:
91
+ description: Battery fault or test failure indicator
92
+ family: 'Hardware/Battery/Status/Failure'
93
+ unit: "{status}"
94
+ mapping:
95
+ 1: failed
96
+ 2: ok
97
+
98
+ - MIB: XUPS-MIB
99
+ symbol:
100
+ OID: 1.3.6.1.4.1.534.1.2.8.0
101
+ name: xupsBatteryNotPresent
102
+ chart_meta:
103
+ description: Battery presence indicator
104
+ family: 'Hardware/Battery/Status/Presence'
105
+ unit: "{status}"
106
+ mapping:
107
+ 1: absent
108
+ 2: present
109
+
110
+ - MIB: XUPS-MIB
111
+ symbol:
112
+ OID: 1.3.6.1.4.1.534.1.2.9.0
113
+ name: xupsBatteryAged
114
+ chart_meta:
115
+ description: Battery age indicator
116
+ family: 'Hardware/Battery/Status/Age'
117
+ unit: "{status}"
118
+ mapping:
119
+ 1: aged
120
+ 2: ok
121
+
122
+ - MIB: XUPS-MIB
123
+ symbol:
124
+ OID: 1.3.6.1.4.1.534.1.2.10.0
125
+ name: xupsBatteryLowCapacity
126
+ chart_meta:
127
+ description: Battery low capacity indicator
128
+ family: 'Hardware/Battery/Status/Capacity'
129
+ unit: "{status}"
130
+ mapping:
131
+ 1: low
132
+ 2: ok
133
+
134
+ # ==========================================================================
135
+ # Input Metrics (Scalars)
136
+ # ==========================================================================
137
+ - MIB: XUPS-MIB
138
+ symbol:
139
+ OID: 1.3.6.1.4.1.534.1.3.1.0
140
+ name: xupsInputFrequency
141
+ scale_factor: 0.1
142
+ chart_meta:
143
+ description: Input line frequency
144
+ family: 'PowerFlow/Input/Frequency'
145
+ unit: "Hz"
146
+
147
+ - MIB: XUPS-MIB
148
+ symbol:
149
+ OID: 1.3.6.1.4.1.534.1.3.2.0
150
+ name: xupsInputLineBads
151
+ chart_meta:
152
+ description: Count of input out-of-tolerance events
153
+ family: 'PowerFlow/Input/Event/OutOfTolerance'
154
+ unit: "{event}"
155
+
156
+ - MIB: XUPS-MIB
157
+ symbol:
158
+ OID: 1.3.6.1.4.1.534.1.3.5.0
159
+ name: xupsInputSource
160
+ chart_meta:
161
+ description: Current input power source
162
+ family: 'PowerFlow/Input/Source'
163
+ unit: "{source}"
164
+ mapping:
165
+ 1: other
166
+ 2: none
167
+ 3: primary_utility
168
+ 4: bypass_feed
169
+ 5: secondary_utility
170
+ 6: generator
171
+ 7: flywheel
172
+ 8: fuelcell
173
+
174
+ - MIB: XUPS-MIB
175
+ symbol:
176
+ OID: 1.3.6.1.4.1.534.1.3.6.0
177
+ name: xupsDualInputStatus
178
+ chart_meta:
179
+ description: Dual input source status
180
+ family: 'PowerFlow/Input/Status/Dual'
181
+ unit: "{status}"
182
+ mapping:
183
+ 1: both_bad
184
+ 2: primary_good
185
+ 3: secondary_good
186
+ 4: both_good
187
+
188
+ - MIB: XUPS-MIB
189
+ symbol:
190
+ OID: 1.3.6.1.4.1.534.1.3.9.0
191
+ name: xupsInputStatus
192
+ chart_meta:
193
+ description: Primary AC input status
194
+ family: 'PowerFlow/Input/Status/Primary'
195
+ unit: "{status}"
196
+ mapping:
197
+ 1: bad
198
+ 2: good
199
+
200
+ # ==========================================================================
201
+ # Input Total Metrics
202
+ # ==========================================================================
203
+ - MIB: XUPS-MIB
204
+ symbol:
205
+ OID: 1.3.6.1.4.1.534.1.3.8.1.0
206
+ name: xupsInputAverageVoltage
207
+ chart_meta:
208
+ description: Average input voltage (single phase) or average across phases
209
+ family: 'PowerFlow/Input/Total/Voltage'
210
+ unit: "V"
211
+
212
+ - MIB: XUPS-MIB
213
+ symbol:
214
+ OID: 1.3.6.1.4.1.534.1.3.8.2.0
215
+ name: xupsInputTotalCurrent
216
+ scale_factor: 0.1
217
+ chart_meta:
218
+ description: Total input current
219
+ family: 'PowerFlow/Input/Total/Current'
220
+ unit: "A"
221
+
222
+ - MIB: XUPS-MIB
223
+ symbol:
224
+ OID: 1.3.6.1.4.1.534.1.3.8.3.0
225
+ name: xupsInputTotalWatts
226
+ chart_meta:
227
+ description: Total input active power
228
+ family: 'PowerFlow/Input/Total/Power/Active'
229
+ unit: "W"
230
+
231
+ - MIB: XUPS-MIB
232
+ symbol:
233
+ OID: 1.3.6.1.4.1.534.1.3.8.4.0
234
+ name: xupsInputTotalVA
235
+ chart_meta:
236
+ description: Total input apparent power
237
+ family: 'PowerFlow/Input/Total/Power/Apparent'
238
+ unit: "VA"
239
+
240
+ - MIB: XUPS-MIB
241
+ symbol:
242
+ OID: 1.3.6.1.4.1.534.1.3.8.5.0
243
+ name: xupsInputAveragePowerFactor
244
+ scale_factor: 0.01
245
+ chart_meta:
246
+ description: Average input power factor
247
+ family: 'PowerFlow/Input/Total/PowerFactor'
248
+ unit: ""
249
+
250
+ # ==========================================================================
251
+ # Input Table (Per-Phase)
252
+ # ==========================================================================
253
+ - MIB: XUPS-MIB
254
+ table:
255
+ OID: 1.3.6.1.4.1.534.1.3.4
256
+ name: xupsInputTable
257
+ symbols:
258
+ - OID: 1.3.6.1.4.1.534.1.3.4.1.2
259
+ name: xupsInputVoltage
260
+ chart_meta:
261
+ description: Input voltage per phase
262
+ family: 'PowerFlow/Input/Phase/Voltage'
263
+ unit: "V"
264
+
265
+ - OID: 1.3.6.1.4.1.534.1.3.4.1.3
266
+ name: xupsInputCurrent
267
+ chart_meta:
268
+ description: Input current per phase
269
+ family: 'PowerFlow/Input/Phase/Current'
270
+ unit: "A"
271
+
272
+ - OID: 1.3.6.1.4.1.534.1.3.4.1.7
273
+ name: xupsInputCurrentHighPrecision
274
+ scale_factor: 0.1
275
+ chart_meta:
276
+ description: Input current per phase (high precision)
277
+ family: 'PowerFlow/Input/Phase/CurrentHP'
278
+ unit: "A"
279
+
280
+ - OID: 1.3.6.1.4.1.534.1.3.4.1.4
281
+ name: xupsInputWatts
282
+ chart_meta:
283
+ description: Input real power per phase
284
+ family: 'PowerFlow/Input/Phase/Power'
285
+ unit: "W"
286
+ metric_tags:
287
+ - tag: phase
288
+ symbol:
289
+ OID: 1.3.6.1.4.1.534.1.3.4.1.1
290
+ name: xupsInputPhase
291
+ - tag: phase_name
292
+ symbol:
293
+ OID: 1.3.6.1.4.1.534.1.3.4.1.6
294
+ name: xupsInputName
295
+ - tag: _phase_id
296
+ symbol:
297
+ OID: 1.3.6.1.4.1.534.1.3.4.1.5
298
+ name: xupsInputId
299
+ mapping:
300
+ 1: "L1-N"
301
+ 2: "L2-N"
302
+ 3: "L3-N"
303
+ 4: "L1-L2"
304
+ 5: "L2-L3"
305
+ 6: "L3-L1"
306
+
307
+ # ==========================================================================
308
+ # Output Metrics (Scalars)
309
+ # ==========================================================================
310
+ - MIB: XUPS-MIB
311
+ symbol:
312
+ OID: 1.3.6.1.4.1.534.1.4.1.0
313
+ name: xupsOutputLoad
314
+ chart_meta:
315
+ description: UPS output load percentage
316
+ family: 'PowerFlow/Output/Load'
317
+ unit: "%"
318
+
319
+ - MIB: XUPS-MIB
320
+ symbol:
321
+ OID: 1.3.6.1.4.1.534.1.4.2.0
322
+ name: xupsOutputFrequency
323
+ scale_factor: 0.1
324
+ chart_meta:
325
+ description: Output frequency
326
+ family: 'PowerFlow/Output/Frequency'
327
+ unit: "Hz"
328
+
329
+ - MIB: XUPS-MIB
330
+ symbol:
331
+ OID: 1.3.6.1.4.1.534.1.4.5.0
332
+ name: xupsOutputSource
333
+ chart_meta:
334
+ description: Current output power source
335
+ family: 'PowerFlow/Output/Source'
336
+ unit: "{source}"
337
+ mapping:
338
+ 1: other
339
+ 2: none
340
+ 3: normal
341
+ 4: bypass
342
+ 5: battery
343
+ 6: booster
344
+ 7: reducer
345
+ 8: parallel_capacity
346
+ 9: parallel_redundant
347
+ 10: high_efficiency
348
+ 11: maintenance_bypass
349
+ 12: ess_mode
350
+
351
+ - MIB: XUPS-MIB
352
+ symbol:
353
+ OID: 1.3.6.1.4.1.534.1.4.6.0
354
+ name: xupsOutputHourlyPowerUsage
355
+ chart_meta:
356
+ description: Energy consumed during the last hour
357
+ family: 'PowerFlow/Output/Energy/Hourly'
358
+ unit: "Wh"
359
+
360
+ - MIB: XUPS-MIB
361
+ symbol:
362
+ OID: 1.3.6.1.4.1.534.1.4.7.0
363
+ name: xupsOutputCumulativePowerUsage
364
+ chart_meta:
365
+ description: Cumulative energy consumed since last reset
366
+ family: 'PowerFlow/Output/Energy/Cumulative'
367
+ unit: "Wh"
368
+
369
+ - MIB: XUPS-MIB
370
+ symbol:
371
+ OID: 1.3.6.1.4.1.534.1.4.10.0
372
+ name: xupsOutputStatus
373
+ chart_meta:
374
+ description: AC output protection status
375
+ family: 'PowerFlow/Output/Status'
376
+ unit: "{status}"
377
+ mapping:
378
+ 1: not_powered
379
+ 2: not_protected
380
+ 3: protected
381
+
382
+ # ==========================================================================
383
+ # Output Total Metrics
384
+ # ==========================================================================
385
+ - MIB: XUPS-MIB
386
+ symbol:
387
+ OID: 1.3.6.1.4.1.534.1.4.9.1.0
388
+ name: xupsOutputAverageVoltage
389
+ chart_meta:
390
+ description: Average output voltage
391
+ family: 'PowerFlow/Output/Total/Voltage'
392
+ unit: "V"
393
+
394
+ - MIB: XUPS-MIB
395
+ symbol:
396
+ OID: 1.3.6.1.4.1.534.1.4.9.2.0
397
+ name: xupsOutputTotalCurrent
398
+ scale_factor: 0.1
399
+ chart_meta:
400
+ description: Total output current
401
+ family: 'PowerFlow/Output/Total/Current'
402
+ unit: "A"
403
+
404
+ - MIB: XUPS-MIB
405
+ symbol:
406
+ OID: 1.3.6.1.4.1.534.1.4.9.3.0
407
+ name: xupsOutputTotalWatts
408
+ chart_meta:
409
+ description: Total output active power
410
+ family: 'PowerFlow/Output/Total/Power/Active'
411
+ unit: "W"
412
+
413
+ - MIB: XUPS-MIB
414
+ symbol:
415
+ OID: 1.3.6.1.4.1.534.1.4.9.4.0
416
+ name: xupsOutputTotalVA
417
+ chart_meta:
418
+ description: Total output apparent power
419
+ family: 'PowerFlow/Output/Total/Power/Apparent'
420
+ unit: "VA"
421
+
422
+ - MIB: XUPS-MIB
423
+ symbol:
424
+ OID: 1.3.6.1.4.1.534.1.4.9.5.0
425
+ name: xupsOutputAveragePowerFactor
426
+ scale_factor: 0.01
427
+ chart_meta:
428
+ description: Average output power factor
429
+ family: 'PowerFlow/Output/Total/PowerFactor'
430
+ unit: ""
431
+
432
+ # ==========================================================================
433
+ # Output Table (Per-Phase)
434
+ # ==========================================================================
435
+ - MIB: XUPS-MIB
436
+ table:
437
+ OID: 1.3.6.1.4.1.534.1.4.4
438
+ name: xupsOutputTable
439
+ symbols:
440
+ - OID: 1.3.6.1.4.1.534.1.4.4.1.2
441
+ name: xupsOutputVoltage
442
+ chart_meta:
443
+ description: Output voltage per phase
444
+ family: 'PowerFlow/Output/Phase/Voltage'
445
+ unit: "V"
446
+
447
+ - OID: 1.3.6.1.4.1.534.1.4.4.1.3
448
+ name: xupsOutputCurrent
449
+ chart_meta:
450
+ description: Output current per phase
451
+ family: 'PowerFlow/Output/Phase/Current'
452
+ unit: "A"
453
+
454
+ - OID: 1.3.6.1.4.1.534.1.4.4.1.7
455
+ name: xupsOutputCurrentHighPrecision
456
+ scale_factor: 0.1
457
+ chart_meta:
458
+ description: Output current per phase (high precision)
459
+ family: 'PowerFlow/Output/Phase/CurrentHP'
460
+ unit: "A"
461
+
462
+ - OID: 1.3.6.1.4.1.534.1.4.4.1.4
463
+ name: xupsOutputWatts
464
+ chart_meta:
465
+ description: Output real power per phase
466
+ family: 'PowerFlow/Output/Phase/Power/Active'
467
+ unit: "W"
468
+
469
+ - OID: 1.3.6.1.4.1.534.1.4.4.1.9
470
+ name: xupsOutputVA
471
+ chart_meta:
472
+ description: Output apparent power per phase
473
+ family: 'PowerFlow/Output/Phase/Power/Apparent'
474
+ unit: "VA"
475
+
476
+ - OID: 1.3.6.1.4.1.534.1.4.4.1.8
477
+ name: xupsOutputPercentLoad
478
+ chart_meta:
479
+ description: Output load percentage per phase
480
+ family: 'PowerFlow/Output/Phase/Load'
481
+ unit: "%"
482
+ metric_tags:
483
+ - tag: phase
484
+ symbol:
485
+ OID: 1.3.6.1.4.1.534.1.4.4.1.1
486
+ name: xupsOutputPhase
487
+ - tag: phase_name
488
+ symbol:
489
+ OID: 1.3.6.1.4.1.534.1.4.4.1.6
490
+ name: xupsOutputName
491
+ - tag: _phase_id
492
+ symbol:
493
+ OID: 1.3.6.1.4.1.534.1.4.4.1.5
494
+ name: xupsOutputId
495
+ mapping:
496
+ 1: "L1-N"
497
+ 2: "L2-N"
498
+ 3: "L3-N"
499
+ 4: "L1-L2"
500
+ 5: "L2-L3"
501
+ 6: "L3-L1"
502
+
503
+ # ==========================================================================
504
+ # Bypass Metrics (Scalars)
505
+ # ==========================================================================
506
+ - MIB: XUPS-MIB
507
+ symbol:
508
+ OID: 1.3.6.1.4.1.534.1.5.1.0
509
+ name: xupsBypassFrequency
510
+ scale_factor: 0.1
511
+ chart_meta:
512
+ description: Bypass frequency
513
+ family: 'PowerFlow/Bypass/Frequency'
514
+ unit: "Hz"
515
+
516
+ # ==========================================================================
517
+ # Bypass Total Metrics
518
+ # ==========================================================================
519
+ - MIB: XUPS-MIB
520
+ symbol:
521
+ OID: 1.3.6.1.4.1.534.1.5.4.1.0
522
+ name: xupsBypassAverageVoltage
523
+ chart_meta:
524
+ description: Average bypass voltage
525
+ family: 'PowerFlow/Bypass/Total/Voltage'
526
+ unit: "V"
527
+
528
+ - MIB: XUPS-MIB
529
+ symbol:
530
+ OID: 1.3.6.1.4.1.534.1.5.4.2.0
531
+ name: xupsBypassTotalCurrent
532
+ scale_factor: 0.1
533
+ chart_meta:
534
+ description: Total bypass current
535
+ family: 'PowerFlow/Bypass/Total/Current'
536
+ unit: "A"
537
+
538
+ - MIB: XUPS-MIB
539
+ symbol:
540
+ OID: 1.3.6.1.4.1.534.1.5.4.3.0
541
+ name: xupsBypassTotalWatts
542
+ chart_meta:
543
+ description: Total bypass active power
544
+ family: 'PowerFlow/Bypass/Total/Power/Active'
545
+ unit: "W"
546
+
547
+ - MIB: XUPS-MIB
548
+ symbol:
549
+ OID: 1.3.6.1.4.1.534.1.5.4.4.0
550
+ name: xupsBypassTotalVA
551
+ chart_meta:
552
+ description: Total bypass apparent power
553
+ family: 'PowerFlow/Bypass/Total/Power/Apparent'
554
+ unit: "VA"
555
+
556
+ - MIB: XUPS-MIB
557
+ symbol:
558
+ OID: 1.3.6.1.4.1.534.1.5.4.5.0
559
+ name: xupsBypassAveragePowerFactor
560
+ scale_factor: 0.01
561
+ chart_meta:
562
+ description: Average bypass power factor
563
+ family: 'PowerFlow/Bypass/Total/PowerFactor'
564
+ unit: ""
565
+
566
+ # ==========================================================================
567
+ # Bypass Table (Per-Phase)
568
+ # ==========================================================================
569
+ - MIB: XUPS-MIB
570
+ table:
571
+ OID: 1.3.6.1.4.1.534.1.5.3
572
+ name: xupsBypassTable
573
+ symbols:
574
+ - OID: 1.3.6.1.4.1.534.1.5.3.1.2
575
+ name: xupsBypassVoltage
576
+ chart_meta:
577
+ description: Bypass voltage per phase
578
+ family: 'PowerFlow/Bypass/Phase/Voltage'
579
+ unit: "V"
580
+
581
+ - OID: 1.3.6.1.4.1.534.1.5.3.1.5
582
+ name: xupsBypassCurrentHighPrecision
583
+ scale_factor: 0.1
584
+ chart_meta:
585
+ description: Bypass current per phase (high precision)
586
+ family: 'PowerFlow/Bypass/Phase/Current'
587
+ unit: "A"
588
+
589
+ - OID: 1.3.6.1.4.1.534.1.5.3.1.6
590
+ name: xupsBypassWatts
591
+ chart_meta:
592
+ description: Bypass real power per phase
593
+ family: 'PowerFlow/Bypass/Phase/Power'
594
+ unit: "W"
595
+ metric_tags:
596
+ - tag: phase
597
+ symbol:
598
+ OID: 1.3.6.1.4.1.534.1.5.3.1.1
599
+ name: xupsBypassPhase
600
+ - tag: phase_name
601
+ symbol:
602
+ OID: 1.3.6.1.4.1.534.1.5.3.1.4
603
+ name: xupsBypassName
604
+ - tag: _phase_id
605
+ symbol:
606
+ OID: 1.3.6.1.4.1.534.1.5.3.1.3
607
+ name: xupsBypassId
608
+ mapping:
609
+ 1: "L1-N"
610
+ 2: "L2-N"
611
+ 3: "L3-N"
612
+ 4: "L1-L2"
613
+ 5: "L2-L3"
614
+ 6: "L3-L1"
615
+
616
+ # ==========================================================================
617
+ # Environment Metrics
618
+ # ==========================================================================
619
+ - MIB: XUPS-MIB
620
+ symbol:
621
+ OID: 1.3.6.1.4.1.534.1.6.1.0
622
+ name: xupsEnvAmbientTemp
623
+ chart_meta:
624
+ description: Ambient temperature near UPS
625
+ family: 'Environment/Temperature'
626
+ unit: "Cel"
627
+
628
+ - MIB: XUPS-MIB
629
+ symbol:
630
+ OID: 1.3.6.1.4.1.534.1.6.4.0
631
+ name: xupsEnvAmbientHumidity
632
+ chart_meta:
633
+ description: Ambient humidity near UPS
634
+ family: 'Environment/Humidity'
635
+ unit: "%"
636
+
637
+ # ==========================================================================
638
+ # Alarm Metrics
639
+ # ==========================================================================
640
+ - MIB: XUPS-MIB
641
+ symbol:
642
+ OID: 1.3.6.1.4.1.534.1.7.1.0
643
+ name: xupsAlarms
644
+ chart_meta:
645
+ description: Current number of active alarm conditions
646
+ family: 'System/Alarm/Active'
647
+ unit: "{alarm}"
648
+
649
+ - MIB: XUPS-MIB
650
+ symbol:
651
+ OID: 1.3.6.1.4.1.534.1.7.18.0
652
+ name: xupsAlarmNumEvents
653
+ chart_meta:
654
+ description: Number of entries in UPS event history
655
+ family: 'System/Alarm/Event/History'
656
+ unit: "{event}"
657
+
658
+ # ==========================================================================
659
+ # Test Status Metrics
660
+ # ==========================================================================
661
+ - MIB: XUPS-MIB
662
+ symbol:
663
+ OID: 1.3.6.1.4.1.534.1.8.2.0
664
+ name: xupsTestBatteryStatus
665
+ chart_meta:
666
+ description: Last battery test status
667
+ family: 'System/Test/Status/Battery'
668
+ unit: "{status}"
669
+ mapping:
670
+ 1: unknown
671
+ 2: passed
672
+ 3: failed
673
+ 4: in_progress
674
+ 5: not_supported
675
+ 6: inhibited
676
+ 7: scheduled
677
+
678
+ - MIB: XUPS-MIB
679
+ symbol:
680
+ OID: 1.3.6.1.4.1.534.1.8.4.0
681
+ name: xupsLastGeneralTestResult
682
+ chart_meta:
683
+ description: Last general test result
684
+ family: 'System/Test/Status/General'
685
+ unit: "{status}"
686
+ mapping:
687
+ 1: unknown
688
+ 2: passed
689
+ 3: failed
690
+ 4: in_progress
691
+ 5: not_supported
692
+ 6: inhibited
693
+ 7: scheduled
694
+
695
+ # ==========================================================================
696
+ # Configuration Metrics
697
+ # ==========================================================================
698
+ - MIB: XUPS-MIB
699
+ symbol:
700
+ OID: 1.3.6.1.4.1.534.1.10.1.0
701
+ name: xupsConfigOutputVoltage
702
+ chart_meta:
703
+ description: Nominal output voltage
704
+ family: 'System/Config/Voltage/Output'
705
+ unit: "V"
706
+
707
+ - MIB: XUPS-MIB
708
+ symbol:
709
+ OID: 1.3.6.1.4.1.534.1.10.2.0
710
+ name: xupsConfigInputVoltage
711
+ chart_meta:
712
+ description: Nominal input voltage
713
+ family: 'System/Config/Voltage/Input'
714
+ unit: "V"
715
+
716
+ - MIB: XUPS-MIB
717
+ symbol:
718
+ OID: 1.3.6.1.4.1.534.1.10.3.0
719
+ name: xupsConfigOutputWatts
720
+ chart_meta:
721
+ description: Nominal output power capacity
722
+ family: 'System/Config/Power/Capacity'
723
+ unit: "W"
724
+
725
+ - MIB: XUPS-MIB
726
+ symbol:
727
+ OID: 1.3.6.1.4.1.534.1.10.4.0
728
+ name: xupsConfigOutputFreq
729
+ scale_factor: 0.1
730
+ chart_meta:
731
+ description: Nominal output frequency
732
+ family: 'System/Config/Frequency'
733
+ unit: "Hz"
734
+
735
+ # ==========================================================================
736
+ # Receptacle Table (Controllable Outlets)
737
+ # ==========================================================================
738
+ - MIB: XUPS-MIB
739
+ symbol:
740
+ OID: 1.3.6.1.4.1.534.1.12.1.0
741
+ name: xupsNumReceptacles
742
+ chart_meta:
743
+ description: Number of controllable receptacles
744
+ family: 'PowerFlow/Receptacle/Total'
745
+ unit: "{receptacle}"
746
+
747
+ - MIB: XUPS-MIB
748
+ table:
749
+ OID: 1.3.6.1.4.1.534.1.12.2
750
+ name: xupsRecepTable
751
+ symbols:
752
+ - OID: 1.3.6.1.4.1.534.1.12.2.1.2
753
+ name: xupsRecepStatus
754
+ chart_meta:
755
+ description: Receptacle power status
756
+ family: 'PowerFlow/Receptacle/Status'
757
+ unit: "{status}"
758
+ mapping:
759
+ 1: on
760
+ 2: off
761
+ 3: pending_off
762
+ 4: pending_on
763
+ 5: unknown
764
+ 6: reserved
765
+ 7: failed_closed
766
+ 8: failed_open
767
+
768
+ - OID: 1.3.6.1.4.1.534.1.12.2.1.8
769
+ name: xupsRecepHourlyPowerUsage
770
+ chart_meta:
771
+ description: Receptacle hourly energy consumption
772
+ family: 'PowerFlow/Receptacle/Energy/Hourly'
773
+ unit: "Wh"
774
+
775
+ - OID: 1.3.6.1.4.1.534.1.12.2.1.9
776
+ name: xupsRecepCumulativePowerUsage
777
+ chart_meta:
778
+ description: Receptacle cumulative energy consumption
779
+ family: 'PowerFlow/Receptacle/Energy/Cumulative'
780
+ unit: "Wh"
781
+ metric_tags:
782
+ - tag: receptacle
783
+ symbol:
784
+ OID: 1.3.6.1.4.1.534.1.12.2.1.1
785
+ name: xupsRecepIndex
786
+
787
+ # ==========================================================================
788
+ # Topology Metrics
789
+ # ==========================================================================
790
+ - MIB: XUPS-MIB
791
+ symbol:
792
+ OID: 1.3.6.1.4.1.534.1.13.1.0
793
+ name: xupsTopologyType
794
+ chart_meta:
795
+ description: UPS power topology type
796
+ family: 'System/Topology/Type'
797
+ unit: "{type}"
798
+
799
+ - MIB: XUPS-MIB
800
+ symbol:
801
+ OID: 1.3.6.1.4.1.534.1.13.3.0
802
+ name: xupsTopoUnitNumber
803
+ chart_meta:
804
+ description: Unit number in parallel system (0=standalone or system view)
805
+ family: 'System/Topology/Unit'
806
+ unit: "{unit}"
807
+
808
+ - MIB: XUPS-MIB
809
+ symbol:
810
+ OID: 1.3.6.1.4.1.534.1.13.4.0
811
+ name: xupsTopoPowerStrategy
812
+ chart_meta:
813
+ description: Current power strategy setting
814
+ family: 'System/Topology/PowerStrategy'
815
+ unit: "{strategy}"
816
+ mapping:
817
+ 1: high_alert
818
+ 2: standard
819
+ 3: enable_high_efficiency
820
+ 4: immediate_high_efficiency
821
+
822
+ # ==========================================================================
823
+ # Control Status Metrics
824
+ # ==========================================================================
825
+ - MIB: XUPS-MIB
826
+ symbol:
827
+ OID: 1.3.6.1.4.1.534.1.9.7.0
828
+ name: xupsSwitchable
829
+ chart_meta:
830
+ description: Whether UPS accepts remote control commands
831
+ family: 'System/Control/Status'
832
+ unit: "{status}"
833
+ mapping:
834
+ 1: switchable
835
+ 2: not_switchable