zabbix_export: version: '6.0' date: '2021-11-21T21:24:57Z' groups: - uuid: 7df96b18c230490a9a0a9e2307226338 name: Templates templates: - uuid: e66a2d6eabb342b2b365331810d87a47 template: 'Delta UPS SNMP v1' name: 'Delta UPS SNMP v1' description: | ## Overview Simple **SNMPv1** template for Delta UPS with LLD for lines. Tested on Zabbix 3.0 but should works on older versions. Required extra configuration: Macro for {$SNMP\_COMMUNITY} UPS-MIB ## Author sim groups: - name: Templates items: - uuid: b9b78010fb1b4308a53c179c841abd93 name: 'ICMP ping' type: SIMPLE key: icmpping delay: '60' history: 7d valuemap: name: 'Service state' tags: - tag: Application value: ICMP triggers: - uuid: 6002da26bbd74bc99dc65910ff78046d expression: 'max(/Delta UPS SNMP v1/icmpping,#3)=0' name: '{HOST.NAME} is unavailable by ICMP' priority: AVERAGE - uuid: 2a03144cdd8e46e8a934c91b9557530e name: 'ICMP loss' type: SIMPLE key: icmppingloss delay: '60' history: 7d value_type: FLOAT units: '%' tags: - tag: Application value: ICMP triggers: - uuid: 7df3f0889ab04833b750f23ff3a4a47d expression: 'min(/Delta UPS SNMP v1/icmppingloss,5m)>20' name: 'Ping loss is too high on {HOST.NAME}' priority: WARNING dependencies: - name: '{HOST.NAME} is unavailable by ICMP' expression: 'max(/Delta UPS SNMP v1/icmpping,#3)=0' - uuid: a50eaeef6fb64dc3bef7103384da9dc7 name: 'ICMP response time' type: SIMPLE key: icmppingsec delay: '60' history: 7d value_type: FLOAT units: s tags: - tag: Application value: ICMP triggers: - uuid: cb7c5c8bb11142ffa2d37342272028f2 expression: 'avg(/Delta UPS SNMP v1/icmppingsec,5m)>0.15' name: 'Response time is too high on {HOST.NAME}' priority: WARNING dependencies: - name: '{HOST.NAME} is unavailable by ICMP' expression: 'max(/Delta UPS SNMP v1/icmpping,#3)=0' - uuid: aee3725213074a439ab76aba0f90cf29 name: 'UPS Location' type: SNMP_AGENT snmp_oid: 'RFC1213-MIB::sysLocation.0' key: sysLocation delay: '7200' trends: '0' value_type: TEXT tags: - tag: Application value: 'Device Information' - uuid: b21cb7856a5149d4bd3cde1bf8912b1f name: 'UPS Name' type: SNMP_AGENT snmp_oid: 'RFC1213-MIB::sysName.0' key: sysName delay: '7200' trends: '0' value_type: TEXT tags: - tag: Application value: 'Device Information' - uuid: a86cca1bd1394f529fee17d4b4daf303 name: 'UPS Device uptime' type: SNMP_AGENT snmp_oid: 'SNMPv2-MIB::sysUpTime.0' key: sysUpTime.2 delay: '60' history: 14d units: uptime description: 'The time since the network management portion of the system was last re-initialized.' preprocessing: - type: MULTIPLIER parameters: - '0.01' tags: - tag: Application value: 'Device Information' triggers: - uuid: 71cf73ecca5946c6b152501483f870ee expression: 'last(/Delta UPS SNMP v1/sysUpTime.2,#1:now-1m)<5m' name: '{HOST.NAME}: UPS was restarted' priority: AVERAGE - uuid: bec7099b443f450380ca3aa04d3986e4 name: 'Battery Current Amp DC' type: SNMP_AGENT snmp_oid: 'UPS-MIB::upsBatteryCurrent.0' key: upsBatteryCurrent delay: '60' history: 7d units: 'Amp DC' tags: - tag: Application value: Battery - uuid: 1fed741e8d6149eb8bbef740cc443edc name: 'UPS Battery Status' type: SNMP_AGENT snmp_oid: 'UPS-MIB::upsBatteryStatus.0' key: upsBatteryStatus delay: '60' history: 14d value_type: FLOAT description: | unknown(1), batteryNormal(2), batteryLow(3), batteryDepleted(4) valuemap: name: 'Delta Battery Status' tags: - tag: Application value: Battery triggers: - uuid: 23f023d23cb94840aabb9c22e04e839b expression: '(last(/Delta UPS SNMP v1/upsBatteryStatus,#1)<>last(/Delta UPS SNMP v1/upsBatteryStatus,#2)) = 1' name: '{HOST.NAME}: UPS Battery Status was changed' priority: AVERAGE - uuid: 90fbcb7d63ce4d47b51de1f34a1eb50e name: 'UPS Battery Voltage' type: SNMP_AGENT snmp_oid: 'UPS-MIB::upsBatteryVoltage.0' key: upsBatteryVoltage delay: '60' history: 7d units: 'Volt DC' tags: - tag: Application value: Battery - uuid: 4b108b4558f946c9b5f0a5a0c3c4ba7a name: 'Number of Bypass Lines' type: SNMP_AGENT snmp_oid: 'UPS-MIB::upsBypassNumLines.0' key: upsBypassNumLines delay: '7200' history: 7d tags: - tag: Application value: BypassLine - uuid: d157c4856c314ecfb930f445338b68f6 name: 'Config Input Frequency' type: SNMP_AGENT snmp_oid: 'UPS-MIB::upsConfigInputFreq.0' key: upsConfigInputFreq delay: '60' history: 7d units: Hertz tags: - tag: Application value: InputLine - uuid: 689552d6815c4537906acd8f7edc9a55 name: 'Config Input Voltage' type: SNMP_AGENT snmp_oid: 'UPS-MIB::upsConfigInputVoltage.0' key: upsConfigInputVoltage delay: '60' history: 7d units: 'RMS Volts' tags: - tag: Application value: InputLine - uuid: 1f02e0ffeb7b438681298cfe8a5ff82e name: 'Config Output Frequency' type: SNMP_AGENT snmp_oid: 'UPS-MIB::upsConfigOutputFreq.0' key: upsConfigOutputFreq delay: '60' history: 7d units: Hertz tags: - tag: Application value: OutputLine - uuid: edd5e3a03b4a49d6acacf6ecd24441b3 name: 'Config Output V-A' type: SNMP_AGENT snmp_oid: 'UPS-MIB::upsConfigOutputVA.0' key: upsConfigOutputVA delay: '60' history: 7d units: Volt-Amps tags: - tag: Application value: OutputLine - uuid: bdc219600e0d464b931583b87aa02c34 name: 'Config Output Voltage' type: SNMP_AGENT snmp_oid: 'UPS-MIB::upsConfigOutputVoltage.0' key: upsConfigOutputVoltage delay: '60' history: 7d units: 'RMS Volts' tags: - tag: Application value: OutputLine - uuid: 87d31b4a7fc74e7bae46e65d5360c460 name: 'Battery Charge Level in %' type: SNMP_AGENT snmp_oid: 'UPS-MIB::upsEstimatedChargeRemaining.0' key: upsEstimatedChargeRemaining delay: '30' history: 30d value_type: FLOAT units: '%' tags: - tag: Application value: Battery triggers: - uuid: 058967c9331840f7be64a92517df1393 expression: 'last(/Delta UPS SNMP v1/upsEstimatedChargeRemaining)<10' name: '{HOST.NAME}: UPS Battery Charge Level < 10%' priority: DISASTER - uuid: ddccadbfe2634f1da3db540fd3570679 expression: 'last(/Delta UPS SNMP v1/upsEstimatedChargeRemaining)<50' name: '{HOST.NAME}: UPS Battery Charge Level < 50%' priority: HIGH description: '{HOST.NAME}: UPS Battery Charge Level < 50%' - uuid: 4ddcf9d3716f41afb4de62669d78db71 expression: 'last(/Delta UPS SNMP v1/upsEstimatedChargeRemaining)<90' name: '{HOST.NAME}: UPS Battery Charge Level < 90%' priority: AVERAGE - uuid: 330cb9b40a6e4c97aa63f482e0f1b14a expression: 'change(/Delta UPS SNMP v1/upsEstimatedChargeRemaining)>5' name: '{HOST.NAME}: UPS Battery Charge Level was changed' priority: AVERAGE - uuid: ffb1837ed1c44490818957129582cf65 name: 'UPS Manufacturer' type: SNMP_AGENT snmp_oid: 'RFC1213-MIB::mib-2.33.1.1.1.0' key: upsIdentManufacturer delay: '7200' trends: '0' value_type: TEXT tags: - tag: Application value: 'Device Information' - uuid: 5535c049b47a4c19bc5ce599438b45c2 name: 'UPS Model' type: SNMP_AGENT snmp_oid: 'RFC1213-MIB::mib-2.33.1.1.2.0' key: upsIdentModel delay: '7200' trends: '0' value_type: TEXT tags: - tag: Application value: 'Device Information' - uuid: 58b933b256e44d2b9a69cbd89efa75e2 name: 'Number of Input Lines' type: SNMP_AGENT snmp_oid: 'UPS-MIB::upsInputNumLines.0' key: upsInputNumLines delay: '7200' history: 7d tags: - tag: Application value: InputLine - uuid: 385f5e3c084c4a5abb25b3dcaeb9eed6 name: 'Number of Output Lines' type: SNMP_AGENT snmp_oid: 'UPS-MIB::upsOutputNumLines.0' key: upsOutputNumLines delay: '7200' history: 7d tags: - tag: Application value: OutputLine - uuid: e1cbc389916245b287a7082be3db874d name: 'UPS Source Type' type: SNMP_AGENT snmp_oid: 'UPS-MIB::upsOutputSource.0' key: upsOutputSource delay: '30' value_type: FLOAT description: | other(1), none(2), normal(3), bypass(4), battery(5), booster(6), reducer(7) valuemap: name: 'Delta Source Type' tags: - tag: Application value: 'Device Information' triggers: - uuid: e1ae5773072f4b6eae68b9dc35c13855 expression: '(last(/Delta UPS SNMP v1/upsOutputSource,#1)<>last(/Delta UPS SNMP v1/upsOutputSource,#2)) = 1' name: '{HOST.NAME}: UPS Power Source Type was changed' priority: HIGH type: MULTIPLE discovery_rules: - uuid: 378dd236f59444d59ce1f413e348c9f2 name: 'UPS Bypass Line Discovery' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},UPS-MIB::upsBypassLineIndex]' key: UPSBypassLineDiscovery delay: '7200' item_prototypes: - uuid: cfc63272fa9f440ebe7c9f657f5f46ba name: 'UPS Line {#SNMPINDEX} Bypass Voltage' type: SNMP_AGENT snmp_oid: 'UPS-MIB::upsBypassVoltage.{#SNMPVALUE}.0' key: 'upsBypassVoltage.[{#SNMPVALUE}]' delay: '60' units: 'RMS Volts' tags: - tag: Application value: BypassLine - uuid: 6bd52653a9154cf8922aa3d0ebd6a221 name: 'UPS Input Line Discovery' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},UPS-MIB::upsInputLineIndex]' key: UPSInputLineDiscovery delay: '7200' item_prototypes: - uuid: 8cc50b4c6eff4fb4851f73a7aa19e43b name: 'UPS Input {#SNMPINDEX} Current' type: SNMP_AGENT snmp_oid: 'UPS-MIB::upsInputCurrent.{#SNMPVALUE}.0' key: 'upsInputCurrent.[{#SNMPVALUE}]' delay: '60' history: 14d units: 'RMS Amp' tags: - tag: Application value: InputLine - uuid: baa05e72a5db4ff4b64d2e21b0ce04c7 name: 'UPS Input {#SNMPINDEX} Frequency' type: SNMP_AGENT snmp_oid: 'UPS-MIB::upsInputFrequency.{#SNMPVALUE}.0' key: 'upsInputFrequency.[{#SNMPVALUE}]' delay: '60' history: 14d units: Hertz tags: - tag: Application value: InputLine - uuid: ac63262b247142ff951f44e51012fdbf name: 'UPS Input {#SNMPINDEX} Voltage' type: SNMP_AGENT snmp_oid: 'UPS-MIB::upsInputVoltage.{#SNMPVALUE}.0' key: 'upsInputVoltage.[{#SNMPVALUE}]' delay: '60' history: 14d units: Hertz tags: - tag: Application value: InputLine - uuid: 8c80e75b7e2e4d53844db74154bc0617 name: 'UPS Output Line Discovery' type: SNMP_AGENT snmp_oid: 'discovery[{#SNMPVALUE},UPS-MIB::upsOutputLineIndex]' key: UPSOutputLineDiscovery delay: '7200' item_prototypes: - uuid: af12697f22134d0d90168cbe506ed45f name: 'UPS Line {#SNMPINDEX} Output Voltage' type: SNMP_AGENT snmp_oid: 'UPS-MIB::upsOutputCurrent.{#SNMPVALUE}.0' key: 'upsOutputCurrent.[{#SNMPVALUE}]' delay: '60' history: 14d value_type: FLOAT units: 'RMS Volts' tags: - tag: Application value: OutputLine - uuid: 03537eadd08f4cdeb168cc60407c2612 name: 'UPS Line {#SNMPINDEX} Output Percent Load' type: SNMP_AGENT snmp_oid: 'UPS-MIB::upsOutputPercentLoad.{#SNMPVALUE}.0' key: 'upsOutputPercentLoad.[{#SNMPVALUE}]' delay: '60' history: 14d value_type: FLOAT units: '%' tags: - tag: Application value: OutputLine trigger_prototypes: - uuid: 8f5e83877423408dbd4b7aff4e95388b expression: 'avg(/Delta UPS SNMP v1/upsOutputPercentLoad.[{#SNMPVALUE}],5m)>60' name: '{HOST.NAME}: Line {#SNMPINDEX} load is greater than > 60%' priority: AVERAGE - uuid: c8078115b09e4e6ca30deaf1c8c10c93 expression: 'avg(/Delta UPS SNMP v1/upsOutputPercentLoad.[{#SNMPVALUE}],5m)>80' name: '{HOST.NAME}: Line {#SNMPINDEX} load is greater than > 80%' priority: HIGH - uuid: 6f1cbc905b814da1b2bed5a06fc03ab2 name: 'UPS Line {#SNMPINDEX} Output Power' type: SNMP_AGENT snmp_oid: 'UPS-MIB::upsOutputPower.{#SNMPVALUE}.0' key: 'upsOutputPower.[{#SNMPVALUE}]' delay: '60' history: 14d value_type: FLOAT units: Watts tags: - tag: Application value: OutputLine - uuid: fc4f20c41ede486da44b333facb25c62 name: 'UPS Line {#SNMPINDEX} Output Current' type: SNMP_AGENT snmp_oid: 'UPS-MIB::upsOutputVoltage.{#SNMPVALUE}.0' key: 'upsOutputVoltage.[{#SNMPVALUE}]' delay: '60' history: 14d units: 'RMS Amp' tags: - tag: Application value: OutputLine graph_prototypes: - uuid: dc5178a9ea7a4e8ab8a426c30719e925 name: 'UPS Output Line {#SNMPINDEX} Load in %' ymin_type_1: FIXED graph_items: - color: 1A7C11 item: host: 'Delta UPS SNMP v1' key: 'upsOutputPercentLoad.[{#SNMPVALUE}]' dashboards: - uuid: 2759fab2f03c4a299e3c848e50fbd703 name: 'UPS Overview' pages: - widgets: - type: CLOCK width: '12' height: '5' fields: - type: INTEGER name: time_type value: '0' - type: GRAPH_CLASSIC x: '12' width: '12' height: '5' fields: - type: INTEGER name: source_type value: '0' - type: GRAPH name: graphid value: name: 'Battery Charge Level in %' host: 'Delta UPS SNMP v1' - type: GRAPH_PROTOTYPE 'y': '5' width: '12' height: '5' fields: - type: INTEGER name: source_type value: '2' - type: INTEGER name: columns value: '1' - type: INTEGER name: rows value: '1' - type: GRAPH_PROTOTYPE name: graphid value: name: 'UPS Output Line {#SNMPINDEX} Load in %' host: 'Delta UPS SNMP v1' - type: PLAIN_TEXT x: '12' 'y': '5' width: '12' height: '5' fields: - type: INTEGER name: show_lines value: '5' - type: INTEGER name: show_as_html value: '0' - type: ITEM name: itemids value: key: upsOutputSource host: 'Delta UPS SNMP v1' valuemaps: - uuid: a73abe05b809474bbeb5f086db70859b name: 'Delta Battery Status' mappings: - value: '1' newvalue: unknown - value: '2' newvalue: batteryNormal - value: '3' newvalue: batteryLow - uuid: babafa7a17cc4de48e7ba669ad1c6a92 name: 'Delta Source Type' mappings: - value: '0' newvalue: unknown - value: '2' newvalue: none - value: '3' newvalue: normal - value: '4' newvalue: bypass - value: '5' newvalue: battery - value: '6' newvalue: booster - value: '7' newvalue: reducer - uuid: f0a3ce2f543b46a49f0b3e24444f920d name: 'Service state' mappings: - value: '0' newvalue: Down - value: '1' newvalue: Up graphs: - uuid: 0021ae483b544000844bcae7b34c8683 name: 'Battery Charge Level in %' graph_items: - color: 1A7C11 item: host: 'Delta UPS SNMP v1' key: upsEstimatedChargeRemaining - uuid: 7f8bec0bc5e04b949a752fda58789d27 name: Uptime graph_items: - color: '000088' item: host: 'Delta UPS SNMP v1' key: sysUpTime.2