Files
templates-default/APC_Smart-UPS_2200_RM_by_SNMP.yaml

1556 lines
66 KiB
YAML

zabbix_export:
version: '7.0'
template_groups:
- uuid: 3dcd5bbe90534f9e8eb5c2d53756af63
name: Templates/Power
templates:
- uuid: e8c0b2c40e884f1598d86f3edf020ea7
template: 'APC Smart-UPS 2200 RM by SNMP'
name: 'APC Smart-UPS 2200 RM by SNMP'
description: |
Template Power APC Smart-UPS 2200 RM
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
Generated by official Zabbix template tool "Templator"
vendor:
name: Zabbix
version: 7.0-4
groups:
- name: Templates/Power
items:
- uuid: 6933bd19628f4699974d5dc4b1637c53
name: 'Battery capacity'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.1.2.3.1.0]'
key: 'battery.capacity[upsHighPrecBatteryCapacity]'
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: 58a0749ef9c94cf9802a62d274b6dad9
expression: 'last(/APC Smart-UPS 2200 RM by SNMP/battery.capacity[upsHighPrecBatteryCapacity]) < {$BATTERY.CAPACITY.MIN.WARN}'
name: 'APC Smart-UPS: Battery has low capacity'
event_name: 'APC Smart-UPS: Battery has low capacity (below {$BATTERY.CAPACITY.MIN.WARN}%)'
opdata: 'Current capacity: {ITEM.LASTVALUE1}'
priority: HIGH
tags:
- tag: scope
value: capacity
- uuid: 8ba1d824fdc548b4bca770f4145f7169
name: 'External battery packs count'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.1.2.2.5.0]'
key: 'battery.external_packs_count[upsAdvBatteryNumOfBattPacks]'
delay: 1h
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: 147e0b7b466e402ba59d73d66801ef1a
name: 'Battery last replace date'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.1.2.1.3.0]'
key: 'battery.last_replace_date[upsBasicBatteryLastReplaceDate]'
delay: 1h
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: 4c1107eb93114d9096518dc134e08bdc
name: 'Battery replace indicator'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.1.2.2.4.0]'
key: 'battery.replace_indicator[upsAdvBatteryReplaceIndicator]'
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: 8370727883de45dfa6b6d79f60cc86b3
expression: 'last(/APC Smart-UPS 2200 RM by SNMP/battery.replace_indicator[upsAdvBatteryReplaceIndicator])=2'
name: 'APC Smart-UPS: Battery needs replacement'
priority: HIGH
description: 'A battery installed has an internal error condition.'
tags:
- tag: scope
value: notice
- uuid: 05be71fcb7c1484f876229f48649039e
name: 'Battery runtime remaining'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.1.2.2.3.0]'
key: 'battery.runtime_remaining[upsAdvBatteryRunTimeRemaining]'
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
- uuid: 078719d0396247bca76d85e1e4c650de
name: 'Battery status'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.1.2.1.1.0]'
key: 'battery.status[upsBasicBatteryStatus]'
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: 2fb002b1a4584aa0bf0389360171893c
expression: 'last(/APC Smart-UPS 2200 RM by SNMP/battery.status[upsBasicBatteryStatus])=4'
name: 'APC Smart-UPS: Battery has an internal error condition'
priority: AVERAGE
description: 'A battery installed has an internal error condition.'
tags:
- tag: scope
value: notice
- uuid: 05aa81dc53ab45ffaf46580c9f827759
expression: 'last(/APC Smart-UPS 2200 RM by SNMP/battery.status[upsBasicBatteryStatus])=3'
name: 'APC Smart-UPS: 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: bda8df2bbd2a40dc937b2cd5b8017a68
name: 'Battery temperature'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.1.2.3.2.0]'
key: 'battery.temperature[upsHighPrecBatteryTemperature]'
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: 1e8c0b3d2d65487199e7fc3e1dde6e50
expression: 'min(/APC Smart-UPS 2200 RM by SNMP/battery.temperature[upsHighPrecBatteryTemperature],{$TIME.PERIOD}) > {$BATTERY.TEMP.MAX.WARN}'
name: 'APC Smart-UPS: Battery has high temperature'
event_name: 'APC Smart-UPS: 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: 805d95a6f256410ca083f31cc480b88b
name: 'Battery voltage'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.1.2.3.4.0]'
key: 'battery.voltage[upsHighPrecBatteryActualVoltage]'
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: b83275fc1176451dacaa28606edf045a
name: 'Input fail cause'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.1.3.2.5.0]'
key: 'input.fail[upsAdvInputLineFailCause]'
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: cfd390d57dbc4046a3a6af384420b697
name: 'Input frequency'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.1.3.3.4.0]'
key: 'input.frequency[upsHighPrecInputFrequency]'
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: b89b059a430842aebbd3e6af71514303
expression: 'min(/APC Smart-UPS 2200 RM by SNMP/input.frequency[upsHighPrecInputFrequency],{$TIME.PERIOD}) > 0 and (min(/APC Smart-UPS 2200 RM by SNMP/input.frequency[upsHighPrecInputFrequency],{$TIME.PERIOD}) > {$UPS.INPUT_FREQ.MAX.WARN} or max(/APC Smart-UPS 2200 RM by SNMP/input.frequency[upsHighPrecInputFrequency],{$TIME.PERIOD}) < {$UPS.INPUT_FREQ.MIN.WARN})'
name: 'APC Smart-UPS: Unacceptable input frequency'
event_name: 'APC Smart-UPS: 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: 91a6bc765a954f9e97b855d9dfebd3f7
name: 'Input voltage'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.1.3.3.1.0]'
key: 'input.voltage[upsHighPrecInputLineVoltage]'
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: 2dbc2b96d332488cae4cbf87c985c6b0
expression: 'min(/APC Smart-UPS 2200 RM by SNMP/input.voltage[upsHighPrecInputLineVoltage],{$TIME.PERIOD}) > 0 and (min(/APC Smart-UPS 2200 RM by SNMP/input.voltage[upsHighPrecInputLineVoltage],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC Smart-UPS 2200 RM by SNMP/input.voltage[upsHighPrecInputLineVoltage],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN})'
name: 'APC Smart-UPS: Unacceptable input voltage'
event_name: 'APC Smart-UPS: 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: 744d345cd3964baf85f8fefed19f9001
name: 'Output current'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.1.4.3.4.0]'
key: 'output.current[upsHighPrecOutputCurrent]'
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: df799c65dbe5437aa941de3e6d386b26
name: 'Output load'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.1.4.3.3.0]'
key: 'output.load[upsHighPrecOutputLoad]'
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: edb059eeee004d80a9b42154f16ab18a
expression: 'min(/APC Smart-UPS 2200 RM by SNMP/output.load[upsHighPrecOutputLoad],{$TIME.PERIOD}) > {$UPS.OUTPUT.MAX.WARN}'
name: 'APC Smart-UPS: Output load is high'
event_name: 'APC Smart-UPS: 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: 54d22d1cc362492ebe8695257afc20ec
name: 'Output status'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.1.4.1.1.0]'
key: 'output.status[upsBasicOutputStatus]'
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: 20ffc78c2f314ff58b5e75907605c82f
expression: 'last(/APC Smart-UPS 2200 RM by SNMP/output.status[upsBasicOutputStatus])=16'
name: 'APC Smart-UPS: UPS is Emergency Static Bypass'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: ec6e892f4c51414f887d428510d889e7
expression: 'last(/APC Smart-UPS 2200 RM by SNMP/output.status[upsBasicOutputStatus])=10'
name: 'APC Smart-UPS: UPS is Hardware Failure Bypass'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: f4cb0ed7e65d4ea29394435cce7600f0
expression: 'last(/APC Smart-UPS 2200 RM by SNMP/output.status[upsBasicOutputStatus])=7'
name: 'APC Smart-UPS: UPS is Off'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: e29c2a37586f474f87c388fa8eaf8b9c
expression: 'last(/APC Smart-UPS 2200 RM by SNMP/output.status[upsBasicOutputStatus])=3'
name: 'APC Smart-UPS: UPS is on battery'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: a07afe38040c4fd08488786ca3f529e5
expression: 'last(/APC Smart-UPS 2200 RM by SNMP/output.status[upsBasicOutputStatus])=4'
name: 'APC Smart-UPS: UPS is on Smart Boost'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 58f44a830386434db0f76553f64ebe67
expression: 'last(/APC Smart-UPS 2200 RM by SNMP/output.status[upsBasicOutputStatus])=12'
name: 'APC Smart-UPS: UPS is On Smart Trim'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: eb99c49157a948769128bc9eeeaff3fc
expression: 'last(/APC Smart-UPS 2200 RM by SNMP/output.status[upsBasicOutputStatus])=8'
name: 'APC Smart-UPS: UPS is Rebooting'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: b3d77823096e4bf4a06db8f2307284db
expression: 'last(/APC Smart-UPS 2200 RM by SNMP/output.status[upsBasicOutputStatus])=11'
name: 'APC Smart-UPS: UPS is Sleeping Until Power Return'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 000d6b412dd3467aaee40ce230cc059e
expression: 'last(/APC Smart-UPS 2200 RM by SNMP/output.status[upsBasicOutputStatus])=6'
name: 'APC Smart-UPS: UPS is Software Bypass'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: f1f86a1f23c745658d0c5d10557f67fc
expression: 'last(/APC Smart-UPS 2200 RM by SNMP/output.status[upsBasicOutputStatus])=9'
name: 'APC Smart-UPS: UPS is Switched Bypass'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 434d70c967a9447a9fa927fc2867aa6d
expression: 'last(/APC Smart-UPS 2200 RM by SNMP/output.status[upsBasicOutputStatus])=5'
name: 'APC Smart-UPS: UPS is Timed Sleeping'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 4e43a6966bf642e19567dcd3763125e7
name: 'Output voltage'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.1.4.3.1.0]'
key: 'output.voltage[upsHighPrecOutputVoltage]'
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: 94d838cc8cf2438296477c0139a3c152
name: 'SNMP traps (fallback)'
type: SNMP_TRAP
key: snmptrap.fallback
delay: '0'
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: 943b146891ac461c92d286704a0864b2
name: 'System contact details'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.2.1.1.4.0]'
key: 'system.contact[sysContact.0]'
delay: 15m
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: e5d72eba4dfb41f8ae73904c936dd64b
name: 'System description'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.2.1.1.1.0]'
key: 'system.descr[sysDescr.0]'
delay: 15m
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: 4dbad4f0de7f47fd996fd4b8de048d46
name: 'Uptime (hardware)'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.2.1.25.1.1.0]'
key: 'system.hw.uptime[hrSystemUptime.0]'
delay: 30s
trends: '0'
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: ac995904f95240d9b1f44c27adea5731
name: 'System location'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.2.1.1.6.0]'
key: 'system.location[sysLocation.0]'
delay: 15m
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: 1ba45d867e3d4bb99eeb8c0c320ef127
name: Model
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.1.1.1.1.0]'
key: 'system.model[upsBasicIdentModel]'
delay: 15m
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: d9452c921e4946719726b292d8c0cbd6
name: 'System name'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.2.1.1.5.0]'
key: 'system.name[sysName.0]'
delay: 15m
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: 30153a623f0649e380de8f9ec5086b48
expression: 'last(/APC Smart-UPS 2200 RM by SNMP/system.name[sysName.0],#1)<>last(/APC Smart-UPS 2200 RM by SNMP/system.name[sysName.0],#2) and length(last(/APC Smart-UPS 2200 RM by SNMP/system.name[sysName.0]))>0'
name: 'APC Smart-UPS: System name has changed'
event_name: 'APC Smart-UPS: System name has changed (new name: {ITEM.VALUE})'
priority: INFO
description: 'The name of the system has changed. Acknowledge to close the problem manually.'
manual_close: 'YES'
tags:
- tag: scope
value: notice
- tag: scope
value: security
- uuid: f077c3558d24471ca807ea24b3f0c5ea
name: 'Uptime (network)'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.2.1.1.3.0]'
key: 'system.net.uptime[sysUpTime.0]'
delay: 30s
trends: '0'
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: 5a393860311b4b64ae5a4ce7cd7000dc
name: 'System object ID'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.2.1.1.2.0]'
key: 'system.objectid[sysObjectID.0]'
delay: 15m
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: 4e87619ed81346d497c3c3f548c342b5
name: 'Serial number'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.1.1.2.3.0]'
key: 'system.sn[upsAdvIdentSerialNumber]'
delay: 15m
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: d679688992124f6c91c3f70bcc341d2d
name: 'SNMP agent availability'
type: INTERNAL
key: 'zabbix[host,snmp,available]'
description: |
Availability of SNMP checks on the host. The value of this item corresponds to availability icons in the host list.
Possible values:
0 - not available
1 - available
2 - unknown
valuemap:
name: zabbix.host.available
tags:
- tag: component
value: health
- tag: component
value: network
triggers:
- uuid: e9dc225935594e8aa25fb80fcfa68e4c
expression: 'max(/APC Smart-UPS 2200 RM by SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0'
name: 'APC Smart-UPS: 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: 72077c26a51b43a6afea271e70d13004
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
filter:
evaltype: AND
conditions:
- macro: '{#EXTERNAL_PACKS}'
value: '-1'
operator: NOT_MATCHES_REGEX
formulaid: A
description: 'Discovery of the number of external defective battery packs.'
item_prototypes:
- uuid: 76ae1be14ab6402e9495bf0dea6243f2
name: '{#SNMPINDEX}: External battery packs bad'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.1.2.2.6.0]'
key: 'battery.external_packs_bad[upsAdvBatteryNumOfBadBattPacks.{#SNMPINDEX}]'
delay: 15m
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: 38aa32616e964db088f4faff12867f1a
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
item_prototypes:
- uuid: 153ab66e45ae4bc3bbf33324c111ea5e
name: '{#BATTERY_PACK}.{#CARTRIDGE_INDEX}: Battery estimated replace date'
type: SNMP_AGENT
snmp_oid: 'get[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
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: 2e3adbdd7c9a4f3f9f151d19e69885bf
name: '{#BATTERY_PACK}.{#CARTRIDGE_INDEX}: Battery pack cartridge health'
type: SNMP_AGENT
snmp_oid: 'get[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}]'
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: 02e19fb51d6949cdb99a6aafa71ff654
expression: 'find(/APC Smart-UPS 2200 RM by SNMP/battery.pack.cartridge_health[upsHighPrecBatteryPackCartridgeHealth.{#BATTERY_PACK}.{#CARTRIDGE_INDEX}],,"regexp","^(0)[0|1]{15}$")=1'
name: 'APC Smart-UPS: {#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: 90e566dbc3184ef8b2ff171630a37c8a
name: '{#BATTERY_PACK}.{#CARTRIDGE_INDEX}: Battery status'
type: SNMP_AGENT
snmp_oid: 'get[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}]'
value_type: CHAR
trends: '0'
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.
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: health
- tag: component
value: power
trigger_prototypes:
- uuid: a4f42d0a944f41349e0d206f1181bd3b
expression: 'find(/APC Smart-UPS 2200 RM by SNMP/battery.pack.status[upsHighPrecBatteryPackCartridgeStatus.{#BATTERY_PACK}.{#CARTRIDGE_INDEX}],,"regexp","^(0{16})$")=0'
name: 'APC Smart-UPS: {#BATTERY_PACK}.{#CARTRIDGE_INDEX}: Battery status is not okay'
opdata: 'Current bit set: {ITEM.LASTVALUE1}'
priority: WARNING
description: |
The battery cartridge status:
bit 0 Disconnected
bit 1 Overvoltage
bit 2 NeedsReplacement
bit 3 OvertemperatureCritical
bit 4 Charger
bit 5 TemperatureSensor
bit 6 BusSoftStart
bit 7 OvertemperatureWarning
bit 8 GeneralError
bit 9 Communication
bit 10 DisconnectedFrame
bit 11 FirmwareMismatch
tags:
- tag: scope
value: notice
- uuid: 9277c9b4e065400eb31f2ad965bfa2a5
name: '{#BATTERY_PACK}.{#CARTRIDGE_INDEX}: Battery temperature'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.1.2.3.10.2.1.5.{#SNMPINDEX}]'
key: 'battery.temperature[upsHighPrecBatteryPackTemperature.{#BATTERY_PACK}.{#CARTRIDGE_INDEX}]'
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
trigger_prototypes:
- uuid: cb9603c5b7674e12a1a1ac98d4b73a65
expression: 'min(/APC Smart-UPS 2200 RM by SNMP/battery.temperature[upsHighPrecBatteryPackTemperature.{#BATTERY_PACK}.{#CARTRIDGE_INDEX}],{$TIME.PERIOD}) > {$BATTERY.TEMP.MAX.WARN}'
name: 'APC Smart-UPS: {#BATTERY_PACK}.{#CARTRIDGE_INDEX}: Battery has high temperature'
event_name: 'APC Smart-UPS: {#BATTERY_PACK}.{#CARTRIDGE_INDEX}: 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: 70a45fc5ad1945a89133a4729340bdee
name: '{#BATTERY_PACK}.{#CARTRIDGE_INDEX}: Serial number'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.1.2.3.10.2.1.4.{#SNMPINDEX}]'
key: 'system.sn[upsHighPrecBatteryPackSerialNumber.{#BATTERY_PACK}.{#CARTRIDGE_INDEX}]'
delay: 15m
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: e428310ecc5f4a53ab7932bcf1247a30
name: 'External sensor port 1 discovery'
type: SNMP_AGENT
snmp_oid: 'discovery[{#EXTERNAL_SENSOR1_NAME},1.3.6.1.4.1.318.1.1.25.1.2.1.3]'
key: external.sensor1.discovery
delay: 1h
description: uioSensorStatusTable
item_prototypes:
- uuid: 5bc38e9b268047e09d77fc144395b2df
name: '{#EXTERNAL_SENSOR1_NAME}: Humidity sensor'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.25.1.2.1.7.{#SNMPINDEX}]'
key: 'external.sensor.humidity[uioSensorStatusHumidity.1.{#SNMPINDEX}]'
value_type: FLOAT
units: '%'
description: |
MIB: PowerNet-MIB
The sensor's current humidity reading - a relative humidity
percentage. -1 indicates an invalid reading due to either a
sensor that doesn't read humidity or lost communications.
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: humidity
- tag: component
value: power
- uuid: c4bd5c3b0af145448aa2b084738f5149
name: '{#EXTERNAL_SENSOR1_NAME}: Sensor alarm status'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.25.1.2.1.9.{#SNMPINDEX}]'
key: 'external.sensor.status[uioSensorStatusAlarmStatus.1.{#SNMPINDEX}]'
description: |
MIB: PowerNet-MIB
The alarm status of the sensor. Possible values:
uioNormal (1),
uioWarning (2),
uioCritical (3),
sensorStatusNotApplicable (4)
valuemap:
name: 'PowerNet-MIB::uioSensorStatusAlarmStatus'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: health
- tag: component
value: power
trigger_prototypes:
- uuid: 603b13b89c7b4ad0bd51d63b93501174
expression: 'last(/APC Smart-UPS 2200 RM by SNMP/external.sensor.status[uioSensorStatusAlarmStatus.1.{#SNMPINDEX}])=3'
name: 'APC Smart-UPS: {#EXTERNAL_SENSOR1_NAME}: Sensor has status Critical'
priority: HIGH
description: 'The external sensor has returned a value greater than the critical threshold.'
tags:
- tag: scope
value: notice
- uuid: 9e108d20e6c74e8b96d92f4ce0e7c840
expression: 'last(/APC Smart-UPS 2200 RM by SNMP/external.sensor.status[uioSensorStatusAlarmStatus.1.{#SNMPINDEX}])=4'
name: 'APC Smart-UPS: {#EXTERNAL_SENSOR1_NAME}: Sensor has status Not Applicable'
priority: INFO
description: 'The external sensor does not work or is not connected.'
tags:
- tag: scope
value: notice
- uuid: 007b2f89fc1f445c8e5afb06a176748d
expression: 'last(/APC Smart-UPS 2200 RM by SNMP/external.sensor.status[uioSensorStatusAlarmStatus.1.{#SNMPINDEX}])=2'
name: 'APC Smart-UPS: {#EXTERNAL_SENSOR1_NAME}: Sensor has status Warning'
priority: AVERAGE
description: 'The external sensor has returned a value greater than the warning threshold.'
tags:
- tag: scope
value: notice
- uuid: 87494b17faf349248ed6cffc4c932a0f
name: '{#EXTERNAL_SENSOR1_NAME}: Temperature sensor'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.25.1.2.1.6.{#SNMPINDEX}]'
key: 'external.sensor.temperature[uioSensorStatusTemperatureDegC.1.{#SNMPINDEX}]'
value_type: FLOAT
units: ℃
description: |
MIB: PowerNet-MIB
The sensor's current temperature reading in Celsius.
-1 indicates an invalid reading due to lost communications.
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: power
- tag: component
value: temperature
overrides:
- name: Temp
step: '1'
filter:
conditions:
- macro: '{#EXTERNAL_SENSOR1_NAME}'
value: Temp
formulaid: A
operations:
- operationobject: ITEM_PROTOTYPE
operator: LIKE
value: Humidity
discover: NO_DISCOVER
- uuid: 291c45432792490fb3dbccab1a0b9183
name: 'External sensor port 2 discovery'
type: SNMP_AGENT
snmp_oid: 'discovery[{#EXTERNAL_SENSOR2_NAME},1.3.6.1.4.1.318.1.1.25.1.2.2.3]'
key: external.sensor2.discovery
delay: 1h
description: uioSensorStatusTable
item_prototypes:
- uuid: e2cbe8a1fdfe4d368987a8417dc5637b
name: '{#EXTERNAL_SENSOR2_NAME}: Humidity sensor'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.25.1.2.2.7.{#SNMPINDEX}]'
key: 'external.sensor.humidity[uioSensorStatusHumidity.2.{#SNMPINDEX}]'
value_type: FLOAT
units: '%'
description: |
MIB: PowerNet-MIB
The sensor's current humidity reading - a relative humidity
percentage. -1 indicates an invalid reading due to either a
sensor that doesn't read humidity or lost communications.
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: humidity
- tag: component
value: power
- uuid: fc4623c5e962448dbffc98301ddcef4b
name: '{#EXTERNAL_SENSOR2_NAME}: Sensor alarm status'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.25.1.2.2.9.{#SNMPINDEX}]'
key: 'external.sensor.status[uioSensorStatusAlarmStatus.2.{#SNMPINDEX}]'
description: |
MIB: PowerNet-MIB
The alarm status of the sensor. Possible values:
uioNormal (1),
uioWarning (2),
uioCritical (3),
sensorStatusNotApplicable (4)
valuemap:
name: 'PowerNet-MIB::uioSensorStatusAlarmStatus'
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: health
- tag: component
value: power
trigger_prototypes:
- uuid: 7639c07a79054f9b99687f84db5c95a0
expression: 'last(/APC Smart-UPS 2200 RM by SNMP/external.sensor.status[uioSensorStatusAlarmStatus.2.{#SNMPINDEX}])=3'
name: 'APC Smart-UPS: {#EXTERNAL_SENSOR2_NAME}: Sensor has status Critical'
priority: HIGH
description: 'The external sensor has returned a value greater than the critical threshold.'
tags:
- tag: scope
value: notice
- uuid: a499a1af78a04c77a21c424f3e790787
expression: 'last(/APC Smart-UPS 2200 RM by SNMP/external.sensor.status[uioSensorStatusAlarmStatus.2.{#SNMPINDEX}])=4'
name: 'APC Smart-UPS: {#EXTERNAL_SENSOR2_NAME}: Sensor has status Not Applicable'
priority: INFO
description: 'The external sensor does not work or is not connected.'
tags:
- tag: scope
value: notice
- uuid: c6fc64bbdb3845d5b80d868c392259ac
expression: 'last(/APC Smart-UPS 2200 RM by SNMP/external.sensor.status[uioSensorStatusAlarmStatus.2.{#SNMPINDEX}])=2'
name: 'APC Smart-UPS: {#EXTERNAL_SENSOR2_NAME}: Sensor has status Warning'
priority: AVERAGE
description: 'The external sensor has returned a value greater than the warning threshold.'
tags:
- tag: scope
value: notice
- uuid: b4e350ad5bb24d7b96091f8b9766cff7
name: '{#EXTERNAL_SENSOR2_NAME}: Temperature sensor'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.25.1.2.2.6.{#SNMPINDEX}]'
key: 'external.sensor.temperature[uioSensorStatusTemperatureDegC.2.{#SNMPINDEX}]'
value_type: FLOAT
units: ℃
description: |
MIB: PowerNet-MIB
The sensor's current temperature reading in Celsius.
-1 indicates an invalid reading due to lost communications.
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: power
- tag: component
value: temperature
overrides:
- name: Temp
step: '1'
filter:
conditions:
- macro: '{#EXTERNAL_SENSOR2_NAME}'
value: Temp
formulaid: A
operations:
- operationobject: ITEM_PROTOTYPE
operator: LIKE
value: Humidity
discover: NO_DISCOVER
- uuid: f39e3c1e6b774ada90ca722cb6ca59b4
name: 'Input phases discovery'
type: SNMP_AGENT
snmp_oid: 'discovery[{#PHASEINDEX},1.3.6.1.4.1.318.1.1.1.9.2.3.1.2.1.1]'
key: input.phases.discovery
delay: 1h
description: 'The input phase identifier. OID upsPhaseInputPhaseIndex.1.1'
item_prototypes:
- uuid: 2be0a7af3cd34723aa5560cd0f86cb44
name: '{#PHASEINDEX}: Phase input current'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.1.9.2.3.1.6.1.1.{#PHASEINDEX}]'
key: 'phase.input.current[upsPhaseInputCurrent.1.1.{#PHASEINDEX}]'
value_type: FLOAT
units: A
description: |
MIB: PowerNet-MIB
The input current in 0.1 amperes, or -0.1 if it's
unsupported by this UPS.
preprocessing:
- type: MULTIPLIER
parameters:
- '0.1'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: power
- uuid: dac612b382ce4b93b588e2ba43c01c68
name: '{#PHASEINDEX}: Phase input voltage'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.1.9.2.3.1.3.1.1.{#PHASEINDEX}]'
key: 'phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}]'
value_type: FLOAT
units: V
description: |
MIB: PowerNet-MIB
The input voltage in VAC, or -1 if it's unsupported
by this UPS.
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: power
trigger_prototypes:
- uuid: 0e9c22ab97cb4db8b96fb907e4b21e04
expression: 'min(/APC Smart-UPS 2200 RM by SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC Smart-UPS 2200 RM by SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN}'
name: 'APC Smart-UPS: {#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} input voltage'
event_name: 'APC Smart-UPS: {#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} input voltage (out of range {$UPS.INPUT_VOLT.MIN.WARN}-{$UPS.INPUT_VOLT.MAX.WARN}V for {$TIME.PERIOD})'
opdata: 'Current phase {#PHASEINDEX} voltage: {ITEM.LASTVALUE1}'
priority: HIGH
tags:
- tag: scope
value: notice
- uuid: f56bcd41c5ee4e16b2558563718bf2a6
name: 'Output phases discovery'
type: SNMP_AGENT
snmp_oid: 'discovery[{#PHASEINDEX},1.3.6.1.4.1.318.1.1.1.9.3.3.1.2.1.1]'
key: output.phases.discovery
delay: 1h
description: 'The output phase identifier. OID upsPhaseOutputPhaseIndex.1.1'
item_prototypes:
- uuid: 193b0c6624a44545b28009ab31463125
name: '{#PHASEINDEX}: Phase output current'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.1.9.3.3.1.4.1.1.{#PHASEINDEX}]'
key: 'phase.output.current[upsPhaseOutputCurrent.1.1.{#PHASEINDEX}]'
value_type: FLOAT
units: A
description: |
MIB: PowerNet-MIB
The output current in 0.1 amperes drawn
by the load on the UPS, or -1 if it's unsupported
by this UPS.
preprocessing:
- type: MULTIPLIER
parameters:
- '0.1'
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: power
- uuid: 3af338de874c439daeba535156033317
name: '{#PHASEINDEX}: Phase output load, %'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.1.9.3.3.1.10.1.1.{#PHASEINDEX}]'
key: 'phase.output.load.percent[upsPhaseOutputPercentLoad.1.1.{#PHASEINDEX}]'
value_type: FLOAT
units: '%'
description: |
MIB: PowerNet-MIB
The percentage of the UPS load capacity in VA at
redundancy @ (n + x) presently being used on this
output phase, or -1 if it's unsupported by this UPS.
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: power
- uuid: a7aecf3b0c2e448b9c09babc79c52380
name: '{#PHASEINDEX}: Phase output voltage'
type: SNMP_AGENT
snmp_oid: 'get[1.3.6.1.4.1.318.1.1.1.9.3.3.1.3.1.1.{#PHASEINDEX}]'
key: 'phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}]'
value_type: FLOAT
units: V
description: |
MIB: PowerNet-MIB
The output voltage in VAC, or -1 if it's unsupported
by this UPS.
preprocessing:
- type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- 6h
tags:
- tag: component
value: power
trigger_prototypes:
- uuid: 91ac886a5dda41cdb6a6912672d70625
expression: 'min(/APC Smart-UPS 2200 RM by SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC Smart-UPS 2200 RM by SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN}'
name: 'APC Smart-UPS: {#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} output voltage'
event_name: 'APC Smart-UPS: {#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} output voltage (out of range {$UPS.INPUT_VOLT.MIN.WARN}-{$UPS.INPUT_VOLT.MAX.WARN}V for {$TIME.PERIOD})'
opdata: 'Current phase {#PHASEINDEX} voltage: {ITEM.LASTVALUE1}'
priority: HIGH
tags:
- tag: scope
value: notice
tags:
- tag: class
value: power
- tag: target
value: apc
- tag: target
value: apc-smart-ups-2200-rm
macros:
- macro: '{$BATTERY.CAPACITY.MIN.WARN}'
value: '50'
description: 'Minimum battery capacity percentage for trigger expression.'
- macro: '{$BATTERY.TEMP.MAX.WARN}'
value: '55'
description: 'Maximum battery temperature for trigger expression.'
- macro: '{$SNMP.TIMEOUT}'
value: 5m
description: 'The time interval for SNMP agent availability trigger expression.'
- macro: '{$TIME.PERIOD}'
value: 15m
description: 'Time period for trigger expression.'
- macro: '{$UPS.INPUT_FREQ.MAX.WARN}'
value: '50.3'
description: 'Maximum input frequency for trigger expression.'
- macro: '{$UPS.INPUT_FREQ.MIN.WARN}'
value: '49.7'
description: 'Minimum input frequency for trigger expression.'
- macro: '{$UPS.INPUT_VOLT.MAX.WARN}'
value: '243'
description: 'Maximum input voltage for trigger expression.'
- macro: '{$UPS.INPUT_VOLT.MIN.WARN}'
value: '197'
description: 'Minimum input voltage for trigger expression.'
- macro: '{$UPS.OUTPUT.MAX.WARN}'
value: '80'
description: 'Maximum output load in % for trigger expression.'
dashboards:
- uuid: 7167da1ce1f04bf89ebfde0ba7b54b20
name: 'APC Smart-UPS 2200 RM: General'
pages:
- name: 'APC Smart-UPS 2200 RM: General'
widgets:
- type: graph
name: Voltage
width: '36'
height: '5'
fields:
- type: GRAPH
name: graphid.0
value:
host: 'APC Smart-UPS 2200 RM by SNMP'
name: 'APC Smart-UPS 2200 RM: Voltage'
- type: STRING
name: reference
value: AAAAA
- type: graph
name: 'Capacity of the UPS batteries'
'y': '5'
width: '36'
height: '5'
fields:
- type: GRAPH
name: graphid.0
value:
host: 'APC Smart-UPS 2200 RM by SNMP'
name: 'APC Smart-UPS 2200 RM: Capacity of the UPS batteries'
- type: STRING
name: reference
value: AAAAC
- type: graph
name: Output
x: '36'
width: '36'
height: '5'
fields:
- type: GRAPH
name: graphid.0
value:
host: 'APC Smart-UPS 2200 RM by SNMP'
name: 'APC Smart-UPS 2200 RM: Output'
- type: STRING
name: reference
value: AAAAB
valuemaps:
- uuid: 6940a4d08173433bb4bc8ff3b44e578c
name: 'PowerNet-MIB::uioSensorStatusAlarmStatus'
mappings:
- value: '1'
newvalue: Normal
- value: '2'
newvalue: Warning
- value: '3'
newvalue: Critical
- value: '4'
newvalue: 'Not applicable'
- uuid: add26e1622ed4d1fbdb4a9bdbf7facb8
name: 'PowerNet-MIB::upsAdvBatteryReplaceIndicator'
mappings:
- value: '1'
newvalue: 'no Battery Needs Replacing'
- value: '2'
newvalue: 'battery Needs Replacing'
- uuid: 2597173167e34be0943fb6c81f2597e5
name: 'PowerNet-MIB::upsAdvInputLineFailCause'
mappings:
- value: '1'
newvalue: 'no Transfer'
- value: '2'
newvalue: 'High Line Voltage'
- value: '3'
newvalue: Brownout
- value: '4'
newvalue: Blackout
- value: '5'
newvalue: 'Small Momentary Sag'
- value: '6'
newvalue: 'Deep Momentary Sag'
- value: '7'
newvalue: 'Small Momentary Spike'
- value: '8'
newvalue: 'Large Momentary Spike'
- value: '9'
newvalue: 'Self Test'
- value: '10'
newvalue: 'Rate of Voltage Change'
- uuid: 7d2a66214d4b4b96890aa9e1c9bcf050
name: 'PowerNet-MIB::upsBasicBatteryStatus'
mappings:
- value: '1'
newvalue: Unknown
- value: '2'
newvalue: Normal
- value: '3'
newvalue: Low
- value: '4'
newvalue: 'In Fault Condition'
- uuid: 351383a7383a4472a31c09009cf9d1f5
name: 'PowerNet-MIB::upsBasicOutputStatus'
mappings:
- value: '1'
newvalue: Unknown
- value: '2'
newvalue: Online
- value: '3'
newvalue: 'On Battery'
- value: '4'
newvalue: 'On Smart Boost'
- value: '5'
newvalue: 'Timed Sleeping'
- value: '6'
newvalue: 'Software Bypass'
- value: '7'
newvalue: 'Off'
- value: '8'
newvalue: Rebooting
- value: '9'
newvalue: 'Switched Bypass'
- value: '10'
newvalue: 'Hardware Failure Bypass'
- value: '11'
newvalue: 'Sleeping Until Power Return'
- value: '12'
newvalue: 'On Smart Trim'
- value: '13'
newvalue: 'Eco Mode'
- value: '14'
newvalue: 'Hot Standby'
- value: '15'
newvalue: 'On Battery Test'
- value: '16'
newvalue: 'Emergency Static Bypass'
- value: '17'
newvalue: 'Static Bypass Standby'
- value: '18'
newvalue: 'Power Saving Mode'
- value: '19'
newvalue: 'Spot Mode'
- value: '20'
newvalue: E-Conversion
- value: '21'
newvalue: 'Charger Spotmode'
- value: '22'
newvalue: 'Inverter Spotmode'
- value: '23'
newvalue: 'Active Load'
- value: '24'
newvalue: 'Battery Discharge Spotmode'
- value: '25'
newvalue: 'Inverter Standby'
- value: '26'
newvalue: 'Charger Only'
- uuid: 3aadc179423b4298b2e8a6e4850466a5
name: zabbix.host.available
mappings:
- value: '0'
newvalue: 'not available'
- value: '1'
newvalue: available
- value: '2'
newvalue: unknown
triggers:
- uuid: f23282a63bec4b1d951f80439947672d
expression: |
(last(/APC Smart-UPS 2200 RM by SNMP/system.hw.uptime[hrSystemUptime.0])>0 and last(/APC Smart-UPS 2200 RM by SNMP/system.hw.uptime[hrSystemUptime.0])<10m)
or (last(/APC Smart-UPS 2200 RM by SNMP/system.hw.uptime[hrSystemUptime.0])=0 and last(/APC Smart-UPS 2200 RM by SNMP/system.net.uptime[sysUpTime.0])<10m)
name: 'APC Smart-UPS: Host has been restarted'
event_name: 'APC Smart-UPS: {HOST.NAME} has been restarted (uptime < 10m)'
priority: WARNING
description: 'Uptime is less than 10 minutes.'
manual_close: 'YES'
dependencies:
- name: 'APC Smart-UPS: No SNMP data collection'
expression: 'max(/APC Smart-UPS 2200 RM by SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0'
tags:
- tag: scope
value: notice
graphs:
- uuid: 3ea53e2a8a4b4d6e80cd991a20f20ce8
name: 'APC Smart-UPS 2200 RM: Capacity of the UPS batteries'
type: PIE
graph_items:
- color: 199C0D
item:
host: 'APC Smart-UPS 2200 RM by SNMP'
key: 'battery.capacity[upsHighPrecBatteryCapacity]'
- uuid: 3d687b2515494fe191fccaaca5c40333
name: 'APC Smart-UPS 2200 RM: Output'
graph_items:
- color: 199C0D
item:
host: 'APC Smart-UPS 2200 RM by SNMP'
key: 'output.current[upsHighPrecOutputCurrent]'
- sortorder: '1'
color: F63100
item:
host: 'APC Smart-UPS 2200 RM by SNMP'
key: 'output.load[upsHighPrecOutputLoad]'
- uuid: 17a289b5764947758d8eb20425e229d2
name: 'APC Smart-UPS 2200 RM: Voltage'
graph_items:
- color: 199C0D
item:
host: 'APC Smart-UPS 2200 RM by SNMP'
key: 'input.voltage[upsHighPrecInputLineVoltage]'
- sortorder: '1'
color: F63100
item:
host: 'APC Smart-UPS 2200 RM by SNMP'
key: 'output.voltage[upsHighPrecOutputVoltage]'