Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'templates/power/apc/apc_ups_snmp')
-rw-r--r--templates/power/apc/apc_ups_snmp/README.md78
-rw-r--r--templates/power/apc/apc_ups_snmp/template_power_apc_ups_snmp.yaml148
2 files changed, 137 insertions, 89 deletions
diff --git a/templates/power/apc/apc_ups_snmp/README.md b/templates/power/apc/apc_ups_snmp/README.md
index d92385e5e0c..680846cb853 100644
--- a/templates/power/apc/apc_ups_snmp/README.md
+++ b/templates/power/apc/apc_ups_snmp/README.md
@@ -51,8 +51,8 @@ There are no template links in this template.
|Output phases discovery |<p>The output phase identifier. OID upsPhaseOutputPhaseIndex.1.1</p> |SNMP |output.phases.discovery |
|External battery packs discovery | |SNMP |battery.packs.discovery<p>**Filter**:</p>AND <p>- A: {#CARTRIDGE_STATUS} NOT_MATCHES_REGEX `^$`</p> |
|External bad battery packs discovery |<p>Discovery of the number of external defective battery packs.</p> |SNMP |battery.packs.bad.discovery |
-|External sensor port 1 discovery |<p>uioSensorStatusTable</p> |SNMP |external.sensor1.discovery |
-|External sensor port 2 discovery |<p>uioSensorStatusTable</p> |SNMP |external.sensor2.discovery |
+|External sensor port 1 discovery |<p>uioSensorStatusTable</p> |SNMP |external.sensor1.discovery<p>**Overrides:**</p><p>Temp<br> - {#EXTERNAL_SENSOR1_NAME} MATCHES_REGEX `Temp`<br> - ITEM_PROTOTYPE LIKE `Humidity` - NO_DISCOVER</p> |
+|External sensor port 2 discovery |<p>uioSensorStatusTable</p> |SNMP |external.sensor2.discovery<p>**Overrides:**</p><p>Temp<br> - {#EXTERNAL_SENSOR2_NAME} MATCHES_REGEX `Temp`<br> - ITEM_PROTOTYPE LIKE `Humidity` - NO_DISCOVER</p> |
## Items collected
@@ -60,12 +60,12 @@ There are no template links in this template.
|-----|----|-----------|----|---------------------|
|General |Model |<p>MIB: PowerNet-MIB</p><p>The UPS model name (e.g. 'APC Smart-UPS 600').</p> |SNMP |system.model[upsBasicIdentModel]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
|General |Serial number |<p>MIB: PowerNet-MIB</p><p>An 8-character string identifying the serial number of</p><p> the UPS internal microprocessor. This number is set at</p><p> the factory. NOTE: This number does NOT correspond to</p><p> the serial number on the rear of the UPS.</p> |SNMP |system.sn[upsAdvIdentSerialNumber]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
-|General |SNMP traps (fallback) |<p>Item is used to collect all SNMP traps unmatched by other snmptrap items</p> |SNMP_TRAP |snmptrap.fallback |
+|General |SNMP traps (fallback) |<p>The item is used to collect all SNMP traps unmatched by other snmptrap items</p> |SNMP_TRAP |snmptrap.fallback |
|General |System location |<p>MIB: SNMPv2-MIB</p><p>The physical location of this node (e.g., `telephone closet,</p><p>3rd floor'). If the location is unknown, the value is the zero-length string.</p> |SNMP |system.location[sysLocation.0]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
-|General |System contact details |<p>MIB: SNMPv2-MIB</p><p>The textual identification of the contact person for this managed</p><p>node, together with information on how to contact this person. If no contact</p><p>information is known, the value is the zero-length string.</p> |SNMP |system.contact[sysContact.0]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1d`</p> |
+|General |System contact details |<p>MIB: SNMPv2-MIB</p><p>The textual identification of the contact person for this managed</p><p>node, together with information on how to contact this person. If no contact</p><p>information is known, the value is the zero-length string.</p> |SNMP |system.contact[sysContact.0]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `12h`</p> |
|General |System object ID |<p>MIB: SNMPv2-MIB</p><p>The vendor's authoritative identification of the network management</p><p>subsystem contained in the entity. This value is allocated within the SMI enterprises</p><p>subtree (1.3.6.1.4.1) and provides an easy and unambiguous means for determining`what</p><p>kind of box' is being managed. For example, if vendor`Flintstones, Inc.' was</p><p>assigned the subtree1.3.6.1.4.1.4242, it could assign the identifier 1.3.6.1.4.1.4242.1.1</p><p>to its `Fred Router'.</p> |SNMP |system.objectid[sysObjectID.0]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
|General |System name |<p>MIB: SNMPv2-MIB</p><p>An administratively-assigned name for this managed node.By</p><p>convention, this is the node's fully-qualified domain name. If the name is unknown,</p><p>the value is the zero-length string.</p> |SNMP |system.name[sysName.0]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
-|General |System description |<p>MIB: SNMPv2-MIB</p><p>A textual description of the entity. This value should</p><p>include the full name and version identification of the system's hardware type, software operating-system, and</p><p>networking software.</p> |SNMP |system.descr[sysDescr.0]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1d`</p> |
+|General |System description |<p>MIB: SNMPv2-MIB</p><p>A textual description of the entity. This value should</p><p>include the full name and version identification of the system's hardware type, software operating-system, and</p><p>networking software.</p> |SNMP |system.descr[sysDescr.0]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `12h`</p> |
|General |{#BATTERY_PACK}.{#CARTRIDGE_INDEX}: Serial number |<p>MIB: PowerNet-MIB</p><p>The battery pack serial number.</p> |SNMP |system.sn[upsHighPrecBatteryPackSerialNumber.{#BATTERY_PACK}.{#CARTRIDGE_INDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
|Status |Battery status |<p>MIB: PowerNet-MIB</p><p>The status of the UPS batteries. A batteryLow(3) value</p><p> indicates the UPS will be unable to sustain the current</p><p> load, and its services will be lost if power is not restored.</p><p> The amount of run time in reserve at the time of low battery</p><p> can be configured by the upsAdvConfigLowBatteryRunTime.</p><p> A batteryInFaultCondition(4)value indicates that a battery</p><p> installed has an internal error condition.</p> |SNMP |battery.status[upsBasicBatteryStatus]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
|Status |Battery capacity |<p>MIB: PowerNet-MIB</p><p>The remaining battery capacity expressed as</p><p> percentage of full capacity.</p> |SNMP |battery.capacity[upsHighPrecBatteryCapacity]<p>**Preprocessing**:</p><p>- MULTIPLIER: `0.1`</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
@@ -83,7 +83,7 @@ There are no template links in this template.
|Status |Output current |<p>MIB: PowerNet-MIB</p><p>The current in amperes drawn by the load on the UPS.</p> |SNMP |output.current[upsHighPrecOutputCurrent]<p>**Preprocessing**:</p><p>- MULTIPLIER: `0.1`</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
|Status |Output status |<p>MIB: PowerNet-MIB</p><p>The current state of the UPS. If the UPS is unable to</p><p> determine the state of the UPS this variable is set</p><p> to unknown(1).</p><p>During self-test most UPSes report onBattery(3) but</p><p> some that support it will report onBatteryTest(15).</p><p> To determine self-test status across all UPSes, refer</p><p> to the upsBasicStateOutputState OID.</p> |SNMP |output.status[upsBasicOutputStatus]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
|Status |Uptime |<p>MIB: SNMPv2-MIB</p><p>The time (in hundredths of a second) since the network management</p><p>portion of the system was last re-initialized.</p> |SNMP |system.uptime[sysUpTime.0]<p>**Preprocessing**:</p><p>- MULTIPLIER: `0.01`</p> |
-|Status |SNMP agent availability |<p>-</p> |INTERNAL |zabbix[host,snmp,available]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
+|Status |SNMP agent availability |<p>Availability of SNMP checks on the host. The value of this item corresponds to availability icons in the host list.</p><p>Possible value:</p><p>0 - not available</p><p>1 - available</p><p>2 - unknown</p> |INTERNAL |zabbix[host,snmp,available]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
|Status |{#PHASEINDEX}: Phase input voltage |<p>MIB: PowerNet-MIB</p><p>The input voltage in VAC, or -1 if it's unsupported</p><p> by this UPS.</p> |SNMP |phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
|Status |{#PHASEINDEX}: Phase input current |<p>MIB: PowerNet-MIB</p><p>The input current in 0.1 amperes, or -0.1 if it's</p><p> unsupported by this UPS.</p> |SNMP |phase.input.current[upsPhaseInputCurrent.1.1.{#PHASEINDEX}]<p>**Preprocessing**:</p><p>- MULTIPLIER: `0.1`</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
|Status |{#PHASEINDEX}: Phase output voltage |<p>MIB: PowerNet-MIB</p><p>The output voltage in VAC, or -1 if it's unsupported</p><p> by this UPS.</p> |SNMP |phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
@@ -105,39 +105,39 @@ There are no template links in this template.
|Name|Description|Expression|Severity|Dependencies and additional info|
|----|-----------|----|----|----|
-|System name has changed (new name: {ITEM.VALUE}) |<p>System name has changed. Ack to close.</p> |`{TEMPLATE_NAME:system.name[sysName.0].diff()}=1 and {TEMPLATE_NAME:system.name[sysName.0].strlen()}>0` |INFO |<p>Manual close: YES</p> |
-|Battery has an internal error condition |<p>A battery installed has an internal error condition.</p> |`{TEMPLATE_NAME:battery.status[upsBasicBatteryStatus].last()}=4` |AVERAGE | |
-|Battery is Low |<p>The UPS will be unable to sustain the current load, and its services will be lost if power is not restored.</p> |`{TEMPLATE_NAME:battery.status[upsBasicBatteryStatus].last()}=3` |AVERAGE | |
-|Battery has low capacity (below {$BATTERY.CAPACITY.MIN.WARN}%) | |`{TEMPLATE_NAME:battery.capacity[upsHighPrecBatteryCapacity].last()} < {$BATTERY.CAPACITY.MIN.WARN}` |HIGH | |
-|Battery needs replacement |<p>A battery installed has an internal error condition.</p> |`{TEMPLATE_NAME:battery.replace_indicator[upsAdvBatteryReplaceIndicator].last()}=2` |HIGH | |
-|Battery has high temperature (over {$BATTERY.TEMP.MAX.WARN}℃ for {$TIME.PERIOD}) | |`{TEMPLATE_NAME:battery.temperature[upsHighPrecBatteryTemperature].min({$TIME.PERIOD})} > {$BATTERY.TEMP.MAX.WARN}` |HIGH | |
-|Unacceptable input voltage (out of range {$UPS.INPUT_VOLT.MIN.WARN}-{$UPS.INPUT_VOLT.MAX.WARN}V for {$TIME.PERIOD}) | |`{TEMPLATE_NAME:input.voltage[upsHighPrecInputLineVoltage].min({$TIME.PERIOD})} > 0 and ({TEMPLATE_NAME:input.voltage[upsHighPrecInputLineVoltage].min({$TIME.PERIOD})} > {$UPS.INPUT_VOLT.MAX.WARN} or {TEMPLATE_NAME:input.voltage[upsHighPrecInputLineVoltage].max({$TIME.PERIOD})} < {$UPS.INPUT_VOLT.MIN.WARN})` |HIGH | |
-|Unacceptable input frequency (out of range {$UPS.INPUT_FREQ.MIN.WARN}-{$UPS.INPUT_FREQ.MAX.WARN}Hz for {$TIME.PERIOD}) | |`{TEMPLATE_NAME:input.frequency[upsHighPrecInputFrequency].min({$TIME.PERIOD})} > 0 and ({TEMPLATE_NAME:input.frequency[upsHighPrecInputFrequency].min({$TIME.PERIOD})} > {$UPS.INPUT_FREQ.MAX.WARN} or {TEMPLATE_NAME:input.frequency[upsHighPrecInputFrequency].max({$TIME.PERIOD})} < {$UPS.INPUT_FREQ.MIN.WARN})` |HIGH | |
-|Output load is high (over {$UPS.OUTPUT.MAX.WARN}% for {$TIME.PERIOD}) |<p>A battery installed has an internal error condition.</p> |`{TEMPLATE_NAME:output.load[upsHighPrecOutputLoad].min({$TIME.PERIOD})} > {$UPS.OUTPUT.MAX.WARN}` |HIGH | |
-|UPS is Timed Sleeping | |`{TEMPLATE_NAME:output.status[upsBasicOutputStatus].last()}=5` |AVERAGE | |
-|UPS is Switched Bypass | |`{TEMPLATE_NAME:output.status[upsBasicOutputStatus].last()}=9` |AVERAGE | |
-|UPS is Software Bypass | |`{TEMPLATE_NAME:output.status[upsBasicOutputStatus].last()}=6` |AVERAGE | |
-|UPS is Sleeping Until Power Return | |`{TEMPLATE_NAME:output.status[upsBasicOutputStatus].last()}=11` |AVERAGE | |
-|UPS is Rebooting | |`{TEMPLATE_NAME:output.status[upsBasicOutputStatus].last()}=8` |AVERAGE | |
-|UPS is On Smart Trim | |`{TEMPLATE_NAME:output.status[upsBasicOutputStatus].last()}=12` |AVERAGE | |
-|UPS is on Smart Boost | |`{TEMPLATE_NAME:output.status[upsBasicOutputStatus].last()}=4` |AVERAGE | |
-|UPS is on battery | |`{TEMPLATE_NAME:output.status[upsBasicOutputStatus].last()}=3` |AVERAGE | |
-|UPS is Off | |`{TEMPLATE_NAME:output.status[upsBasicOutputStatus].last()}=7` |AVERAGE | |
-|UPS is Emergency Static Bypass | |`{TEMPLATE_NAME:output.status[upsBasicOutputStatus].last()}=16` |AVERAGE | |
-|UPS is Hardware Failure Bypass | |`{TEMPLATE_NAME:output.status[upsBasicOutputStatus].last()}=10` |AVERAGE | |
-|{HOST.NAME} has been restarted (uptime < 10m) |<p>Uptime is less than 10 minutes</p> |`{TEMPLATE_NAME:system.uptime[sysUpTime.0].last()}<10m` |WARNING |<p>Manual close: YES</p><p>**Depends on**:</p><p>- No SNMP data collection</p> |
-|No SNMP data collection |<p>SNMP is not available for polling. Please check device connectivity and SNMP settings.</p> |`{TEMPLATE_NAME:zabbix[host,snmp,available].max({$SNMP.TIMEOUT})}=0` |WARNING | |
-|{#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} input voltage (out of range {$UPS.INPUT_VOLT.MIN.WARN}-{$UPS.INPUT_VOLT.MAX.WARN}V for {$TIME.PERIOD}) | |`{TEMPLATE_NAME:phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}].min({$TIME.PERIOD})} > {$UPS.INPUT_VOLT.MAX.WARN} or {TEMPLATE_NAME:phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}].max({$TIME.PERIOD})} < {$UPS.INPUT_VOLT.MIN.WARN}` |HIGH | |
-|{#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} output voltage (out of range {$UPS.INPUT_VOLT.MIN.WARN}-{$UPS.INPUT_VOLT.MAX.WARN}V for {$TIME.PERIOD}) | |`{TEMPLATE_NAME:phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}].min({$TIME.PERIOD})} > {$UPS.INPUT_VOLT.MAX.WARN} or {TEMPLATE_NAME:phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}].max({$TIME.PERIOD})} < {$UPS.INPUT_VOLT.MIN.WARN}` |HIGH | |
-|{#BATTERY_PACK}.{#CARTRIDGE_INDEX}: Battery status is not okay |<p>The battery cartridge status:</p><p>bit 0 Disconnected</p><p>bit 1 Overvoltage</p><p>bit 2 NeedsReplacement</p><p>bit 3 OvertemperatureCritical</p><p>bit 4 Charger</p><p>bit 5 TemperatureSensor</p><p>bit 6 BusSoftStart</p><p>bit 7 OvertemperatureWarning</p><p>bit 8 GeneralError</p><p>bit 9 Communication</p><p>bit 10 DisconnectedFrame</p><p>bit 11 FirmwareMismatch</p> |`{TEMPLATE_NAME:battery.pack.status[upsHighPrecBatteryPackCartridgeStatus.{#BATTERY_PACK}.{#CARTRIDGE_INDEX}].regexp("^(0{16})$")}=0` |WARNING | |
-|{#BATTERY_PACK}.{#CARTRIDGE_INDEX}: Battery has high temperature (over {$BATTERY.TEMP.MAX.WARN}℃ for {$TIME.PERIOD}) | |`{TEMPLATE_NAME:battery.temperature[upsHighPrecBatteryPackTemperature.{#BATTERY_PACK}.{#CARTRIDGE_INDEX}].min({$TIME.PERIOD})} > {$BATTERY.TEMP.MAX.WARN}` |HIGH | |
-|{#BATTERY_PACK}.{#CARTRIDGE_INDEX}: Battery lifetime is not okay |<p>The battery cartridge health.</p><p> bit 0 Battery lifetime okay</p><p> bit 1 Battery lifetime near end, order replacement cartridge</p><p> bit 2 Battery lifetime exceeded, replace battery</p><p> bit 3 Battery lifetime near end acknowledged, order replacement cartridge</p><p> bit 4 Battery lifetime exceeded acknowledged, replace battery</p><p> bit 5 Battery measured lifetime near end, order replacement cartridge</p><p> bit 6 Battery measured lifetime near end acknowledged, order replacement cartridge</p> |`{TEMPLATE_NAME:battery.pack.cartridge_health[upsHighPrecBatteryPackCartridgeHealth.{#BATTERY_PACK}.{#CARTRIDGE_INDEX}].regexp("^(0)[0|1]{15}$")}=1` |WARNING | |
-|{#EXTERNAL_SENSOR1_NAME}: Sensor has status Not Applicable |<p>The external sensor does not work or is not connected.</p> |`{TEMPLATE_NAME:external.sensor.status[uioSensorStatusAlarmStatus.1.{#SNMPINDEX}].last()}=4` |INFO | |
-|{#EXTERNAL_SENSOR1_NAME}: Sensor has status Warning |<p>The external sensor has returned a value greater than the warning threshold.</p> |`{TEMPLATE_NAME:external.sensor.status[uioSensorStatusAlarmStatus.1.{#SNMPINDEX}].last()}=2` |AVERAGE | |
-|{#EXTERNAL_SENSOR1_NAME}: Sensor has status Critical |<p>The external sensor has returned a value greater than the critical threshold.</p> |`{TEMPLATE_NAME:external.sensor.status[uioSensorStatusAlarmStatus.1.{#SNMPINDEX}].last()}=3` |HIGH | |
-|{#EXTERNAL_SENSOR2_NAME}: Sensor has status Not Applicable |<p>The external sensor does not work or is not connected.</p> |`{TEMPLATE_NAME:external.sensor.status[uioSensorStatusAlarmStatus.2.{#SNMPINDEX}].last()}=4` |INFO | |
-|{#EXTERNAL_SENSOR2_NAME}: Sensor has status Warning |<p>The external sensor has returned a value greater than the warning threshold.</p> |`{TEMPLATE_NAME:external.sensor.status[uioSensorStatusAlarmStatus.2.{#SNMPINDEX}].last()}=2` |AVERAGE | |
-|{#EXTERNAL_SENSOR2_NAME}: Sensor has status Critical |<p>The external sensor has returned a value greater than the critical threshold.</p> |`{TEMPLATE_NAME:external.sensor.status[uioSensorStatusAlarmStatus.2.{#SNMPINDEX}].last()}=3` |HIGH | |
+|System name has changed (new name: {ITEM.VALUE}) |<p>System name has changed. Ack to close.</p> |`last(/APC UPS SNMP/system.name[sysName.0],#1)<>last(/APC UPS SNMP/system.name[sysName.0],#2) and length(last(/APC UPS SNMP/system.name[sysName.0]))>0` |INFO |<p>Manual close: YES</p> |
+|Battery has an internal error condition |<p>A battery installed has an internal error condition.</p> |`last(/APC UPS SNMP/battery.status[upsBasicBatteryStatus])=4` |AVERAGE | |
+|Battery is Low |<p>The UPS will be unable to sustain the current load, and its services will be lost if power is not restored.</p> |`last(/APC UPS SNMP/battery.status[upsBasicBatteryStatus])=3` |AVERAGE | |
+|Battery has low capacity (below {$BATTERY.CAPACITY.MIN.WARN}%) | |`last(/APC UPS SNMP/battery.capacity[upsHighPrecBatteryCapacity]) < {$BATTERY.CAPACITY.MIN.WARN}` |HIGH | |
+|Battery needs replacement |<p>A battery installed has an internal error condition.</p> |`last(/APC UPS SNMP/battery.replace_indicator[upsAdvBatteryReplaceIndicator])=2` |HIGH | |
+|Battery has high temperature (over {$BATTERY.TEMP.MAX.WARN}℃ for {$TIME.PERIOD}) | |`min(/APC UPS SNMP/battery.temperature[upsHighPrecBatteryTemperature],{$TIME.PERIOD}) > {$BATTERY.TEMP.MAX.WARN}` |HIGH | |
+|Unacceptable input voltage (out of range {$UPS.INPUT_VOLT.MIN.WARN}-{$UPS.INPUT_VOLT.MAX.WARN}V for {$TIME.PERIOD}) | |`min(/APC UPS SNMP/input.voltage[upsHighPrecInputLineVoltage],{$TIME.PERIOD}) > 0 and (min(/APC UPS SNMP/input.voltage[upsHighPrecInputLineVoltage],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC UPS SNMP/input.voltage[upsHighPrecInputLineVoltage],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN})` |HIGH | |
+|Unacceptable input frequency (out of range {$UPS.INPUT_FREQ.MIN.WARN}-{$UPS.INPUT_FREQ.MAX.WARN}Hz for {$TIME.PERIOD}) | |`min(/APC UPS SNMP/input.frequency[upsHighPrecInputFrequency],{$TIME.PERIOD}) > 0 and (min(/APC UPS SNMP/input.frequency[upsHighPrecInputFrequency],{$TIME.PERIOD}) > {$UPS.INPUT_FREQ.MAX.WARN} or max(/APC UPS SNMP/input.frequency[upsHighPrecInputFrequency],{$TIME.PERIOD}) < {$UPS.INPUT_FREQ.MIN.WARN})` |HIGH | |
+|Output load is high (over {$UPS.OUTPUT.MAX.WARN}% for {$TIME.PERIOD}) |<p>A battery installed has an internal error condition.</p> |`min(/APC UPS SNMP/output.load[upsHighPrecOutputLoad],{$TIME.PERIOD}) > {$UPS.OUTPUT.MAX.WARN}` |HIGH | |
+|UPS is Timed Sleeping | |`last(/APC UPS SNMP/output.status[upsBasicOutputStatus])=5` |AVERAGE | |
+|UPS is Switched Bypass | |`last(/APC UPS SNMP/output.status[upsBasicOutputStatus])=9` |AVERAGE | |
+|UPS is Software Bypass | |`last(/APC UPS SNMP/output.status[upsBasicOutputStatus])=6` |AVERAGE | |
+|UPS is Sleeping Until Power Return | |`last(/APC UPS SNMP/output.status[upsBasicOutputStatus])=11` |AVERAGE | |
+|UPS is Rebooting | |`last(/APC UPS SNMP/output.status[upsBasicOutputStatus])=8` |AVERAGE | |
+|UPS is On Smart Trim | |`last(/APC UPS SNMP/output.status[upsBasicOutputStatus])=12` |AVERAGE | |
+|UPS is on Smart Boost | |`last(/APC UPS SNMP/output.status[upsBasicOutputStatus])=4` |AVERAGE | |
+|UPS is on battery | |`last(/APC UPS SNMP/output.status[upsBasicOutputStatus])=3` |AVERAGE | |
+|UPS is Off | |`last(/APC UPS SNMP/output.status[upsBasicOutputStatus])=7` |AVERAGE | |
+|UPS is Emergency Static Bypass | |`last(/APC UPS SNMP/output.status[upsBasicOutputStatus])=16` |AVERAGE | |
+|UPS is Hardware Failure Bypass | |`last(/APC UPS SNMP/output.status[upsBasicOutputStatus])=10` |AVERAGE | |
+|{HOST.NAME} has been restarted (uptime < 10m) |<p>Uptime is less than 10 minutes</p> |`last(/APC UPS SNMP/system.uptime[sysUpTime.0])<10m` |WARNING |<p>Manual close: YES</p><p>**Depends on**:</p><p>- No SNMP data collection</p> |
+|No SNMP data collection |<p>SNMP is not available for polling. Please check device connectivity and SNMP settings.</p> |`max(/APC UPS SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0` |WARNING | |
+|{#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} input voltage (out of range {$UPS.INPUT_VOLT.MIN.WARN}-{$UPS.INPUT_VOLT.MAX.WARN}V for {$TIME.PERIOD}) | |`min(/APC UPS SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC UPS SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN}` |HIGH | |
+|{#PHASEINDEX}: Unacceptable phase {#PHASEINDEX} output voltage (out of range {$UPS.INPUT_VOLT.MIN.WARN}-{$UPS.INPUT_VOLT.MAX.WARN}V for {$TIME.PERIOD}) | |`min(/APC UPS SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC UPS SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) < {$UPS.INPUT_VOLT.MIN.WARN}` |HIGH | |
+|{#BATTERY_PACK}.{#CARTRIDGE_INDEX}: Battery status is not okay |<p>The battery cartridge status:</p><p>bit 0 Disconnected</p><p>bit 1 Overvoltage</p><p>bit 2 NeedsReplacement</p><p>bit 3 OvertemperatureCritical</p><p>bit 4 Charger</p><p>bit 5 TemperatureSensor</p><p>bit 6 BusSoftStart</p><p>bit 7 OvertemperatureWarning</p><p>bit 8 GeneralError</p><p>bit 9 Communication</p><p>bit 10 DisconnectedFrame</p><p>bit 11 FirmwareMismatch</p> |`find(/APC UPS SNMP/battery.pack.status[upsHighPrecBatteryPackCartridgeStatus.{#BATTERY_PACK}.{#CARTRIDGE_INDEX}],,"regexp","^(0{16})$")=0` |WARNING | |
+|{#BATTERY_PACK}.{#CARTRIDGE_INDEX}: Battery has high temperature (over {$BATTERY.TEMP.MAX.WARN}℃ for {$TIME.PERIOD}) | |`min(/APC UPS SNMP/battery.temperature[upsHighPrecBatteryPackTemperature.{#BATTERY_PACK}.{#CARTRIDGE_INDEX}],{$TIME.PERIOD}) > {$BATTERY.TEMP.MAX.WARN}` |HIGH | |
+|{#BATTERY_PACK}.{#CARTRIDGE_INDEX}: Battery lifetime is not okay |<p>The battery cartridge health.</p><p> bit 0 Battery lifetime okay</p><p> bit 1 Battery lifetime near end, order replacement cartridge</p><p> bit 2 Battery lifetime exceeded, replace battery</p><p> bit 3 Battery lifetime near end acknowledged, order replacement cartridge</p><p> bit 4 Battery lifetime exceeded acknowledged, replace battery</p><p> bit 5 Battery measured lifetime near end, order replacement cartridge</p><p> bit 6 Battery measured lifetime near end acknowledged, order replacement cartridge</p> |`find(/APC UPS SNMP/battery.pack.cartridge_health[upsHighPrecBatteryPackCartridgeHealth.{#BATTERY_PACK}.{#CARTRIDGE_INDEX}],,"regexp","^(0)[0|1]{15}$")=1` |WARNING | |
+|{#EXTERNAL_SENSOR1_NAME}: Sensor has status Not Applicable |<p>The external sensor does not work or is not connected.</p> |`last(/APC UPS SNMP/external.sensor.status[uioSensorStatusAlarmStatus.1.{#SNMPINDEX}])=4` |INFO | |
+|{#EXTERNAL_SENSOR1_NAME}: Sensor has status Warning |<p>The external sensor has returned a value greater than the warning threshold.</p> |`last(/APC UPS SNMP/external.sensor.status[uioSensorStatusAlarmStatus.1.{#SNMPINDEX}])=2` |AVERAGE | |
+|{#EXTERNAL_SENSOR1_NAME}: Sensor has status Critical |<p>The external sensor has returned a value greater than the critical threshold.</p> |`last(/APC UPS SNMP/external.sensor.status[uioSensorStatusAlarmStatus.1.{#SNMPINDEX}])=3` |HIGH | |
+|{#EXTERNAL_SENSOR2_NAME}: Sensor has status Not Applicable |<p>The external sensor does not work or is not connected.</p> |`last(/APC UPS SNMP/external.sensor.status[uioSensorStatusAlarmStatus.2.{#SNMPINDEX}])=4` |INFO | |
+|{#EXTERNAL_SENSOR2_NAME}: Sensor has status Warning |<p>The external sensor has returned a value greater than the warning threshold.</p> |`last(/APC UPS SNMP/external.sensor.status[uioSensorStatusAlarmStatus.2.{#SNMPINDEX}])=2` |AVERAGE | |
+|{#EXTERNAL_SENSOR2_NAME}: Sensor has status Critical |<p>The external sensor has returned a value greater than the critical threshold.</p> |`last(/APC UPS SNMP/external.sensor.status[uioSensorStatusAlarmStatus.2.{#SNMPINDEX}])=3` |HIGH | |
## Feedback
diff --git a/templates/power/apc/apc_ups_snmp/template_power_apc_ups_snmp.yaml b/templates/power/apc/apc_ups_snmp/template_power_apc_ups_snmp.yaml
index 1f0618afc4a..4db906f7b38 100644
--- a/templates/power/apc/apc_ups_snmp/template_power_apc_ups_snmp.yaml
+++ b/templates/power/apc/apc_ups_snmp/template_power_apc_ups_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
- version: '5.4'
- date: '2021-05-11T08:05:00Z'
+ version: '6.0'
+ date: '2021-10-28T08:23:31Z'
groups:
-
uuid: 3dcd5bbe90534f9e8eb5c2d53756af63
@@ -19,7 +19,7 @@ zabbix_export:
You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/420730-discussion-thread-for-official-zabbix-template-apc-ups
- Template tooling version used: 0.38
+ Template tooling version used: 0.39
groups:
-
name: Templates/Power
@@ -48,7 +48,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
triggers:
-
uuid: aa0bbfb321d440438fb421825f23e140
@@ -76,7 +77,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
-
uuid: 3d69adaa88e64b8084d38c1482815bf2
name: 'Battery last replace date'
@@ -101,7 +103,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
-
uuid: eb74b3671b4d4335ad92bd3b027547b0
name: 'Battery replace indicator'
@@ -121,7 +124,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
triggers:
-
uuid: 7e40918732e74b5e8bd854422989e77d
@@ -153,7 +157,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
-
uuid: f4106603e47e40548592d60a7b8b3148
name: 'Battery status'
@@ -179,7 +184,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
triggers:
-
uuid: 7ae03f3f307b4f11ad2bc0548911cbd3
@@ -217,7 +223,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
triggers:
-
uuid: 36a14fe061d1433e9875373307a4e0f4
@@ -248,7 +255,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
-
uuid: 6ce40beab0b44248868652b0ed543afc
name: 'Input fail cause'
@@ -291,7 +299,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
-
uuid: 2c0b565f2b6a44a2a91cc61fd220f056
name: 'Input frequency'
@@ -315,7 +324,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
triggers:
-
uuid: 1ddd2699b87f452a8893f75f805c0a81
@@ -346,7 +356,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
triggers:
-
uuid: f6527c4fed3d41168be23f9367f18405
@@ -377,7 +388,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
-
uuid: c17c7fd7e6504592869dc14c4a002254
name: 'Output load'
@@ -402,7 +414,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
triggers:
-
uuid: ebef08a42d1e47ffa82ea586c1a5b3d6
@@ -436,7 +449,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
triggers:
-
uuid: c0e0b1db9a1f41379c340c122426778d
@@ -516,7 +530,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
-
uuid: 2c52ba1a964a40e1b4a75582ee6ad43b
name: 'SNMP traps (fallback)'
@@ -525,18 +540,19 @@ zabbix_export:
history: 2w
trends: '0'
value_type: LOG
- description: 'Item is used to collect all SNMP traps unmatched by other snmptrap items'
+ description: 'The item is used to collect all SNMP traps unmatched by other snmptrap items'
logtimefmt: 'hh:mm:sszyyyy/MM/dd'
tags:
-
- tag: General
+ tag: Application
+ value: General
-
uuid: 299e4e11e0374888877e1dc386409726
name: 'System contact details'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.4.0
key: 'system.contact[sysContact.0]'
- delay: 1h
+ delay: 15m
history: 2w
trends: '0'
value_type: CHAR
@@ -550,17 +566,18 @@ zabbix_export:
-
type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- - 1d
+ - 12h
tags:
-
- tag: General
+ tag: Application
+ value: General
-
uuid: ed42f6f2d8c24176b53f38e0a857a129
name: 'System description'
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.1.0
key: 'system.descr[sysDescr.0]'
- delay: 1h
+ delay: 15m
history: 2w
trends: '0'
value_type: CHAR
@@ -573,10 +590,11 @@ zabbix_export:
-
type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- - 1d
+ - 12h
tags:
-
- tag: General
+ tag: Application
+ value: General
-
uuid: 445d7a843340424ab7c09ab001d5865c
name: 'System location'
@@ -599,7 +617,8 @@ zabbix_export:
- 6h
tags:
-
- tag: General
+ tag: Application
+ value: General
-
uuid: 6030dbee3cc24dbeb15e4b802e89cbc8
name: Model
@@ -620,7 +639,8 @@ zabbix_export:
- 6h
tags:
-
- tag: General
+ tag: Application
+ value: General
-
uuid: 45a80892f41b411e8457f99b069b59ee
name: 'System name'
@@ -644,7 +664,8 @@ zabbix_export:
- 6h
tags:
-
- tag: General
+ tag: Application
+ value: General
triggers:
-
uuid: facbfd1f8bb04401b563c162d7fe13a5
@@ -678,7 +699,8 @@ zabbix_export:
- 6h
tags:
-
- tag: General
+ tag: Application
+ value: General
-
uuid: 1df309508ac9433397f88120b2895451
name: 'Serial number'
@@ -702,7 +724,8 @@ zabbix_export:
- 6h
tags:
-
- tag: General
+ tag: Application
+ value: General
-
uuid: 701fa778bc03444aad94343d0dbe048e
name: Uptime
@@ -724,7 +747,8 @@ zabbix_export:
- '0.01'
tags:
-
- tag: Status
+ tag: Application
+ value: Status
triggers:
-
uuid: b0959bdb606542bcb2952e820ac972c9
@@ -743,6 +767,12 @@ zabbix_export:
type: INTERNAL
key: 'zabbix[host,snmp,available]'
history: 7d
+ description: |
+ Availability of SNMP checks on the host. The value of this item corresponds to availability icons in the host list.
+ Possible value:
+ 0 - not available
+ 1 - available
+ 2 - unknown
valuemap:
name: zabbix.host.available
preprocessing:
@@ -752,7 +782,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
triggers:
-
uuid: 4572d871f1d944bb855b93fdc6de5e88
@@ -791,7 +822,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
-
uuid: f7eb1c82c6694e72b7d28ba4d71d8741
name: 'External battery packs discovery'
@@ -828,7 +860,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
-
uuid: fd71d1ceaf524aeaac38de5f63d101fd
name: '{#BATTERY_PACK}.{#CARTRIDGE_INDEX}: Battery pack cartridge health'
@@ -855,7 +888,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
trigger_prototypes:
-
uuid: a248194aa30645c5918278b83944b20e
@@ -903,7 +937,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
trigger_prototypes:
-
uuid: 834b1a48cbab46a3bfb0209fb4302674
@@ -948,7 +983,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
trigger_prototypes:
-
uuid: 80f084121d56464f90e4a3ef9e198889
@@ -976,7 +1012,8 @@ zabbix_export:
- 6h
tags:
-
- tag: General
+ tag: Application
+ value: General
-
uuid: 457169b3c43846739614a6ddc7155fda
name: 'External sensor port 1 discovery'
@@ -1007,7 +1044,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
-
uuid: 0431cf0a54b449c9b77623b69629920f
name: '{#EXTERNAL_SENSOR1_NAME}: Sensor alarm status'
@@ -1031,7 +1069,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
trigger_prototypes:
-
uuid: 3a40f3cb0a3b411697fe8d37f82404d4
@@ -1071,7 +1110,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
overrides:
-
name: Temp
@@ -1119,7 +1159,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
-
uuid: d04af1687eb846d18b57af04ab1b594b
name: '{#EXTERNAL_SENSOR2_NAME}: Sensor alarm status'
@@ -1143,7 +1184,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
trigger_prototypes:
-
uuid: 8a62bc38e49e4779938c45839a190856
@@ -1183,7 +1225,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
overrides:
-
name: Temp
@@ -1234,7 +1277,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
-
uuid: 40c05eaf739540979d11787a694cb8c9
name: '{#PHASEINDEX}: Phase input voltage'
@@ -1255,7 +1299,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
trigger_prototypes:
-
uuid: 63c623a2a9af44f38388a17742c87486
@@ -1297,7 +1342,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
-
uuid: 262d5cf179e64a2596edd86adc5570e3
name: '{#PHASEINDEX}: Phase output load, %'
@@ -1319,7 +1365,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
-
uuid: ab38f845f0e448f0b3638f6728cbf5bf
name: '{#PHASEINDEX}: Phase output voltage'
@@ -1340,7 +1387,8 @@ zabbix_export:
- 6h
tags:
-
- tag: Status
+ tag: Application
+ value: Status
trigger_prototypes:
-
uuid: feeb23a58ccb4ec1bed9d61f5d2ffc9e