diff options
Diffstat (limited to 'templates/power/apc/apc_ups_symmetra_lx_snmp')
-rw-r--r-- | templates/power/apc/apc_ups_symmetra_lx_snmp/README.md | 78 | ||||
-rw-r--r-- | templates/power/apc/apc_ups_symmetra_lx_snmp/template_power_apc_ups_symmetra_lx_snmp.yaml | 148 |
2 files changed, 137 insertions, 89 deletions
diff --git a/templates/power/apc/apc_ups_symmetra_lx_snmp/README.md b/templates/power/apc/apc_ups_symmetra_lx_snmp/README.md index 583d86e579b..d33de955844 100644 --- a/templates/power/apc/apc_ups_symmetra_lx_snmp/README.md +++ b/templates/power/apc/apc_ups_symmetra_lx_snmp/README.md @@ -55,8 +55,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 @@ -64,12 +64,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> | @@ -87,7 +87,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> | @@ -109,39 +109,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 Symmetra LX SNMP/system.name[sysName.0],#1)<>last(/APC UPS Symmetra LX SNMP/system.name[sysName.0],#2) and length(last(/APC UPS Symmetra LX 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 Symmetra LX 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 Symmetra LX SNMP/battery.status[upsBasicBatteryStatus])=3` |AVERAGE | | +|Battery has low capacity (below {$BATTERY.CAPACITY.MIN.WARN}%) | |`last(/APC UPS Symmetra LX 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 Symmetra LX SNMP/battery.replace_indicator[upsAdvBatteryReplaceIndicator])=2` |HIGH | | +|Battery has high temperature (over {$BATTERY.TEMP.MAX.WARN}℃ for {$TIME.PERIOD}) | |`min(/APC UPS Symmetra LX 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 Symmetra LX SNMP/input.voltage[upsHighPrecInputLineVoltage],{$TIME.PERIOD}) > 0 and (min(/APC UPS Symmetra LX SNMP/input.voltage[upsHighPrecInputLineVoltage],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC UPS Symmetra LX 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 Symmetra LX SNMP/input.frequency[upsHighPrecInputFrequency],{$TIME.PERIOD}) > 0 and (min(/APC UPS Symmetra LX SNMP/input.frequency[upsHighPrecInputFrequency],{$TIME.PERIOD}) > {$UPS.INPUT_FREQ.MAX.WARN} or max(/APC UPS Symmetra LX 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 Symmetra LX SNMP/output.load[upsHighPrecOutputLoad],{$TIME.PERIOD}) > {$UPS.OUTPUT.MAX.WARN}` |HIGH | | +|UPS is Timed Sleeping | |`last(/APC UPS Symmetra LX SNMP/output.status[upsBasicOutputStatus])=5` |AVERAGE | | +|UPS is Switched Bypass | |`last(/APC UPS Symmetra LX SNMP/output.status[upsBasicOutputStatus])=9` |AVERAGE | | +|UPS is Software Bypass | |`last(/APC UPS Symmetra LX SNMP/output.status[upsBasicOutputStatus])=6` |AVERAGE | | +|UPS is Sleeping Until Power Return | |`last(/APC UPS Symmetra LX SNMP/output.status[upsBasicOutputStatus])=11` |AVERAGE | | +|UPS is Rebooting | |`last(/APC UPS Symmetra LX SNMP/output.status[upsBasicOutputStatus])=8` |AVERAGE | | +|UPS is On Smart Trim | |`last(/APC UPS Symmetra LX SNMP/output.status[upsBasicOutputStatus])=12` |AVERAGE | | +|UPS is on Smart Boost | |`last(/APC UPS Symmetra LX SNMP/output.status[upsBasicOutputStatus])=4` |AVERAGE | | +|UPS is on battery | |`last(/APC UPS Symmetra LX SNMP/output.status[upsBasicOutputStatus])=3` |AVERAGE | | +|UPS is Off | |`last(/APC UPS Symmetra LX SNMP/output.status[upsBasicOutputStatus])=7` |AVERAGE | | +|UPS is Emergency Static Bypass | |`last(/APC UPS Symmetra LX SNMP/output.status[upsBasicOutputStatus])=16` |AVERAGE | | +|UPS is Hardware Failure Bypass | |`last(/APC UPS Symmetra LX SNMP/output.status[upsBasicOutputStatus])=10` |AVERAGE | | +|{HOST.NAME} has been restarted (uptime < 10m) |<p>Uptime is less than 10 minutes</p> |`last(/APC UPS Symmetra LX 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 Symmetra LX 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 Symmetra LX SNMP/phase.input.voltage[upsPhaseInputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC UPS Symmetra LX 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 Symmetra LX SNMP/phase.output.voltage[upsPhaseOutputVoltage.1.1.{#PHASEINDEX}],{$TIME.PERIOD}) > {$UPS.INPUT_VOLT.MAX.WARN} or max(/APC UPS Symmetra LX 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 Symmetra LX 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 Symmetra LX 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 Symmetra LX 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 Symmetra LX 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 Symmetra LX 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 Symmetra LX 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 Symmetra LX 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 Symmetra LX 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 Symmetra LX SNMP/external.sensor.status[uioSensorStatusAlarmStatus.2.{#SNMPINDEX}])=3` |HIGH | | ## Feedback diff --git a/templates/power/apc/apc_ups_symmetra_lx_snmp/template_power_apc_ups_symmetra_lx_snmp.yaml b/templates/power/apc/apc_ups_symmetra_lx_snmp/template_power_apc_ups_symmetra_lx_snmp.yaml index 7ee849dacdd..f35ca281026 100644 --- a/templates/power/apc/apc_ups_symmetra_lx_snmp/template_power_apc_ups_symmetra_lx_snmp.yaml +++ b/templates/power/apc/apc_ups_symmetra_lx_snmp/template_power_apc_ups_symmetra_lx_snmp.yaml @@ -1,6 +1,6 @@ zabbix_export: - version: '5.4' - date: '2021-05-11T08:04:58Z' + version: '6.0' + date: '2021-10-28T08:22:58Z' 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: fdece80f2fc44ac1974fafe190ce186f @@ -76,7 +77,8 @@ zabbix_export: - 6h tags: - - tag: Status + tag: Application + value: Status - uuid: f4bd3a4a637640e29f50ebd36fb510e5 name: 'Battery last replace date' @@ -101,7 +103,8 @@ zabbix_export: - 6h tags: - - tag: Status + tag: Application + value: Status - uuid: 731d350450f742d880d81ff2be69e67e name: 'Battery replace indicator' @@ -121,7 +124,8 @@ zabbix_export: - 6h tags: - - tag: Status + tag: Application + value: Status triggers: - uuid: a1bd434a249b48b2ac0ef69ede417a72 @@ -153,7 +157,8 @@ zabbix_export: - 6h tags: - - tag: Status + tag: Application + value: Status - uuid: c1d818ee115343c8bb41bedb8de7f2bd name: 'Battery status' @@ -179,7 +184,8 @@ zabbix_export: - 6h tags: - - tag: Status + tag: Application + value: Status triggers: - uuid: 955d79a0cf5447dd9a11d4608758e983 @@ -217,7 +223,8 @@ zabbix_export: - 6h tags: - - tag: Status + tag: Application + value: Status triggers: - uuid: 5b43659a10644a51861282bc72116f9f @@ -248,7 +255,8 @@ zabbix_export: - 6h tags: - - tag: Status + tag: Application + value: Status - uuid: 13c0d202d19f4b64a52141062c4be6bb name: 'Input fail cause' @@ -291,7 +299,8 @@ zabbix_export: - 6h tags: - - tag: Status + tag: Application + value: Status - uuid: 05ccf5bd85414ee9b5860c80f6e8323f name: 'Input frequency' @@ -315,7 +324,8 @@ zabbix_export: - 6h tags: - - tag: Status + tag: Application + value: Status triggers: - uuid: 94a5c26b89e2416f96b61bbfc6e60a97 @@ -346,7 +356,8 @@ zabbix_export: - 6h tags: - - tag: Status + tag: Application + value: Status triggers: - uuid: 2b640b94d48446609802ce6e57c7bd46 @@ -377,7 +388,8 @@ zabbix_export: - 6h tags: - - tag: Status + tag: Application + value: Status - uuid: d27e991fc0f64b4f9704fb8183567e8d name: 'Output load' @@ -402,7 +414,8 @@ zabbix_export: - 6h tags: - - tag: Status + tag: Application + value: Status triggers: - uuid: 34562b5c734d492c89c386902dfd6e90 @@ -436,7 +449,8 @@ zabbix_export: - 6h tags: - - tag: Status + tag: Application + value: Status triggers: - uuid: 6ade2b9fb9ad432596d16b3df6237ec4 @@ -516,7 +530,8 @@ zabbix_export: - 6h tags: - - tag: Status + tag: Application + value: Status - uuid: 102179b315b548e289df3459bc5860c1 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: 8dd800fbbcde431aa421eeb5a33eb798 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: e8c576f27f4c49ef9acd1ba7198ffbb6 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: 6a06715ef4c44534a0ebc45f4e5adb5b name: 'System location' @@ -599,7 +617,8 @@ zabbix_export: - 6h tags: - - tag: General + tag: Application + value: General - uuid: 64d56d199021432886452fff5a4c6d22 name: Model @@ -620,7 +639,8 @@ zabbix_export: - 6h tags: - - tag: General + tag: Application + value: General - uuid: b15628c68d4c4e8ca761ad9fa7e40a1c name: 'System name' @@ -644,7 +664,8 @@ zabbix_export: - 6h tags: - - tag: General + tag: Application + value: General triggers: - uuid: 61d0836efd33437894e1edd595373f1e @@ -678,7 +699,8 @@ zabbix_export: - 6h tags: - - tag: General + tag: Application + value: General - uuid: 3f61bd561e7d42fbb55b71df9ea3b5b1 name: 'Serial number' @@ -702,7 +724,8 @@ zabbix_export: - 6h tags: - - tag: General + tag: Application + value: General - uuid: 0810681a8ae74ad8b28ea38119a93f59 name: Uptime @@ -724,7 +747,8 @@ zabbix_export: - '0.01' tags: - - tag: Status + tag: Application + value: Status triggers: - uuid: 9d0c32f93c0c44f69b54c91fabfa1529 @@ -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: aeaaa7e2bd2d46a481f9d8b33ec18cb5 @@ -791,7 +822,8 @@ zabbix_export: - 6h tags: - - tag: Status + tag: Application + value: Status - uuid: 168bfbfc58ca46509caf54ae3562f0bc name: 'External battery packs discovery' @@ -828,7 +860,8 @@ zabbix_export: - 6h tags: - - tag: Status + tag: Application + value: Status - uuid: b49b4836472f45e3b4947048dcd64cf8 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: 2ea1a8d2bd3746dabafed72e1f6216fd @@ -903,7 +937,8 @@ zabbix_export: - 6h tags: - - tag: Status + tag: Application + value: Status trigger_prototypes: - uuid: 3870634ad8c1414dabeebc10c510fba3 @@ -948,7 +983,8 @@ zabbix_export: - 6h tags: - - tag: Status + tag: Application + value: Status trigger_prototypes: - uuid: 730bdb68d90f4bc6aaf6cb22e04e1845 @@ -976,7 +1012,8 @@ zabbix_export: - 6h tags: - - tag: General + tag: Application + value: General - uuid: 598521a7c59d425d9deb58c9829e344e name: 'External sensor port 1 discovery' @@ -1007,7 +1044,8 @@ zabbix_export: - 6h tags: - - tag: Status + tag: Application + value: Status - uuid: 6182750c55f24110b076d95c2cdbd1fa name: '{#EXTERNAL_SENSOR1_NAME}: Sensor alarm status' @@ -1031,7 +1069,8 @@ zabbix_export: - 6h tags: - - tag: Status + tag: Application + value: Status trigger_prototypes: - uuid: 97b4078788d244d0b501e9465c659ff7 @@ -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: ecc2e5c49b004027bb9ccd5498e3d169 name: '{#EXTERNAL_SENSOR2_NAME}: Sensor alarm status' @@ -1143,7 +1184,8 @@ zabbix_export: - 6h tags: - - tag: Status + tag: Application + value: Status trigger_prototypes: - uuid: 3155c8cf446c40d896755a25a46ec90b @@ -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: 080719150b424168999c21ff597e6948 name: '{#PHASEINDEX}: Phase input voltage' @@ -1255,7 +1299,8 @@ zabbix_export: - 6h tags: - - tag: Status + tag: Application + value: Status trigger_prototypes: - uuid: 90e3258375e047b594deb0ecf7300c22 @@ -1297,7 +1342,8 @@ zabbix_export: - 6h tags: - - tag: Status + tag: Application + value: Status - uuid: 7b0f22672b38492e92c8551c3009baef name: '{#PHASEINDEX}: Phase output load, %' @@ -1319,7 +1365,8 @@ zabbix_export: - 6h tags: - - tag: Status + tag: Application + value: Status - uuid: a590ab8671574e119fe3335110fdee49 name: '{#PHASEINDEX}: Phase output voltage' @@ -1340,7 +1387,8 @@ zabbix_export: - 6h tags: - - tag: Status + tag: Application + value: Status trigger_prototypes: - uuid: b8c42d5d66d9403eba697920439ae956 |