zabbix_export: version: '5.4' date: '2021-11-21T21:59:28Z' groups: - uuid: 7df96b18c230490a9a0a9e2307226338 name: Templates templates: - uuid: 482c8e08f41b487da1bdf33b93e721e9 template: UPSMONPro name: 'UPSMON Pro' description: | ## Overview **Description:** To work this solution you have to install on Windows Host - **UPSMON PRO 2.4** Appliction. Zabbix template will grab data from UPSMON PRO WEB and store data in Zabbix. **Items:** * Input, V * Output, V * Frequency, Hz * Load, % * Battery Level, % * Temperatue, C **Triggers**: * Battery is less than 50%; * Battery is less than 20%; * Input is less than 220V; * Input is less than 200V; * Input is less than 180V; * Output is less than 200V; * Temperature more than 30C; * Temperature more than 35C. Full description and required application can be found on GitHub: Tested with **P****owercom Raptor RPT-1000AP** Created by Ilias Aidar - 23/05/2020 E-Mail: [ilias@ilianapro.com](mailto:ilias@ilianapro.com) Telegram: @iSmartyPro ## Author Ilias Aidar groups: - name: Templates items: - uuid: 0e9b4bf1b428496da3a41792ded6222a name: Log type: HTTP_AGENT key: Log history: '0' trends: '0' value_type: TEXT timeout: 10s url: '{$URL}' tags: - tag: Application value: Log - uuid: 25712d93f7e545a6a1b4d3f1964f178e name: 'Battery Level' type: DEPENDENT key: UPS.Battery delay: '0' units: '%' preprocessing: - type: JAVASCRIPT parameters: - 'return value.split("\n")[5];' master_item: key: Log tags: - tag: Application value: UPS triggers: - uuid: 46b1bf6f4adb4c7bb6b4368d3606936b expression: last(/UPSMONPro/UPS.Battery)<=20 name: 'Battery is less than 20%' priority: DISASTER - uuid: b5de621f032d4dc4a72697073c9c7ad2 expression: last(/UPSMONPro/UPS.Battery)<=50 name: 'Battery is less than 50%' priority: HIGH - uuid: 1b90c33b290e49588bee4a2195d172ee name: Frequency type: DEPENDENT key: UPS.Frequency delay: '0' units: Hz preprocessing: - type: JAVASCRIPT parameters: - 'return value.split("\n")[3];' master_item: key: Log tags: - tag: Application value: UPS - uuid: f84eae28b856475eb712e216ecf8ecc4 name: Input type: DEPENDENT key: UPS.Input delay: '0' units: V preprocessing: - type: JAVASCRIPT parameters: - 'return value.split("\n")[0];' master_item: key: Log tags: - tag: Application value: UPS triggers: - uuid: 72a3c921f0144182bdefd1bf5f92acb8 expression: last(/UPSMONPro/UPS.Input)<=180 name: 'Input is less than 180V' priority: DISASTER manual_close: 'YES' - uuid: 4d18d7e64e2f4c03b8e95e45ed4ef1c8 expression: last(/UPSMONPro/UPS.Input)<=200 name: 'Input is less than 200V' priority: HIGH manual_close: 'YES' - uuid: cef8a678ab9543e49e8fe4301ffa916c expression: last(/UPSMONPro/UPS.Input)<=220 name: 'Input is less than 220V' priority: WARNING manual_close: 'YES' - uuid: 1096efb9f2714cdf86673f13ef83ba12 name: Load type: DEPENDENT key: UPS.Load delay: '0' units: '%' preprocessing: - type: JAVASCRIPT parameters: - 'return value.split("\n")[2];' master_item: key: Log tags: - tag: Application value: UPS - uuid: 13f210f28a074785b3611b032c4beb15 name: Output type: DEPENDENT key: UPS.Output delay: '0' units: V preprocessing: - type: JAVASCRIPT parameters: - 'return value.split("\n")[1];' master_item: key: Log tags: - tag: Application value: UPS triggers: - uuid: fb42aa2e4edf4d29afacd61482ee120c expression: last(/UPSMONPro/UPS.Output)<=200 name: 'Output is less than 200V' priority: HIGH - uuid: cd48380a363f49eb9b4728c7f1b5a165 name: Temperature type: DEPENDENT key: UPS.Temperature delay: '0' units: C preprocessing: - type: JAVASCRIPT parameters: - 'return value.split("\n")[4];' master_item: key: Log tags: - tag: Application value: UPS triggers: - uuid: f4d9382bf9d14c0aa2799c4b4e887ff3 expression: last(/UPSMONPro/UPS.Temperature)>=30 name: 'Temperature more than 30C' priority: WARNING manual_close: 'YES' - uuid: 4400124f0411442cb48ff296454f54bc expression: last(/UPSMONPro/UPS.Temperature)>=35 name: 'Temperature more than 35C' priority: HIGH manual_close: 'YES' macros: - macro: '{$URL}' value: 'http://rd-kirovsk.gencoindustry.com:8000/ups.txt' description: 'Here should be your UPSMON Pro URL'