zabbix_export: version: '6.0' date: '2021-11-21T21:52:21Z' groups: - uuid: 0e60ac85bc3941e2a1d66a048ff164da name: UPS templates: - uuid: 1cd45808e69d419db54ab24948e4a491 template: 'SOCOMEC UPS' name: 'SOCOMEC UPS' description: | ## Overview This templase include some info and trigger such as: - Battery - Temperature - Output - Alarms You just edit the SNMP\_COMMUNITY value into the template ## Author diablofight89 groups: - name: UPS items: - uuid: 24341d52d6b9467181e3cd83ecc28b7d name: 'Ping check' type: SIMPLE key: icmpping delay: 30s history: 45d trends: 120d valuemap: name: 'Service state' tags: - tag: Application value: Alarm triggers: - uuid: 10e324b0322c455c9d873db210e6e06a expression: 'sum(/SOCOMEC UPS/icmpping,#3)=0 or ({TRIGGER.VALUE}=1 and sum(/SOCOMEC UPS/icmpping,#3)<>3)' name: '{HOSTNAME} - Network unavailable' priority: DISASTER - uuid: ddee7c3479354ab69327b7825ee25198 name: 'Alarm - Battery Temperature' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.4555.1.1.7.1.6.3.16.0 key: upsAlarmBatteryTemperature.0 history: 7d description: '"Battery Temperature Alarm. (A020)"' tags: - tag: Application value: Alarm - uuid: ba54e1c35df44debaa884dfebca9e09f name: 'Alarm - Fan Fault' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.4555.1.1.7.1.6.3.32.0 key: upsAlarmFansFailure.0 history: 7d description: '"Fans failure. (A054)"' tags: - tag: Application value: Alarm triggers: - uuid: db73c9b8793e40488a59c44df7358dfb expression: 'last(/SOCOMEC UPS/upsAlarmFansFailure.0)<>0' name: '{HOSTNAME} - Fan Fault' priority: AVERAGE dependencies: - name: '{HOSTNAME} - Network unavailable' expression: 'sum(/SOCOMEC UPS/icmpping,#3)=0 or ({TRIGGER.VALUE}=1 and sum(/SOCOMEC UPS/icmpping,#3)<>3)' - uuid: d5b8269c8fce4481b25db576b1503704 name: 'Alarm - UPS LowBattery' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.4555.1.1.7.1.6.3.14.0 key: upsAlarmLowBattery.0 history: 7d description: '"The remaining battery run-time is less than or equal to battery low threshold. (A018)"' tags: - tag: Application value: Alarm - uuid: e4e4d8830bf848e0af247012ffc7e41b name: 'Alarm - UPS OnBattery Power' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.4555.1.1.7.1.6.3.15.0 key: upsAlarmOnBattery history: 7d description: '"The UPS is drawing power from the batteries. (A019)"' tags: - tag: Application value: Alarm triggers: - uuid: 48542207fede426aa489c977c9f7c6bd expression: 'last(/SOCOMEC UPS/upsAlarmOnBattery)<>0' name: '{HOSTNAME} - On Battery Power' priority: HIGH dependencies: - name: '{HOSTNAME} - Network unavailable' expression: 'sum(/SOCOMEC UPS/icmpping,#3)=0 or ({TRIGGER.VALUE}=1 and sum(/SOCOMEC UPS/icmpping,#3)<>3)' - name: '{HOSTNAME} - No Input Power' expression: 'last(/SOCOMEC UPS/upsInputFrequency.0)<45' - uuid: 2cc59e29b77c48ca936d150331b91fbb name: 'Alarm - UPS OnBypass' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.4555.1.1.7.1.6.3.55.0 key: upsAlarmOnBypass.0 history: 7d description: | "Load supplied by automatic bypass. Load not protected." tags: - tag: Application value: Alarm triggers: - uuid: 0202ef22cc444c2c91921a1693491cab expression: 'last(/SOCOMEC UPS/upsAlarmOnBypass.0)<>0' name: '{HOSTNAME} - OnBypass Mode' priority: AVERAGE dependencies: - name: '{HOSTNAME} - Network unavailable' expression: 'sum(/SOCOMEC UPS/icmpping,#3)=0 or ({TRIGGER.VALUE}=1 and sum(/SOCOMEC UPS/icmpping,#3)<>3)' - uuid: 3b6fc3fb02dc4e45bba1c2fe9552f4bf name: 'Alarm - UPS Overload' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.4555.1.1.7.1.6.3.2.0 key: upsAlarmOverload.0 history: 7d description: '"The output load exceeds the UPS output capacity. (A001)"' tags: - tag: Application value: Alarm - uuid: 9856a3447b294e77ad59d993737fc635 name: 'Alarm Present Quantity' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.4555.1.1.7.1.6.1.0 key: upsAlarmsPresent.0 history: 7d description: '"The present number of active alarm conditions."' tags: - tag: Application value: Alarm triggers: - uuid: b157fdc61b3944e993c61d8e895232cb expression: 'last(/SOCOMEC UPS/upsAlarmsPresent.0)<>0' name: '{HOSTNAME} - Active Alarms' priority: HIGH description: 'Check on the UPS the issue' dependencies: - name: '{HOSTNAME} - Ambient temperature critical' expression: 'avg(/SOCOMEC UPS/upsAmbientTemperature.0,30s)>40' - name: '{HOSTNAME} - Ambient temperature High' expression: 'avg(/SOCOMEC UPS/upsAmbientTemperature.0,30s)>37' - name: '{HOSTNAME} - Ambient temperature low' expression: 'avg(/SOCOMEC UPS/upsAmbientTemperature.0,30s)<17' - name: '{HOSTNAME} - Ambient temperature too low' expression: 'avg(/SOCOMEC UPS/upsAmbientTemperature.0,30s)<15' - name: '{HOSTNAME} - Battery Charge Critical' expression: 'last(/SOCOMEC UPS/upsEstimatedChargeRemaining.0)<15' - name: '{HOSTNAME} - Battery Charge Low' expression: 'last(/SOCOMEC UPS/upsEstimatedChargeRemaining.0)<30' - name: '{HOSTNAME} - Battery Error' expression: 'last(/SOCOMEC UPS/upsBatteryStatus.0)=1 or last(/SOCOMEC UPS/upsBatteryStatus.0)=8 or last(/SOCOMEC UPS/upsBatteryStatus.0)=9' - name: '{HOSTNAME} - Fan Fault' expression: 'last(/SOCOMEC UPS/upsAlarmFansFailure.0)<>0' - name: '{HOSTNAME} - Network unavailable' expression: 'sum(/SOCOMEC UPS/icmpping,#3)=0 or ({TRIGGER.VALUE}=1 and sum(/SOCOMEC UPS/icmpping,#3)<>3)' - name: '{HOSTNAME} - No Input Power' expression: 'last(/SOCOMEC UPS/upsInputFrequency.0)<45' - name: '{HOSTNAME} - On Battery Power' expression: 'last(/SOCOMEC UPS/upsAlarmOnBattery)<>0' - name: '{HOSTNAME} - OnBypass Mode' expression: 'last(/SOCOMEC UPS/upsAlarmOnBypass.0)<>0' - name: '{HOSTNAME} - Output overloaded' expression: 'avg(/SOCOMEC UPS/upsOutputLoadRate.0,30s)>80' - uuid: 364be1a081ba412f902fa40a9e4b93a2 name: 'Ambient Temperature' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.4555.1.1.7.1.2.7.0 key: upsAmbientTemperature.0 history: 7d units: °C description: '"The ambient temperature inside the UPS in 0.1 degree"' preprocessing: - type: MULTIPLIER parameters: - '0.1' tags: - tag: Application value: Temperature triggers: - uuid: 993f2e06d1374281934cf4a0bb2123d1 expression: 'avg(/SOCOMEC UPS/upsAmbientTemperature.0,30s)>40' name: '{HOSTNAME} - Ambient temperature critical' priority: HIGH description: 'External Temperature Critical' dependencies: - name: '{HOSTNAME} - Network unavailable' expression: 'sum(/SOCOMEC UPS/icmpping,#3)=0 or ({TRIGGER.VALUE}=1 and sum(/SOCOMEC UPS/icmpping,#3)<>3)' - uuid: 722324272a9a4139ae2bb95d2edfbece expression: 'avg(/SOCOMEC UPS/upsAmbientTemperature.0,30s)>37' name: '{HOSTNAME} - Ambient temperature High' priority: AVERAGE description: 'External Temperature High' dependencies: - name: '{HOSTNAME} - Ambient temperature critical' expression: 'avg(/SOCOMEC UPS/upsAmbientTemperature.0,30s)>40' - name: '{HOSTNAME} - Network unavailable' expression: 'sum(/SOCOMEC UPS/icmpping,#3)=0 or ({TRIGGER.VALUE}=1 and sum(/SOCOMEC UPS/icmpping,#3)<>3)' - uuid: e803c91afdbc4cc09bd94987dabc6d69 expression: 'avg(/SOCOMEC UPS/upsAmbientTemperature.0,30s)<17' name: '{HOSTNAME} - Ambient temperature low' priority: AVERAGE description: 'External Temperature Low' dependencies: - name: '{HOSTNAME} - Ambient temperature too low' expression: 'avg(/SOCOMEC UPS/upsAmbientTemperature.0,30s)<15' - name: '{HOSTNAME} - Network unavailable' expression: 'sum(/SOCOMEC UPS/icmpping,#3)=0 or ({TRIGGER.VALUE}=1 and sum(/SOCOMEC UPS/icmpping,#3)<>3)' - uuid: ad3d6061ce9f4d72bb276e42742140af expression: 'avg(/SOCOMEC UPS/upsAmbientTemperature.0,30s)<15' name: '{HOSTNAME} - Ambient temperature too low' priority: HIGH description: 'External Temperature Too Low' dependencies: - name: '{HOSTNAME} - Network unavailable' expression: 'sum(/SOCOMEC UPS/icmpping,#3)=0 or ({TRIGGER.VALUE}=1 and sum(/SOCOMEC UPS/icmpping,#3)<>3)' - uuid: b26e35ebd71d413a8bed681748a6b252 name: 'Battery Status' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.4555.1.1.7.1.2.1.0 key: upsBatteryStatus.0 history: 7d description: '"The present battery status"' valuemap: name: 'Socomec - BatteryStatus' tags: - tag: Application value: Battery triggers: - uuid: 0b8f3ed78b4f4c7a9e0a4335e19ea406 expression: 'last(/SOCOMEC UPS/upsBatteryStatus.0)=1 or last(/SOCOMEC UPS/upsBatteryStatus.0)=8 or last(/SOCOMEC UPS/upsBatteryStatus.0)=9' name: '{HOSTNAME} - Battery Error' priority: HIGH dependencies: - name: '{HOSTNAME} - Network unavailable' expression: 'sum(/SOCOMEC UPS/icmpping,#3)=0 or ({TRIGGER.VALUE}=1 and sum(/SOCOMEC UPS/icmpping,#3)<>3)' - uuid: 5edc782b24f24a489a3a2cfa3275b556 name: 'Battery Voltage' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.4555.1.1.7.1.2.5.0 key: upsBatteryVoltage.0 history: 7d units: V description: '"The magnitude of the present battery voltage in 0.1 Volt DC."' tags: - tag: Application value: Battery - uuid: 3124a02591394c33bdd475cbc5d526f3 name: 'Battery Percent' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.4555.1.1.7.1.2.4.0 key: upsEstimatedChargeRemaining.0 history: 7d value_type: FLOAT units: '%' description: '"An estimate of the battery charge remaining expressed as a percent of full charge."' tags: - tag: Application value: Battery triggers: - uuid: 5fa1919fbe05491497bfe42b9769c2d7 expression: 'last(/SOCOMEC UPS/upsEstimatedChargeRemaining.0)<15' name: '{HOSTNAME} - Battery Charge Critical' priority: HIGH dependencies: - name: '{HOSTNAME} - Network unavailable' expression: 'sum(/SOCOMEC UPS/icmpping,#3)=0 or ({TRIGGER.VALUE}=1 and sum(/SOCOMEC UPS/icmpping,#3)<>3)' - uuid: 05726acd77b14968bf124921af5097aa expression: 'last(/SOCOMEC UPS/upsEstimatedChargeRemaining.0)<30' name: '{HOSTNAME} - Battery Charge Low' priority: AVERAGE dependencies: - name: '{HOSTNAME} - Battery Charge Critical' expression: 'last(/SOCOMEC UPS/upsEstimatedChargeRemaining.0)<15' - name: '{HOSTNAME} - Network unavailable' expression: 'sum(/SOCOMEC UPS/icmpping,#3)=0 or ({TRIGGER.VALUE}=1 and sum(/SOCOMEC UPS/icmpping,#3)<>3)' - uuid: 422c697daf8a49d98b90a8ff49ac79b6 name: 'Battery Time Remaining' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.4555.1.1.7.1.2.3.0 key: upsEstimatedMinutesRemaining.0 history: 7d units: '!min' description: '"An estimate of the time to battery charge depletion under the present load conditions. Compute when UPS is on battery power"' valuemap: name: 'Socomec - BatteryStatus' tags: - tag: Application value: Battery - uuid: 4acba6cd3bcf43ed837f704ec3c017ef name: 'Firmware Version' type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.33.1.1.4.0 key: upsfirmware.0 delay: 1d history: 7d trends: '0' value_type: TEXT inventory_link: OS tags: - tag: Application value: Information - uuid: a59a7a4e5e2140beadc5e9b696601f1f name: Model type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.4555.1.1.7.1.1.1.0 key: upsIdentModel.0 delay: 1d history: 7d trends: '0' value_type: TEXT inventory_link: MODEL tags: - tag: Application value: Information - uuid: 7ca3414dc8ff4742a729830d5cef45bb name: 'Serial Number' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.4555.1.1.7.1.1.2.0 key: upsIdentSerialNumber.0 delay: 1d history: 7d trends: '0' value_type: TEXT inventory_link: SERIALNO_A tags: - tag: Application value: Information - uuid: 2c70a14f54d646ae9f29411c76d4ca09 name: 'Input Frequency' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.4555.1.1.7.1.3.2.0 key: upsInputFrequency.0 history: 7d units: Hz description: '"The current input frequency to the UPS system in 0.1 HZ."' preprocessing: - type: MULTIPLIER parameters: - '0.1' tags: - tag: Application value: Input triggers: - uuid: cdb41b57b2274234b75f4be0671f7171 expression: 'last(/SOCOMEC UPS/upsInputFrequency.0)<45' name: '{HOSTNAME} - No Input Power' priority: HIGH dependencies: - name: '{HOSTNAME} - Network unavailable' expression: 'sum(/SOCOMEC UPS/icmpping,#3)=0 or ({TRIGGER.VALUE}=1 and sum(/SOCOMEC UPS/icmpping,#3)<>3)' - name: '{HOSTNAME} - Output status changed' expression: 'last(/SOCOMEC UPS/upsOutputSource.0)<>3' - uuid: 694c953730804a7a87128fcae26b258b name: 'Output Frequency' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.4555.1.1.7.1.4.2.0 key: upsOutputFrequency.0 history: 7d units: Hz description: '"The current output frequency of the UPS system in 0.1 of HZ."' preprocessing: - type: MULTIPLIER parameters: - '0.1' tags: - tag: Application value: Output - uuid: 6e9d0eeb9cd848ea9e0926083dc660ae name: 'Output Load' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.4555.1.1.7.1.4.7.0 key: upsOutputLoadRate.0 history: 7d value_type: FLOAT units: '%' description: '"Output global Load Rate."' tags: - tag: Application value: Output triggers: - uuid: c82e4831dfe7428fa2562642c2b57bce expression: 'avg(/SOCOMEC UPS/upsOutputLoadRate.0,30s)>80' name: '{HOSTNAME} - Output overloaded' priority: AVERAGE dependencies: - name: '{HOSTNAME} - Network unavailable' expression: 'sum(/SOCOMEC UPS/icmpping,#3)=0 or ({TRIGGER.VALUE}=1 and sum(/SOCOMEC UPS/icmpping,#3)<>3)' - uuid: a160fee2e3644e12be4519f2673a2515 name: 'Output Status' type: SNMP_AGENT snmp_oid: .1.3.6.1.4.1.4555.1.1.7.1.4.1.0 key: upsOutputSource.0 history: 7d description: '"The present source of output power."' valuemap: name: 'Socomec - OutputSource' tags: - tag: Application value: Output triggers: - uuid: 2b673e6c213b4eb2982a8e03928d3d82 expression: 'last(/SOCOMEC UPS/upsOutputSource.0)<>3' name: '{HOSTNAME} - Output status changed' priority: AVERAGE dependencies: - name: '{HOSTNAME} - Network unavailable' expression: 'sum(/SOCOMEC UPS/icmpping,#3)=0 or ({TRIGGER.VALUE}=1 and sum(/SOCOMEC UPS/icmpping,#3)<>3)' macros: - macro: '{$SNMP_COMMUNITY}' value: afLpogHP16EW dashboards: - uuid: 6cb51766333740309045947a2a1fe669 name: 'SOCOMEC - UPS Status' pages: - widgets: - type: GRAPH_CLASSIC width: '12' height: '5' fields: - type: INTEGER name: source_type value: '0' - type: GRAPH name: graphid value: name: 'Ambient Temperature' host: 'SOCOMEC UPS' - 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' host: 'SOCOMEC UPS' - type: GRAPH_CLASSIC 'y': '5' width: '12' height: '5' fields: - type: INTEGER name: source_type value: '0' - type: GRAPH name: graphid value: name: 'Output Load' host: 'SOCOMEC UPS' - type: URL x: '12' 'y': '5' width: '12' height: '5' fields: - type: STRING name: url value: 'https://monitoring.cartierecarrara.mobi/zabbix/image.php?imageid=203' valuemaps: - uuid: 023b07fdf8a64b12904f79d5747aca9a name: 'Service state' mappings: - value: '0' newvalue: Down - value: '1' newvalue: Up - uuid: 85fb616282364f60bc4b8af3c4c1a4c0 name: 'Socomec - BatteryStatus' mappings: - value: '1' newvalue: unknown - value: '2' newvalue: batteryNormal - value: '3' newvalue: batteryCharging - value: '4' newvalue: batteryTest - value: '5' newvalue: batteryDischarging - value: '6' newvalue: batteryLow - value: '7' newvalue: batteryDepleted - value: '8' newvalue: batteryFailure - value: '9' newvalue: batteryDisconnected - uuid: 3cb01e9a33cb46d8b5962202685cf984 name: 'Socomec - OutputSource' mappings: - value: '1' newvalue: unknown - value: '2' newvalue: onMaintenBypass - value: '3' newvalue: onInverter - value: '4' newvalue: normalMode - value: '5' newvalue: ecoMode - value: '6' newvalue: onBypass - value: '7' newvalue: standby - value: '8' newvalue: upsOff graphs: - uuid: 67051bc0f43840f596bffa67449e4e73 name: 'Ambient Temperature' yaxismax: '50' show_work_period: 'NO' ymin_type_1: FIXED ymax_type_1: FIXED graph_items: - color: 0040FF item: host: 'SOCOMEC UPS' key: upsAmbientTemperature.0 - uuid: 8bd4ac35997d4962b58344da02975658 name: 'Battery Charge' ymin_type_1: FIXED ymax_type_1: FIXED graph_items: - color: 1A7C11 item: host: 'SOCOMEC UPS' key: upsEstimatedChargeRemaining.0 - uuid: b243397b62964593acceddb0f765a112 name: 'OnBattery Power' yaxismax: '1' ymin_type_1: FIXED ymax_type_1: FIXED graph_items: - color: 2774A4 item: host: 'SOCOMEC UPS' key: upsAlarmOnBattery - uuid: 2df9cb2179f241f9a3d40be0a58bb071 name: 'Output Load' ymin_type_1: FIXED ymax_type_1: FIXED graph_items: - color: 1A7C11 item: host: 'SOCOMEC UPS' key: upsOutputLoadRate.0 - uuid: 8f678a3e6c54426bbe6bfd399fea66be name: 'Output Status' yaxismin: '1' yaxismax: '9' ymin_type_1: FIXED ymax_type_1: FIXED graph_items: - color: 0040FF item: host: 'SOCOMEC UPS' key: upsOutputSource.0