Files
templates-default/APC_Smart-UPS_3000_XLM_by_SNMP.yaml

1556 lines
67 KiB
YAML

zabbix_export:
version: '7.0'
template_groups:
- uuid: 3dcd5bbe90534f9e8eb5c2d53756af63
name: Templates/Power
templates:
- uuid: eafd78764fde4110b9e46ae184f327ba
template: 'APC Smart-UPS 3000 XLM by SNMP'
name: 'APC Smart-UPS 3000 XLM by SNMP'
description: |
Template Power APC Smart-UPS 3000 XLM
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: 6e8ed2c349d744a1a07928b32cf574c3
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: 13fe1336e40c4bafb8dbd409497abf8f
expression: 'last(/APC Smart-UPS 3000 XLM 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: 86780568c0594469bc7324c68440cbec
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: 1928e58e65a34b188916086bad5b8725
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: b50a17ab043c404990dd088ac9f74078
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: 4590ac935e044c19978fe01d117e2995
expression: 'last(/APC Smart-UPS 3000 XLM 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: d15c36fb66754791b1014f52171efe1c
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: 9fa77fdcbd7343ca904c6282efcb7c72
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: e98ba83e63d246408aeeda76da62d5a4
expression: 'last(/APC Smart-UPS 3000 XLM 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: 51e3281c49454cf997561c857a34a803
expression: 'last(/APC Smart-UPS 3000 XLM 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: bded43c8a4eb4d1b9cf5403d3f3027cd
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: 1c67af712882479bbf7143bd3e16ed77
expression: 'min(/APC Smart-UPS 3000 XLM 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: e478bdaa89674f6792e39ff1a2d9a413
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: 7b7d6fdeea2e49c9bb74eb301ecca93a
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: ab28b72c192e48b5819079bd386ba8ea
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: 78e47553d4bb488991067f53cc8f8a01
expression: 'min(/APC Smart-UPS 3000 XLM by SNMP/input.frequency[upsHighPrecInputFrequency],{$TIME.PERIOD}) > 0 and (min(/APC Smart-UPS 3000 XLM by SNMP/input.frequency[upsHighPrecInputFrequency],{$TIME.PERIOD}) > {$UPS.INPUT_FREQ.MAX.WARN} or max(/APC Smart-UPS 3000 XLM 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: e90dbc034cc447afb4ac1c8ced484882
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: 28ad85fa6035433f9a7ec45a8393b603
expression: 'min(/APC Smart-UPS 3000 XLM by SNMP/input.voltage[upsHighPrecInputLineVoltage],{$TIME.PERIOD}) > 0 and (min(/APC Smart-UPS 3000 XLM by SNMP/input.voltage[upsHighPrecInputLineVoltage],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC Smart-UPS 3000 XLM 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: a8d017e0fa5d4eca838ad068f0dffcd9
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: a2613c8d71864594a0c94064d99e059e
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: f667172a5cf44ed6b98f2bb38a3f3806
expression: 'min(/APC Smart-UPS 3000 XLM 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: 107461ac37984a708acf7f55ae248d67
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: 80e30d37b1724c6ba1d58cedbcf6307f
expression: 'last(/APC Smart-UPS 3000 XLM by SNMP/output.status[upsBasicOutputStatus])=16'
name: 'APC Smart-UPS: UPS is Emergency Static Bypass'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 9bb143ada4194c0084eb70af7bb2c5dc
expression: 'last(/APC Smart-UPS 3000 XLM by SNMP/output.status[upsBasicOutputStatus])=10'
name: 'APC Smart-UPS: UPS is Hardware Failure Bypass'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 7132f256542540acadb0caf90144a29c
expression: 'last(/APC Smart-UPS 3000 XLM by SNMP/output.status[upsBasicOutputStatus])=7'
name: 'APC Smart-UPS: UPS is Off'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 737693e5e4274823a9a21ff92a6ca98a
expression: 'last(/APC Smart-UPS 3000 XLM by SNMP/output.status[upsBasicOutputStatus])=3'
name: 'APC Smart-UPS: UPS is on battery'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: c2fd31cfe3b8474f80b52a2340108b6a
expression: 'last(/APC Smart-UPS 3000 XLM by SNMP/output.status[upsBasicOutputStatus])=4'
name: 'APC Smart-UPS: UPS is on Smart Boost'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 2c3a2e962c1e45f6858e5c1aaecee4a3
expression: 'last(/APC Smart-UPS 3000 XLM by SNMP/output.status[upsBasicOutputStatus])=12'
name: 'APC Smart-UPS: UPS is On Smart Trim'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 59d415b15bbf43de85453f5b2ffb73d7
expression: 'last(/APC Smart-UPS 3000 XLM by SNMP/output.status[upsBasicOutputStatus])=8'
name: 'APC Smart-UPS: UPS is Rebooting'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 6811d34cec57401089af9accfd66ca8f
expression: 'last(/APC Smart-UPS 3000 XLM by SNMP/output.status[upsBasicOutputStatus])=11'
name: 'APC Smart-UPS: UPS is Sleeping Until Power Return'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 3c96ce14f54a4a59a2568f1f62117e7b
expression: 'last(/APC Smart-UPS 3000 XLM by SNMP/output.status[upsBasicOutputStatus])=6'
name: 'APC Smart-UPS: UPS is Software Bypass'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 60e83c77157741cbb3d24920e87d7d59
expression: 'last(/APC Smart-UPS 3000 XLM by SNMP/output.status[upsBasicOutputStatus])=9'
name: 'APC Smart-UPS: UPS is Switched Bypass'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: da442de0e8874736aaab88f009aabe76
expression: 'last(/APC Smart-UPS 3000 XLM by SNMP/output.status[upsBasicOutputStatus])=5'
name: 'APC Smart-UPS: UPS is Timed Sleeping'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: ebf71f0afed5460ba4c7f66bb162de9f
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: 92c2ef138bf148199cdb6d9684b6fa23
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: fbcbe2cffc8c4bb6b11276cdd03376c3
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: a312df9175ca45528375398f56fa3b3b
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: ed6ad4e7036548c09b9a61d875aca9e1
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: a5c6c4c44132439abd0e5fd88e3c90cf
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: 272883d0a1cd4bb585a6ede50336c873
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: 1f591627fea54a9ebdd8f10cbf39b9ed
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: c9b1f69a882148a180ec1e2600068671
expression: 'last(/APC Smart-UPS 3000 XLM by SNMP/system.name[sysName.0],#1)<>last(/APC Smart-UPS 3000 XLM by SNMP/system.name[sysName.0],#2) and length(last(/APC Smart-UPS 3000 XLM 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: 39dd6b9b815a4a838a43d2ebf3fcc8f9
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: f6922cd0f93a4a4288a978ff8336226b
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: 0c36d0bb59a44db2b80ae4a4ff2d7c1b
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: edb39f7236d74c6783e0d4b832e0b94b
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: 71994587c45546bfb0950606d7f69936
expression: 'max(/APC Smart-UPS 3000 XLM 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: 2edf8773186845499a991288d1a7a55b
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: 7ff04c0f873c4c0f9af5aca2bd447cce
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: a0d8d681bfb54c1d9792beaf3f708d69
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: 35e7da4783e245a2bfff75f3ae79ff5e
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: b86ac9ee81fe40c8995618c387775270
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: 400987be93b34a78865685fedb72a5ee
expression: 'find(/APC Smart-UPS 3000 XLM 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: db78c715c220433cb338199d43cb84a0
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: 03a100c0bb8d457690e2467c502fcadb
expression: 'find(/APC Smart-UPS 3000 XLM 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: bab950aa54ca425db4593049a64cf56f
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: 9760f6a951a64e3fa6c67a9dd751f79a
expression: 'min(/APC Smart-UPS 3000 XLM 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: d2983b402dfd4435a4790d560da8f6f6
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: 88f5bc98004740fe886f5b1144de2c35
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: 34e5f00097f4448eadf16071cfa234e9
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: 04425d6cc153491d9cb710b875f8c9cb
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: 9ba51ee0398444e1bd12cb805c1f7452
expression: 'last(/APC Smart-UPS 3000 XLM 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: 490e952dfac944afb23eb0e72e081db3
expression: 'last(/APC Smart-UPS 3000 XLM 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: 8b740b88389b457eaa4d1d6c768ec8ae
expression: 'last(/APC Smart-UPS 3000 XLM 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: 29cedff7a5f043caaaa8ff5798b3e925
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: c64b5cb02dec4873a2e041359da3cdf7
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: 445fa35253b942cf8009460ea67701fd
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: 58a2e39cd7fc4fe1bd825ce6086b4931
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: 944fd36a2ad14fd29dd063ad03197cd7
expression: 'last(/APC Smart-UPS 3000 XLM 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: 1a4473a5e1bf4fbbb5761fdb141769c0
expression: 'last(/APC Smart-UPS 3000 XLM 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: af8e01a221b84c73a3f67ab84ed9cfa0
expression: 'last(/APC Smart-UPS 3000 XLM 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: c78cd23b59254174b333514d9c8d28e1
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: ecca1791b7744f30bfcc1018a10cf1fa
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: a8ed43fa8a4543f8ab116c8886511aa3
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: 593b355efb0a4e40bd3527c24994da0a
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: 709ad3894aca49f0be051d338d4ffaed
expression: 'min(/APC Smart-UPS 3000 XLM by SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC Smart-UPS 3000 XLM 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: c1771434bf6b476280c2f2d15bb52608
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: 582f567d83e84d64862183c3b1e248f8
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: 32c88f722f074fd699d880a603aaa91b
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: 0502345887e54bbc849a9a4e46a571da
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: dbdf66b61dce4b6dbf49371e9b1f8146
expression: 'min(/APC Smart-UPS 3000 XLM by SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC Smart-UPS 3000 XLM 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-3000-xlm
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: 7379100c7d074f52a8039eea10755630
name: 'APC Smart-UPS 3000 XLM: General'
pages:
- name: 'APC Smart-UPS 3000 XLM: General'
widgets:
- type: graph
name: Voltage
width: '36'
height: '5'
fields:
- type: GRAPH
name: graphid.0
value:
host: 'APC Smart-UPS 3000 XLM by SNMP'
name: 'APC Smart-UPS 3000 XLM: 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 3000 XLM by SNMP'
name: 'APC Smart-UPS 3000 XLM: 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 3000 XLM by SNMP'
name: 'APC Smart-UPS 3000 XLM: Output'
- type: STRING
name: reference
value: AAAAB
valuemaps:
- uuid: 55fecbd639c44c328b4199569a7305ef
name: 'PowerNet-MIB::uioSensorStatusAlarmStatus'
mappings:
- value: '1'
newvalue: Normal
- value: '2'
newvalue: Warning
- value: '3'
newvalue: Critical
- value: '4'
newvalue: 'Not applicable'
- uuid: 1ce6860b108948bda40d514fd4e3ed69
name: 'PowerNet-MIB::upsAdvBatteryReplaceIndicator'
mappings:
- value: '1'
newvalue: 'no Battery Needs Replacing'
- value: '2'
newvalue: 'battery Needs Replacing'
- uuid: db1fa20d76c8416c83fa0b7fda536fa8
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: 50b6ae187875406ea8ba1669add70899
name: 'PowerNet-MIB::upsBasicBatteryStatus'
mappings:
- value: '1'
newvalue: Unknown
- value: '2'
newvalue: Normal
- value: '3'
newvalue: Low
- value: '4'
newvalue: 'In Fault Condition'
- uuid: 9c5fd52c36f6451ea3f502a871e821d7
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: 89597d423b454a42aa80fa8f7a20f273
name: zabbix.host.available
mappings:
- value: '0'
newvalue: 'not available'
- value: '1'
newvalue: available
- value: '2'
newvalue: unknown
triggers:
- uuid: 15764a5819174d3fadc75436f42650fb
expression: |
(last(/APC Smart-UPS 3000 XLM by SNMP/system.hw.uptime[hrSystemUptime.0])>0 and last(/APC Smart-UPS 3000 XLM by SNMP/system.hw.uptime[hrSystemUptime.0])<10m)
or (last(/APC Smart-UPS 3000 XLM by SNMP/system.hw.uptime[hrSystemUptime.0])=0 and last(/APC Smart-UPS 3000 XLM 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 3000 XLM by SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0'
tags:
- tag: scope
value: notice
graphs:
- uuid: a7185c07025e46c6a3b86c29d9f749b0
name: 'APC Smart-UPS 3000 XLM: Capacity of the UPS batteries'
type: PIE
graph_items:
- color: 199C0D
item:
host: 'APC Smart-UPS 3000 XLM by SNMP'
key: 'battery.capacity[upsHighPrecBatteryCapacity]'
- uuid: 3c778f0c837d4979abb39aabe0cb321e
name: 'APC Smart-UPS 3000 XLM: Output'
graph_items:
- color: 199C0D
item:
host: 'APC Smart-UPS 3000 XLM by SNMP'
key: 'output.current[upsHighPrecOutputCurrent]'
- sortorder: '1'
color: F63100
item:
host: 'APC Smart-UPS 3000 XLM by SNMP'
key: 'output.load[upsHighPrecOutputLoad]'
- uuid: 5f44db14cfc94ae7adf98f8cf1f4b647
name: 'APC Smart-UPS 3000 XLM: Voltage'
graph_items:
- color: 199C0D
item:
host: 'APC Smart-UPS 3000 XLM by SNMP'
key: 'input.voltage[upsHighPrecInputLineVoltage]'
- sortorder: '1'
color: F63100
item:
host: 'APC Smart-UPS 3000 XLM by SNMP'
key: 'output.voltage[upsHighPrecOutputVoltage]'