Files
templates-default/APC_Smart-UPS_SRT_5000_by_SNMP.yaml
T

1556 lines
67 KiB
YAML

zabbix_export:
version: '7.0'
template_groups:
- uuid: 3dcd5bbe90534f9e8eb5c2d53756af63
name: Templates/Power
templates:
- uuid: 8ec76aeb703747a5affdf435bc12f572
template: 'APC Smart-UPS SRT 5000 by SNMP'
name: 'APC Smart-UPS SRT 5000 by SNMP'
description: |
Template Power APC Smart-UPS SRT 5000
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: f5ca8610803e4aca8c6c3c8f6044ca43
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: 0103da3d5f414d8ba1e9914d5c8d5f76
expression: 'last(/APC Smart-UPS SRT 5000 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: 7652aff14f644896be902fe18f3bb46a
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: ee059b1bb6ac486c8c5dd29654899d71
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: f4d790f93a1c4e75a7ebd3d89d0d9d90
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: 09573345f6ce4d648f56117c8755e368
expression: 'last(/APC Smart-UPS SRT 5000 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: 6aacf5a02a824b9d8b3c2676b126b186
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: aebc8b49a97243038b97855c5d20edb7
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: 743aef1e53ee464da48d2953ddc3b85c
expression: 'last(/APC Smart-UPS SRT 5000 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: d648d686ff994625bd17f959c311fddd
expression: 'last(/APC Smart-UPS SRT 5000 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: 48552e466ee54883ae3cbfd5e549ffc5
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: e47ba98e74c94bd3886ac65cd1075359
expression: 'min(/APC Smart-UPS SRT 5000 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: 560031163d54444cb5ead172e9e238d2
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: 09f34437ff2e422bb62d7ba44b05657c
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: fb816e1a6ff640d69a5465e78febc03e
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: 3fa853edcebe42eba858e45f1a4465ee
expression: 'min(/APC Smart-UPS SRT 5000 by SNMP/input.frequency[upsHighPrecInputFrequency],{$TIME.PERIOD}) > 0 and (min(/APC Smart-UPS SRT 5000 by SNMP/input.frequency[upsHighPrecInputFrequency],{$TIME.PERIOD}) > {$UPS.INPUT_FREQ.MAX.WARN} or max(/APC Smart-UPS SRT 5000 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: 65acc805ec7f4a2883d28f51b32054cc
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: 74b42439050b48b6bf41abb5bb39808b
expression: 'min(/APC Smart-UPS SRT 5000 by SNMP/input.voltage[upsHighPrecInputLineVoltage],{$TIME.PERIOD}) > 0 and (min(/APC Smart-UPS SRT 5000 by SNMP/input.voltage[upsHighPrecInputLineVoltage],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC Smart-UPS SRT 5000 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: b0d66c706be8457cbf794171253dd927
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: 5427a9b46ea54920b3fcc7d8ca413e0e
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: e099efa7266f44008819979830147665
expression: 'min(/APC Smart-UPS SRT 5000 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: c87c096a38284b82bb0fd8c9dfe871ef
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: edcc1dc962fa4a228b2f5cd3617efbc6
expression: 'last(/APC Smart-UPS SRT 5000 by SNMP/output.status[upsBasicOutputStatus])=16'
name: 'APC Smart-UPS: UPS is Emergency Static Bypass'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 869fed8cdd5a4f369e3b1ff2474280de
expression: 'last(/APC Smart-UPS SRT 5000 by SNMP/output.status[upsBasicOutputStatus])=10'
name: 'APC Smart-UPS: UPS is Hardware Failure Bypass'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 378a246b34454d73b2248757be60a7ea
expression: 'last(/APC Smart-UPS SRT 5000 by SNMP/output.status[upsBasicOutputStatus])=7'
name: 'APC Smart-UPS: UPS is Off'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 286dc25a245f45c3bdcc64925b41aef6
expression: 'last(/APC Smart-UPS SRT 5000 by SNMP/output.status[upsBasicOutputStatus])=3'
name: 'APC Smart-UPS: UPS is on battery'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 4d02a4c4f25a4efda7bd30def8364972
expression: 'last(/APC Smart-UPS SRT 5000 by SNMP/output.status[upsBasicOutputStatus])=4'
name: 'APC Smart-UPS: UPS is on Smart Boost'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: ae91f99b089748cdaeb0185e31ffe82e
expression: 'last(/APC Smart-UPS SRT 5000 by SNMP/output.status[upsBasicOutputStatus])=12'
name: 'APC Smart-UPS: UPS is On Smart Trim'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 0bb0ef56d82e4c2a9414468c61fb3a96
expression: 'last(/APC Smart-UPS SRT 5000 by SNMP/output.status[upsBasicOutputStatus])=8'
name: 'APC Smart-UPS: UPS is Rebooting'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 6a5a7e4b17384131a337619ec4a9c1e6
expression: 'last(/APC Smart-UPS SRT 5000 by SNMP/output.status[upsBasicOutputStatus])=11'
name: 'APC Smart-UPS: UPS is Sleeping Until Power Return'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 232c98b7ca654c91a20d52ce6f21d7a1
expression: 'last(/APC Smart-UPS SRT 5000 by SNMP/output.status[upsBasicOutputStatus])=6'
name: 'APC Smart-UPS: UPS is Software Bypass'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 65b8d109db8d4448a7ead131581fcbbe
expression: 'last(/APC Smart-UPS SRT 5000 by SNMP/output.status[upsBasicOutputStatus])=9'
name: 'APC Smart-UPS: UPS is Switched Bypass'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 917c1f3c82e044a89f2f56a2c8a602a6
expression: 'last(/APC Smart-UPS SRT 5000 by SNMP/output.status[upsBasicOutputStatus])=5'
name: 'APC Smart-UPS: UPS is Timed Sleeping'
priority: AVERAGE
tags:
- tag: scope
value: notice
- uuid: 998d1322a2274da19abe10cdcb3c52e0
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: 3892c18baef54c598dc78035f5a7540a
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: 7485fd42dd2749028a2d67f315888723
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: 0617c89b47454dbd833fcc2b8d570db8
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: 9d1f4a038ee447639a07f3549ad68840
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: a57de4a9da144c2aa880253e4e2b46f9
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: 7e81f54bbbdd41ca8f9e010dbddc485f
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: 5778610ee61d472d9dc8c8da94f9e301
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: 154aad534c35473cb4513cb4e3d4a082
expression: 'last(/APC Smart-UPS SRT 5000 by SNMP/system.name[sysName.0],#1)<>last(/APC Smart-UPS SRT 5000 by SNMP/system.name[sysName.0],#2) and length(last(/APC Smart-UPS SRT 5000 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: 1b9e4b13cfcb4680b25dd8974900fc17
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: 1782e98504114e7c847b6d127b3a3ae1
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: a3069693d6e545978fb877d767dface5
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: 63079124c55f479dad013d0c15077577
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: 6e0f9b15effd4c9e9c416a99fd8f4517
expression: 'max(/APC Smart-UPS SRT 5000 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: af4472b543b54699b6e812de51be2419
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: a8a07270aac8499391fddfd1b6d517a3
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: a3716fb0833e4655b63ec4ccc5736950
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: b68c1b0a33bf4d2c94bd46e25a6b5e46
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: 8629f478f8e44e079b69914b498ce2f5
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: b29f9bd2e80242be940682139f303121
expression: 'find(/APC Smart-UPS SRT 5000 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: fd2d784d618a4ad883a4afb8a9b94940
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: 0a96a9726cdd4431ad6e6d52e7461d69
expression: 'find(/APC Smart-UPS SRT 5000 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: 6b20217de8474cc08ca3818784804109
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: dbb191572a17451296ae4ee8d3aeec73
expression: 'min(/APC Smart-UPS SRT 5000 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: 7757bd184a7c4c0bbd442c7a3013f6d9
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: e858b8966abc444a914ef60c1708b835
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: bddad787e7df427b8b225c9af517c3c1
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: 5cab24d2166244fd9528930edbafa677
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: fc448a3d2ae4462a903863364bec836d
expression: 'last(/APC Smart-UPS SRT 5000 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: 3340123b060949a4b806a5a757862026
expression: 'last(/APC Smart-UPS SRT 5000 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: 5ac7c47c37804492947716e5857275c4
expression: 'last(/APC Smart-UPS SRT 5000 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: af55c3c3bc2f45ec9f735de0fb5a4285
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: 415a43bfe1d845f88f0ac15e80a0dc14
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: 4a5c62571e0b4fdaa6c7b85645e06649
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: e09e9e197d2f4afc83231cb304a26b09
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: 8774e39abe784f6b9fe2f33c30f3fa05
expression: 'last(/APC Smart-UPS SRT 5000 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: d41c9de571ea4b48a1213f98a058c550
expression: 'last(/APC Smart-UPS SRT 5000 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: c9e751b9449f4616beeb36b51cf0a3b9
expression: 'last(/APC Smart-UPS SRT 5000 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: 7bc1fa7e114e40ffadd4336a3980e4c2
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: 5971a05073b84056bf4e30dfa3e2e18e
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: 847e044ec924456daf41025d312334bf
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: 15de75236e9c44f1bb4bbf4c0425c9c2
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: b8d5cbee0bc14df58a217b33222aa75d
expression: 'min(/APC Smart-UPS SRT 5000 by SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC Smart-UPS SRT 5000 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: e4f2cd7e1f004c4abd5be7e5fc28a9eb
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: 0e4b4159dd0543faa5d93969f8e5753b
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: 3d35f771f73545e2806153f33e747bc4
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: d27c63f29e9b453a9bbdac1c0c8065ae
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: 176a3014124f4f23bedbad120cb2b69a
expression: 'min(/APC Smart-UPS SRT 5000 by SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC Smart-UPS SRT 5000 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-srt-5000
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: 7f7515c4fbfc4b96bb18f66f6fce2dce
name: 'APC Smart-UPS SRT 5000: General'
pages:
- name: 'APC Smart-UPS SRT 5000: General'
widgets:
- type: graph
name: Voltage
width: '36'
height: '5'
fields:
- type: GRAPH
name: graphid.0
value:
host: 'APC Smart-UPS SRT 5000 by SNMP'
name: 'APC Smart-UPS SRT 5000: 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 SRT 5000 by SNMP'
name: 'APC Smart-UPS SRT 5000: 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 SRT 5000 by SNMP'
name: 'APC Smart-UPS SRT 5000: Output'
- type: STRING
name: reference
value: AAAAB
valuemaps:
- uuid: 41e166e2a5f948488238198920ab4b17
name: 'PowerNet-MIB::uioSensorStatusAlarmStatus'
mappings:
- value: '1'
newvalue: Normal
- value: '2'
newvalue: Warning
- value: '3'
newvalue: Critical
- value: '4'
newvalue: 'Not applicable'
- uuid: 224af0a6a5db48ef9c8861bc61873ea9
name: 'PowerNet-MIB::upsAdvBatteryReplaceIndicator'
mappings:
- value: '1'
newvalue: 'no Battery Needs Replacing'
- value: '2'
newvalue: 'battery Needs Replacing'
- uuid: ded19296204545b9ab463d4fc65f3cfd
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: 271d8f0594cf451a8aaa98c84850ebf7
name: 'PowerNet-MIB::upsBasicBatteryStatus'
mappings:
- value: '1'
newvalue: Unknown
- value: '2'
newvalue: Normal
- value: '3'
newvalue: Low
- value: '4'
newvalue: 'In Fault Condition'
- uuid: 171d4d5bf01442e391b04f9e448df5a0
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: 8b4f199f5e704cbea67182d4abf9b8de
name: zabbix.host.available
mappings:
- value: '0'
newvalue: 'not available'
- value: '1'
newvalue: available
- value: '2'
newvalue: unknown
triggers:
- uuid: 7793a5e111c6466584ef6610aae707c1
expression: |
(last(/APC Smart-UPS SRT 5000 by SNMP/system.hw.uptime[hrSystemUptime.0])>0 and last(/APC Smart-UPS SRT 5000 by SNMP/system.hw.uptime[hrSystemUptime.0])<10m)
or (last(/APC Smart-UPS SRT 5000 by SNMP/system.hw.uptime[hrSystemUptime.0])=0 and last(/APC Smart-UPS SRT 5000 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 SRT 5000 by SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0'
tags:
- tag: scope
value: notice
graphs:
- uuid: fb922a035a6748e28dc892af3331dae4
name: 'APC Smart-UPS SRT 5000: Capacity of the UPS batteries'
type: PIE
graph_items:
- color: 199C0D
item:
host: 'APC Smart-UPS SRT 5000 by SNMP'
key: 'battery.capacity[upsHighPrecBatteryCapacity]'
- uuid: 4317390560354b369a884abcbce9a026
name: 'APC Smart-UPS SRT 5000: Output'
graph_items:
- color: 199C0D
item:
host: 'APC Smart-UPS SRT 5000 by SNMP'
key: 'output.current[upsHighPrecOutputCurrent]'
- sortorder: '1'
color: F63100
item:
host: 'APC Smart-UPS SRT 5000 by SNMP'
key: 'output.load[upsHighPrecOutputLoad]'
- uuid: 595018e4c5d8406a805aed647cd2f5d1
name: 'APC Smart-UPS SRT 5000: Voltage'
graph_items:
- color: 199C0D
item:
host: 'APC Smart-UPS SRT 5000 by SNMP'
key: 'input.voltage[upsHighPrecInputLineVoltage]'
- sortorder: '1'
color: F63100
item:
host: 'APC Smart-UPS SRT 5000 by SNMP'
key: 'output.voltage[upsHighPrecOutputVoltage]'