-
Notifications
You must be signed in to change notification settings - Fork 0
/
APC UPS by SNMP.yaml
1889 lines (1886 loc) · 77.4 KB
/
APC UPS by SNMP.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
zabbix_export:
version: '7.0'
template_groups:
- uuid: a1ddbcb13f68442fb210fd5890f9f2fe
name: GRP_Company_Custom
templates:
- uuid: 3ec55c9966624ef5bc1b50502812d581
template: 'APC UPS by SNMP'
name: 'APC UPS by SNMP'
description: |
Template Power APC UPS
MIBs used:
HOST-RESOURCES-MIB
PowerNet-MIB
SNMPv2-MIB
You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/420730-discussion-thread-for-official-zabbix-template-apc-ups
Template tooling version used: 0.42
vendor:
name: 'https://github.com/vskumbhani'
version: 7.0-4
groups:
- name: GRP_Company_Custom
items:
- uuid: 96898d48b27946bfa9a623d7d0b028be
name: 'Battery capacity'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.318.1.1.1.2.3.1.0
key: 'battery.capacity[upsHighPrecBatteryCapacity]'
delay: 20s
history: 7d
value_type: FLOAT
units: '%'
description: |
MIB: PowerNet-MIB
The remaining battery capacity expressed as
percentage of full capacity.
preprocessing:
- type: MULTIPLIER
parameters:
- '0.1'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: power
triggers:
- uuid: f713b551dcc04be49ff5b2422607ebe5
expression: 'last(/APC UPS by SNMP/battery.capacity[upsHighPrecBatteryCapacity]) < {$BATTERY.CAPACITY.MIN.WARN20}'
name: 'Battery has low capacity 20'
event_name: 'Battery has low capacity (below {$BATTERY.CAPACITY.MIN.WARN20}%)'
opdata: 'Current capacity: {ITEM.LASTVALUE1}'
priority: HIGH
tags:
- tag: scop
value: capacity
- uuid: 4d6bc399b3184d24a4e9e83b577133d5
expression: 'last(/APC UPS by SNMP/battery.capacity[upsHighPrecBatteryCapacity]) < {$BATTERY.CAPACITY.MIN.WARN30}'
name: 'Battery has low capacity 30'
event_name: 'Battery has low capacity (below {$BATTERY.CAPACITY.MIN.WARN30}%)'
opdata: 'Current capacity: {ITEM.LASTVALUE1}'
priority: HIGH
tags:
- tag: scop
value: capacity
- uuid: ec648bf8dfe741c08d661f06dba6917e
expression: 'last(/APC UPS by SNMP/battery.capacity[upsHighPrecBatteryCapacity]) < {$BATTERY.CAPACITY.MIN.WARN40}'
name: 'Battery has low capacity 40'
event_name: 'Battery has low capacity (below {$BATTERY.CAPACITY.MIN.WARN40}%)'
opdata: 'Current capacity: {ITEM.LASTVALUE1}'
priority: AVERAGE
tags:
- tag: scop
value: capacity
- uuid: aa0bbfb321d440438fb421825f23e140
expression: 'last(/APC UPS by SNMP/battery.capacity[upsHighPrecBatteryCapacity]) < {$BATTERY.CAPACITY.MIN.WARN}'
name: 'Battery has low capacity 50'
event_name: 'Battery has low capacity (below {$BATTERY.CAPACITY.MIN.WARN}%)'
opdata: 'Current capacity: {ITEM.LASTVALUE1}'
priority: AVERAGE
tags:
- tag: scope
value: capacity
- uuid: 7ab2c4fc76dc4b93ac889ef90e10555e
expression: 'last(/APC UPS by SNMP/battery.capacity[upsHighPrecBatteryCapacity]) < {$BATTERY.CAPACITY.MIN.WARN20}'
name: 'બેટરી કેપેસિટી ૨૦% થી ઓછી છે.'
event_name: 'બેટરી કેપેસિટી ૨૦% થી ઓછી છે.'
opdata: 'હાલ ની કેપેસીટી: {ITEM.LASTVALUE1}'
priority: HIGH
tags:
- tag: scop
value: capacity
- uuid: fc8372f6e89b46119ff0caf11881bc22
expression: 'last(/APC UPS by SNMP/battery.capacity[upsHighPrecBatteryCapacity]) < {$BATTERY.CAPACITY.MIN.WARN30}'
name: 'બેટરી કેપેસિટી ૩૦% થી ઓછી છે.'
event_name: 'બેટરી કેપેસિટી ૩૦% થી ઓછી છે.'
opdata: 'હાલ ની કેપેસીટી: {ITEM.LASTVALUE1}'
priority: HIGH
tags:
- tag: scop
value: capacity
- uuid: 069c18d9d38748c1a7bf1f976787c7fb
expression: 'last(/APC UPS by SNMP/battery.capacity[upsHighPrecBatteryCapacity]) < {$BATTERY.CAPACITY.MIN.WARN40}'
name: 'બેટરી કેપેસિટી ૪૦% થી ઓછી છે'
event_name: 'બેટરી કેપેસિટી ૪૦% થી ઓછી છે'
opdata: 'હાલ ની કેપેસીટી: {ITEM.LASTVALUE1}'
priority: AVERAGE
tags:
- tag: scop
value: capacity
- uuid: eb60e5bd1248448186078aba0cbc18d3
expression: 'last(/APC UPS by SNMP/battery.capacity[upsHighPrecBatteryCapacity]) < {$BATTERY.CAPACITY.MIN.WARN}'
name: 'બેટરી કેપેસિટી ૫૦% થી ઓછી છે.'
event_name: 'બેટરી કેપેસિટી ૫૦% થી ઓછી છે.'
opdata: 'હાલ ની કેપેસીટી: {ITEM.LASTVALUE1}'
priority: AVERAGE
tags:
- tag: scope
value: capacity
- uuid: 390e33a7623d41d2a8a67752c6d5c733
name: 'External battery packs count'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.318.1.1.1.2.2.5.0
key: 'battery.external_packs_count[upsAdvBatteryNumOfBattPacks]'
delay: 1h
history: 7d
description: |
MIB: PowerNet-MIB
The number of external battery packs connected to the UPS. If
the UPS does not use smart cells then the agent reports
ERROR_NO_SUCH_NAME.
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: inventory
- uuid: 3d69adaa88e64b8084d38c1482815bf2
name: 'Battery last replace date'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.318.1.1.1.2.1.3.0
key: 'battery.last_replace_date[upsBasicBatteryLastReplaceDate]'
delay: 1h
history: 7d
value_type: CHAR
trends: '0'
description: |
MIB: PowerNet-MIB
The date when the UPS system's batteries were last replaced
in mm/dd/yy (or yyyy) format. For Smart-UPS models, this value
is originally set at the factory. When the UPS batteries
are replaced, this value should be reset by the administrator.
For Symmetra PX 250/500 this OID is read-only and is configurable in the local display only.
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: inventory
- uuid: eb74b3671b4d4335ad92bd3b027547b0
name: 'Battery replace indicator'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.318.1.1.1.2.2.4.0
key: 'battery.replace_indicator[upsAdvBatteryReplaceIndicator]'
history: 7d
description: |
MIB: PowerNet-MIB
Indicates whether the UPS batteries need replacement.
valuemap:
name: 'PowerNet-MIB::upsAdvBatteryReplaceIndicator'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: power
triggers:
- uuid: 7e40918732e74b5e8bd854422989e77d
expression: 'last(/APC UPS by SNMP/battery.replace_indicator[upsAdvBatteryReplaceIndicator])=2'
name: 'Battery needs replacement'
priority: HIGH
description: 'A battery installed has an internal error condition.'
tags:
- tag: scope
value: notice
- uuid: f52a3e2ae08c4b2996249c5601b4098d
name: 'Battery runtime remaining'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.318.1.1.1.2.2.3.0
key: 'battery.runtime_remaining[upsAdvBatteryRunTimeRemaining]'
history: 7d
value_type: FLOAT
units: s
description: |
MIB: PowerNet-MIB
The UPS battery run time remaining before battery
exhaustion.
preprocessing:
- type: MULTIPLIER
parameters:
- '0.01'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: power
triggers:
- uuid: 5979ca5e7a944375b9767210f5b40e79
expression: 'last(/APC UPS by SNMP/battery.runtime_remaining[upsAdvBatteryRunTimeRemaining])<{$BATTERY.RUNTIME.MIN.WARN}'
name: 'Battery runtime remaining'
event_name: 'Battery runtime remain below 30 minutes.'
priority: HIGH
manual_close: 'YES'
tags:
- tag: scope
value: capacity
- uuid: f4106603e47e40548592d60a7b8b3148
name: 'Battery status'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.318.1.1.1.2.1.1.0
key: 'battery.status[upsBasicBatteryStatus]'
delay: 10s
history: 7d
description: |
MIB: PowerNet-MIB
The status of the UPS batteries. A batteryLow(3) value
indicates the UPS will be unable to sustain the current
load, and its services will be lost if power is not restored.
The amount of run time in reserve at the time of low battery
can be configured by the upsAdvConfigLowBatteryRunTime.
A batteryInFaultCondition(4)value indicates that a battery
installed has an internal error condition.
valuemap:
name: 'PowerNet-MIB::upsBasicBatteryStatus'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: health
- tag: component
value: power
triggers:
- uuid: 7ae03f3f307b4f11ad2bc0548911cbd3
expression: 'last(/APC UPS by SNMP/battery.status[upsBasicBatteryStatus])=4'
name: 'Battery has an internal error condition'
priority: AVERAGE
description: 'A battery installed has an internal error condition.'
tags:
- tag: scope
value: notice
- uuid: 1282326bb61d45d88671bbbde3fab8ff
expression: 'last(/APC UPS by SNMP/battery.status[upsBasicBatteryStatus])=3'
name: 'Battery is Low'
priority: AVERAGE
description: 'The UPS will be unable to sustain the current load, and its services will be lost if power is not restored.'
tags:
- tag: scope
value: capacity
- uuid: 7c35a9646eed4e4581edc51d42a9604c
name: 'Battery temperature'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.318.1.1.1.2.3.2.0
key: 'battery.temperature[upsHighPrecBatteryTemperature]'
history: 7d
value_type: FLOAT
units: ℃
description: |
MIB: PowerNet-MIB
The current internal UPS temperature in Celsius.
Temperatures below zero read as 0.
preprocessing:
- type: MULTIPLIER
parameters:
- '0.1'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: temperature
triggers:
- uuid: 36a14fe061d1433e9875373307a4e0f4
expression: 'min(/APC UPS by SNMP/battery.temperature[upsHighPrecBatteryTemperature],{$TIME.PERIOD}) > {$BATTERY.TEMP.MAX.WARN}'
name: 'Battery has high temperature'
event_name: 'Battery has high temperature (over {$BATTERY.TEMP.MAX.WARN}℃ for {$TIME.PERIOD})'
opdata: 'Current temperature: {ITEM.LASTVALUE1}'
priority: HIGH
tags:
- tag: scope
value: notice
- uuid: b78d2e9160c74f328b8123ba2031d7bf
name: 'Battery voltage'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.318.1.1.1.2.3.4.0
key: 'battery.voltage[upsHighPrecBatteryActualVoltage]'
history: 7d
value_type: FLOAT
units: V
description: |
MIB: PowerNet-MIB
The actual battery bus voltage in Volts.
preprocessing:
- type: MULTIPLIER
parameters:
- '0.1'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: power
- uuid: 6ce40beab0b44248868652b0ed543afc
name: 'Input fail cause'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.318.1.1.1.3.2.5.0
key: 'input.fail[upsAdvInputLineFailCause]'
history: 7d
description: |
MIB: PowerNet-MIB
The reason for the occurrence of the last transfer to UPS
battery power. The variable is set to:
- noTransfer(1) -- if there is no transfer yet.
- highLineVoltage(2) -- if the transfer to battery is caused
by an over voltage greater than the high transfer voltage.
- brownout(3) -- if the duration of the outage is greater than
five seconds and the line voltage is between 40% of the
rated output voltage and the low transfer voltage.
- blackout(4) -- if the duration of the outage is greater than five
seconds and the line voltage is between 40% of the rated
output voltage and ground.
- smallMomentarySag(5) -- if the duration of the outage is less
than five seconds and the line voltage is between 40% of the
rated output voltage and the low transfer voltage.
- deepMomentarySag(6) -- if the duration of the outage is less
than five seconds and the line voltage is between 40% of the
rated output voltage and ground. The variable is set to
- smallMomentarySpike(7) -- if the line failure is caused by a
rate of change of input voltage less than ten volts per cycle.
- largeMomentarySpike(8) -- if the line failure is caused by
a rate of change of input voltage greater than ten volts per cycle.
- selfTest(9) -- if the UPS was commanded to do a self test.
- rateOfVoltageChange(10) -- if the failure is due to the rate of change of
the line voltage.
valuemap:
name: 'PowerNet-MIB::upsAdvInputLineFailCause'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: power
- uuid: 2c0b565f2b6a44a2a91cc61fd220f056
name: 'Input frequency'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.318.1.1.1.3.3.4.0
key: 'input.frequency[upsHighPrecInputFrequency]'
history: 7d
value_type: FLOAT
units: Hz
description: |
MIB: PowerNet-MIB
The current input frequency to the UPS system in Hz.
preprocessing:
- type: MULTIPLIER
parameters:
- '0.1'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: power
triggers:
- uuid: 1ddd2699b87f452a8893f75f805c0a81
expression: 'min(/APC UPS by SNMP/input.frequency[upsHighPrecInputFrequency],{$TIME.PERIOD}) > 0 and (min(/APC UPS by SNMP/input.frequency[upsHighPrecInputFrequency],{$TIME.PERIOD}) > {$UPS.INPUT_FREQ.MAX.WARN} or max(/APC UPS by SNMP/input.frequency[upsHighPrecInputFrequency],{$TIME.PERIOD}) < {$UPS.INPUT_FREQ.MIN.WARN})'
name: 'Unacceptable input frequency'
event_name: 'Unacceptable input frequency (out of range {$UPS.INPUT_FREQ.MIN.WARN}-{$UPS.INPUT_FREQ.MAX.WARN}Hz for {$TIME.PERIOD})'
opdata: 'Current frequency: {ITEM.LASTVALUE1}'
priority: HIGH
tags:
- tag: scope
value: notice
- uuid: de84a2fbbb464023a7b73e01895a9e9d
name: 'Input voltage'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.318.1.1.1.3.3.1.0
key: 'input.voltage[upsHighPrecInputLineVoltage]'
history: 7d
value_type: FLOAT
units: V
description: |
MIB: PowerNet-MIB
The current utility line voltage in VAC.
preprocessing:
- type: MULTIPLIER
parameters:
- '0.1'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: power
triggers:
- uuid: f6527c4fed3d41168be23f9367f18405
expression: 'min(/APC UPS by SNMP/input.voltage[upsHighPrecInputLineVoltage],{$TIME.PERIOD}) > 0 and (min(/APC UPS by SNMP/input.voltage[upsHighPrecInputLineVoltage],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC UPS by SNMP/input.voltage[upsHighPrecInputLineVoltage],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN})'
name: 'Unacceptable input voltage'
event_name: 'Unacceptable input voltage (out of range {$UPS.INPUT_VOLT.MIN.WARN}-{$UPS.INPUT_VOLT.MAX.WARN}V for {$TIME.PERIOD})'
opdata: 'Current voltage: {ITEM.LASTVALUE1}'
priority: HIGH
tags:
- tag: scope
value: notice
- uuid: a332c87a948045beae13f74984245b86
name: 'Output current'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.318.1.1.1.4.3.4.0
key: 'output.current[upsHighPrecOutputCurrent]'
history: 7d
value_type: FLOAT
units: A
description: |
MIB: PowerNet-MIB
The current in amperes drawn by the load on the UPS.
preprocessing:
- type: MULTIPLIER
parameters:
- '0.1'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: power
- uuid: c17c7fd7e6504592869dc14c4a002254
name: 'Output load'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.318.1.1.1.4.3.3.0
key: 'output.load[upsHighPrecOutputLoad]'
history: 7d
value_type: FLOAT
units: '%'
description: |
MIB: PowerNet-MIB
The current UPS load expressed as percentage
of rated capacity.
preprocessing:
- type: MULTIPLIER
parameters:
- '0.1'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: power
triggers:
- uuid: ebef08a42d1e47ffa82ea586c1a5b3d6
expression: 'min(/APC UPS by SNMP/output.load[upsHighPrecOutputLoad],{$TIME.PERIOD}) > {$UPS.OUTPUT.MAX.WARN}'
name: 'Output load is high'
event_name: 'Output load is high (over {$UPS.OUTPUT.MAX.WARN}% for {$TIME.PERIOD})'
opdata: 'Current load: {ITEM.LASTVALUE1}'
priority: HIGH
description: 'A battery installed has an internal error condition.'
tags:
- tag: scope
value: notice
- uuid: 0ae99a18a5c24fb0b812353d25459e1f
name: 'Output status'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.318.1.1.1.4.1.1.0
key: 'output.status[upsBasicOutputStatus]'
delay: 10s
history: 3d
trends: 7d
description: |
MIB: PowerNet-MIB
The current state of the UPS. If the UPS is unable to
determine the state of the UPS this variable is set
to unknown(1).
During self-test most UPSes report onBattery(3) but
some that support it will report onBatteryTest(15).
To determine self-test status across all UPSes, refer
to the upsBasicStateOutputState OID.
valuemap:
name: 'PowerNet-MIB::upsBasicOutputStatus'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: health
- tag: component
value: power
triggers:
- uuid: c0e0b1db9a1f41379c340c122426778d
expression: 'last(/APC UPS by SNMP/output.status[upsBasicOutputStatus])=16'
name: 'UPS is Emergency Static Bypass'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 381a6a75d9084ff1bfcc30b6870a2682
expression: 'last(/APC UPS by SNMP/output.status[upsBasicOutputStatus])=10'
name: 'UPS is Hardware Failure Bypass'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: da75b5277ceb423fac8d90b58d49c21f
expression: 'last(/APC UPS by SNMP/output.status[upsBasicOutputStatus])=7'
name: 'UPS is Off'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: b0330f707fc64605934ed95233bd2246
expression: 'last(/APC UPS by SNMP/output.status[upsBasicOutputStatus])=3'
name: 'UPS is on battery'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: f8d75a2fdb6942e6b63831d206c78e56
expression: 'last(/APC UPS by SNMP/output.status[upsBasicOutputStatus])=4'
name: 'UPS is on Smart Boost'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 8eb59b4873e14acfa8e05791ed30c9d1
expression: 'last(/APC UPS by SNMP/output.status[upsBasicOutputStatus])=12'
name: 'UPS is On Smart Trim'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: e06247b357b849d3ad1886f797705320
expression: 'last(/APC UPS by SNMP/output.status[upsBasicOutputStatus])=8'
name: 'UPS is Rebooting'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 9b4424babc284dcabfb44dc725c03f40
expression: 'last(/APC UPS by SNMP/output.status[upsBasicOutputStatus])=11'
name: 'UPS is Sleeping Until Power Return'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 9ac2faafee484894bb304da02d6ab0b2
expression: 'last(/APC UPS by SNMP/output.status[upsBasicOutputStatus])=6'
name: 'UPS is Software Bypass'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: ce16d33b10e74b129d22378f96ede052
expression: 'last(/APC UPS by SNMP/output.status[upsBasicOutputStatus])=9'
name: 'UPS is Switched Bypass'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: aa84fc5fd4434101a481481beb616a7c
expression: 'last(/APC UPS by SNMP/output.status[upsBasicOutputStatus])=5'
name: 'UPS is Timed Sleeping'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 9eb49ddab39e4f74b20a3dd3e5970731
expression: 'last(/APC UPS by SNMP/output.status[upsBasicOutputStatus])=3'
name: 'UPS બેટરી ઉપર છે'
opdata: 'હાલ નું સ્ટેટસ: {ITEM.LASTVALUE1}'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 37d7eda5664c4ae2b4a126c60a8eb40b
name: 'Output voltage'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.318.1.1.1.4.3.1.0
key: 'output.voltage[upsHighPrecOutputVoltage]'
history: 7d
value_type: FLOAT
units: V
description: |
MIB: PowerNet-MIB
The output voltage of the UPS system in VAC.
preprocessing:
- type: MULTIPLIER
parameters:
- '0.1'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: power
- uuid: 2c52ba1a964a40e1b4a75582ee6ad43b
name: 'SNMP traps (fallback)'
type: SNMP_TRAP
key: snmptrap.fallback
delay: '0'
history: 2w
value_type: LOG
trends: '0'
description: 'The item is used to collect all SNMP traps unmatched by other snmptrap items'
logtimefmt: 'hh:mm:sszyyyy/MM/dd'
tags:
- tag: component
value: network
- uuid: 299e4e11e0374888877e1dc386409726
name: 'System contact details'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.4.0
key: 'system.contact[sysContact.0]'
delay: 15m
history: 2w
value_type: CHAR
trends: '0'
description: |
MIB: SNMPv2-MIB
The textual identification of the contact person for this managed
node, together with information on how to contact this person. If no contact
information is known, the value is the zero-length string.
inventory_link: CONTACT
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 12h
tags:
- tag: component
value: system
- uuid: ed42f6f2d8c24176b53f38e0a857a129
name: 'System description'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.1.0
key: 'system.descr[sysDescr.0]'
delay: 15m
history: 2w
value_type: CHAR
trends: '0'
description: |
MIB: SNMPv2-MIB
A textual description of the entity. This value should
include the full name and version identification of the system's hardware type, software operating-system, and
networking software.
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 12h
tags:
- tag: component
value: system
- uuid: b3d5eea37f934efdac4885bcadc73b9b
name: 'Uptime (hardware)'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.25.1.1.0
key: 'system.hw.uptime[hrSystemUptime.0]'
delay: 30s
history: 2w
trends: 0d
units: uptime
description: |
MIB: HOST-RESOURCES-MIB
The amount of time since this host was last initialized.
Note that this is different from sysUpTime in the SNMPv2-MIB
[RFC1907] because sysUpTime is the uptime of the
network management portion of the system.
preprocessing:
- type: CHECK_NOT_SUPPORTED
parameters:
- '-1'
error_handler: CUSTOM_VALUE
error_handler_params: '0'
- type: MULTIPLIER
parameters:
- '0.01'
tags:
- tag: component
value: system
- uuid: 445d7a843340424ab7c09ab001d5865c
name: 'System location'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.6.0
key: 'system.location[sysLocation.0]'
delay: 15m
history: 2w
value_type: CHAR
trends: '0'
description: |
MIB: SNMPv2-MIB
The physical location of this node (e.g., `telephone closet,
3rd floor'). If the location is unknown, the value is the zero-length string.
inventory_link: LOCATION
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: system
- uuid: 6030dbee3cc24dbeb15e4b802e89cbc8
name: Model
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.318.1.1.1.1.1.1.0
key: 'system.model[upsBasicIdentModel]'
delay: 15m
history: 7d
value_type: CHAR
trends: '0'
description: |
MIB: PowerNet-MIB
The UPS model name (e.g. 'APC Smart-UPS 600').
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: inventory
- uuid: 45a80892f41b411e8457f99b069b59ee
name: 'System name'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.5.0
key: 'system.name[sysName.0]'
delay: 15m
history: 2w
value_type: CHAR
trends: '0'
description: |
MIB: SNMPv2-MIB
An administratively-assigned name for this managed node.By
convention, this is the node's fully-qualified domain name. If the name is unknown,
the value is the zero-length string.
inventory_link: NAME
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: system
triggers:
- uuid: facbfd1f8bb04401b563c162d7fe13a5
expression: 'last(/APC UPS by SNMP/system.name[sysName.0],#1)<>last(/APC UPS by SNMP/system.name[sysName.0],#2) and length(last(/APC UPS by SNMP/system.name[sysName.0]))>0'
name: 'System name has changed'
event_name: 'System name has changed (new name: {ITEM.VALUE})'
priority: INFO
description: 'System name has changed. Ack to close.'
manual_close: 'YES'
tags:
- tag: scope
value: notice
- tag: scope
value: security
- uuid: 701fa778bc03444aad94343d0dbe048e
name: 'Uptime (network)'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.3.0
key: 'system.net.uptime[sysUpTime.0]'
delay: 30s
history: 2w
trends: 0d
units: uptime
description: |
MIB: SNMPv2-MIB
The time (in hundredths of a second) since the network management
portion of the system was last re-initialized.
preprocessing:
- type: MULTIPLIER
parameters:
- '0.01'
tags:
- tag: component
value: system
- uuid: 6780faad9fc9492f9f92915db5161e43
name: 'System object ID'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.2.0
key: 'system.objectid[sysObjectID.0]'
delay: 15m
history: 2w
value_type: CHAR
trends: '0'
description: |
MIB: SNMPv2-MIB
The vendor's authoritative identification of the network management
subsystem contained in the entity. This value is allocated within the SMI enterprises
subtree (1.3.6.1.4.1) and provides an easy and unambiguous means for determining`what
kind of box' is being managed. For example, if vendor`Flintstones, Inc.' was
assigned the subtree1.3.6.1.4.1.4242, it could assign the identifier 1.3.6.1.4.1.4242.1.1
to its `Fred Router'.
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: system
- uuid: 1df309508ac9433397f88120b2895451
name: 'Serial number'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.318.1.1.1.1.2.3.0
key: 'system.sn[upsAdvIdentSerialNumber]'
delay: 15m
history: 7d
value_type: CHAR
trends: '0'
description: |
MIB: PowerNet-MIB
An 8-character string identifying the serial number of
the UPS internal microprocessor. This number is set at
the factory. NOTE: This number does NOT correspond to
the serial number on the rear of the UPS.
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: inventory
- uuid: c03ea2c1382e4c1bb95765b91e126e3f
name: 'UPS Internal Temperature'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.318.1.1.1.4.1.4.0
key: upsInternalTemp
history: 30d
trends: 30d
units: ℃
description: 'The actual internal temperature of the UPS system in Celsius.'
tags:
- tag: component
value: temperature
- uuid: ca3275f69f3c4e7c9c71108451c0b64f
name: 'SNMP agent availability'
type: INTERNAL
key: 'zabbix[host,snmp,available]'
history: 7d
description: |
Availability of SNMP checks on the host. The value of this item corresponds to availability icons in the host list.
Possible value:
0 - not available
1 - available
2 - unknown
valuemap:
name: zabbix.host.available
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: health
- tag: component
value: network
triggers:
- uuid: 4572d871f1d944bb855b93fdc6de5e88
expression: 'max(/APC UPS by SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0'
name: 'No SNMP data collection'
opdata: 'Current state: {ITEM.LASTVALUE1}'
priority: WARNING
description: 'SNMP is not available for polling. Please check device connectivity and SNMP settings.'
tags:
- tag: scope
value: availability
discovery_rules:
- uuid: 52345d2975214002bdd05a24e43484a8
name: 'External bad battery packs discovery'
type: SNMP_AGENT
snmp_oid: 'discovery[{#EXTERNAL_PACKS},1.3.6.1.4.1.318.1.1.1.2.2.6]'
key: battery.packs.bad.discovery
delay: 1h
lifetime: 30d
enabled_lifetime_type: DISABLE_NEVER
description: 'Discovery of the number of external defective battery packs.'
item_prototypes:
- uuid: c4dccc96218448d696952f6ea5d1f24b
name: '{#SNMPINDEX}: External battery packs bad'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.4.1.318.1.1.1.2.2.6.0
key: 'battery.external_packs_bad[upsAdvBatteryNumOfBadBattPacks.{#SNMPINDEX}]'
history: 7d
trends: 30d
description: |
MIB: PowerNet-MIB
The number of external battery packs connected to the UPS that
are defective. If the UPS does not use smart cells then the
agent reports ERROR_NO_SUCH_NAME.
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: inventory
- uuid: f7eb1c82c6694e72b7d28ba4d71d8741
name: 'External battery packs discovery'
type: SNMP_AGENT
snmp_oid: 'discovery[{#CARTRIDGE_STATUS},1.3.6.1.4.1.318.1.1.1.2.3.10.2.1.7,{#BATTERY_PACK},1.3.6.1.4.1.318.1.1.1.2.3.10.2.1.1,{#CARTRIDGE_INDEX},1.3.6.1.4.1.318.1.1.1.2.3.10.2.1.2]'
key: battery.packs.discovery
delay: 1h
filter:
evaltype: AND
conditions:
- macro: '{#CARTRIDGE_STATUS}'
value: ^$
operator: NOT_MATCHES_REGEX
formulaid: A
lifetime: 30d
enabled_lifetime_type: DISABLE_NEVER
item_prototypes:
- uuid: a168ef9da6504b31a8234b272f1a1a80
name: '{#BATTERY_PACK}.{#CARTRIDGE_INDEX}: Battery estimated replace date'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.318.1.1.1.2.3.10.2.1.8.{#SNMPINDEX}'
key: 'battery.estimated_replace_date[upsHighPrecBatteryPackCartridgeReplaceDate.{#BATTERY_PACK}.{#CARTRIDGE_INDEX}]'
delay: 1h
history: 7d
value_type: CHAR
trends: '0'
description: |
MIB: PowerNet-MIB
The battery cartridge estimated battery replace date.
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: inventory
- tag: component
value: power
- uuid: fd71d1ceaf524aeaac38de5f63d101fd
name: '{#BATTERY_PACK}.{#CARTRIDGE_INDEX}: Battery pack cartridge health'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.318.1.1.1.2.3.10.2.1.7.{#SNMPINDEX}'
key: 'battery.pack.cartridge_health[upsHighPrecBatteryPackCartridgeHealth.{#BATTERY_PACK}.{#CARTRIDGE_INDEX}]'
history: 7d
value_type: CHAR
trends: '0'
description: |
MIB: PowerNet-MIB
The battery cartridge health.
bit 0 Battery lifetime okay
bit 1 Battery lifetime near end, order replacement cartridge
bit 2 Battery lifetime exceeded, replace battery
bit 3 Battery lifetime near end acknowledged, order replacement cartridge
bit 4 Battery lifetime exceeded acknowledged, replace battery
bit 5 Battery measured lifetime near end, order replacement cartridge
bit 6 Battery measured lifetime near end acknowledged, order replacement cartridge
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: health
- tag: component
value: power
trigger_prototypes:
- uuid: a248194aa30645c5918278b83944b20e
expression: 'find(/APC UPS by SNMP/battery.pack.cartridge_health[upsHighPrecBatteryPackCartridgeHealth.{#BATTERY_PACK}.{#CARTRIDGE_INDEX}],,"regexp","^(0)[0|1]{15}$")=1'
name: '{#BATTERY_PACK}.{#CARTRIDGE_INDEX}: Battery lifetime is not okay'
opdata: 'Current bit set: {ITEM.LASTVALUE1}'
priority: WARNING
description: |
The battery cartridge health.
bit 0 Battery lifetime okay
bit 1 Battery lifetime near end, order replacement cartridge
bit 2 Battery lifetime exceeded, replace battery
bit 3 Battery lifetime near end acknowledged, order replacement cartridge
bit 4 Battery lifetime exceeded acknowledged, replace battery
bit 5 Battery measured lifetime near end, order replacement cartridge
bit 6 Battery measured lifetime near end acknowledged, order replacement cartridge
tags:
- tag: scope
value: notice
- uuid: fa05e062413a4c1fba4d35e3006b91f4
name: '{#BATTERY_PACK}.{#CARTRIDGE_INDEX}: Battery status'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.318.1.1.1.2.3.10.2.1.10.{#SNMPINDEX}'
key: 'battery.pack.status[upsHighPrecBatteryPackCartridgeStatus.{#BATTERY_PACK}.{#CARTRIDGE_INDEX}]'
history: 7d
value_type: CHAR
trends: '0'