zabbix_export: version: '5.4' date: '2021-11-21T21:31:43Z' groups: - uuid: f4a0b3f0ac6346f7be467135ca6ade2e name: Dynavideo - uuid: 0e60ac85bc3941e2a1d66a048ff164da name: UPS templates: - uuid: 4877c26fc5f24d488418dbd009aa0ec3 template: smart-ups name: Nobreak-APC-SMART-UPS-3000BI-BR description: | ## Description ## In English: Template for Zabbix 3.4 and above. Collects and displays information about voltage, current, power, status, temperature, and battery usage. UPS MIB: http://www.oidview.com/mibs/0/UPS-MIB.html Software SGM Auto-Shutdown V4.1: http://www.apc.com/shop/br/pt/products/Software-SGM-Auto-Shutdown-V4-1-para-Linux-s%C3%B3-Brasil-/P-SFSGM41L?isCurrentSite=true --------- ## Em Português: Template para Zabbix 3.4 ou superior. Coleta e exibe informações da tensão, corrente, potência, status, temperatura e uso da bateria. UPS MIB: http://www.oidview.com/mibs/0/UPS-MIB.html Software SGM Auto-Shutdown V4.1: http://www.apc.com/shop/br/pt/products/Software-SGM-Auto-Shutdown-V4-1-para-Linux-s%C3%B3-Brasil-/P-SFSGM41L?isCurrentSite=true --------- ## Developed by: * Victor Igor (victor.igor.redes@gmail.com), sysadmin; * Aécio Pires (http://aeciopires.com), sysadmin. Shared by **Dynavideo** (http://www.dynavideo.com.br) ## Overview **## In English:** Template for Zabbix 3.4 and above. Collects and displays information about voltage, current, power, status, temperature, and battery usage. UPS MIB: Software SGM Auto-Shutdown V4.1: Dashboard Grafana: --------- **## Em Português:** Template para Zabbix 3.4 ou superior. Coleta e exibe informações da tensão, corrente, potência, status, temperatura e uso da bateria. UPS MIB: Software SGM Auto-Shutdown V4.1: Dashboard Grafana: --------- **## Developed by:** * Victor Igor (victor.igor.redes@gmail.com), sysadmin; * Aécio Pires (), sysadmin. Shared by **Dynavideo** () ## Author Aécio Pires e Victor Igor groups: - name: Dynavideo - name: UPS items: - uuid: 0e3428f20c9b4a778c5aeed20d4961df name: 'Real Data at BatteryCurrent' type: CALCULATED key: RealDataBatteryCurrent delay: 10s units: A params: '0.1*last(//upsBatteryCurrent)' tags: - tag: Application value: Battery - uuid: 542af226e5dd4b71a329e12dd5aec83a name: 'Real Data at BatteryVoltage' type: CALCULATED key: RealDataBatteryVoltage delay: 10s units: V params: '0.1*last(//upsBatteryVoltage)' tags: - tag: Application value: Battery - uuid: 621fdbfbf81c49a9b9f7b3955d56d1b5 name: 'Real Data at InputCurrent' type: CALCULATED key: RealDataInputCurrent delay: 10s units: A params: '0.1*last(//upsInputCurrent)' tags: - tag: Application value: 'Electric Current' - uuid: 69b4606668cb447584e3046d7ed389eb name: 'Real Data at InputFrequency' type: CALCULATED key: RealDataInputFrequency delay: 10s units: Hz params: '0.1*last(//upsInputFrequency)' tags: - tag: Application value: Frequency - uuid: ea7437ef534d482498f5862727598fdf name: 'Real Data at OutputFrequency' type: CALCULATED key: RealDataOutputFrequency delay: 10s units: Hz params: '0.1*last(//upsOutputFrequency)' tags: - tag: Application value: Frequency - uuid: 8f2db84ba16f40b8be2e1ffddc6702dd name: upsBatteryCurrent type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.33.1.2.6.0 key: upsBatteryCurrent delay: 10s units: A tags: - tag: Application value: Battery - uuid: f69dcc85af26421fa1bcdf298b2ba183 name: 'Battery Status' type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.33.1.2.1.0 key: upsBatteryStatus delay: 60s tags: - tag: Application value: Battery triggers: - uuid: 30fc9f99efe04237b583dfe07e42479f expression: last(/smart-ups/upsBatteryStatus)=4 name: 'Battery Depleted at {HOSTNAME}' priority: HIGH - uuid: 7f26c898b183441585f327df85d69079 name: upsBatteryTemperature type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.33.1.2.7.0 key: upsBatteryTemperature delay: 10s units: ºC preprocessing: - type: MULTIPLIER parameters: - '0.1' tags: - tag: Application value: Battery triggers: - uuid: ab0b53fce2734c5d967103c471896f1e expression: last(/smart-ups/upsBatteryTemperature)>90 name: 'High Battery Temperature at {HOSTNAME}' priority: WARNING - uuid: 1d685602c5d54975a4e4b51b5bed36fe name: upsBatteryVoltage type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.33.1.2.5.0 key: upsBatteryVoltage delay: 10s units: V tags: - tag: Application value: Battery - uuid: 15bf83bac5074276a10fb1d1f44361bc name: upsConfigInputVoltage type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.33.1.9.1 key: upsConfigInputVoltage delay: 30s units: V tags: - tag: Application value: Voltage - uuid: 4937db316712440eb64a4626e7bd344e name: upsEstimatedMinutesRemaining type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.33.1.2.3.0 key: upsEstimatedMinutesRemaining delay: 10s units: Min tags: - tag: Application value: Battery triggers: - uuid: 3209a4f5d25049ff883b82631c91067c expression: last(/smart-ups/upsEstimatedMinutesRemaining)<=3 name: 'Low Battery at {HOSTNAME}' priority: HIGH - uuid: 80eedd0e92994486a512521fc4bac827 name: upsInputCurrent type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.33.1.3.3.1.4.1 key: upsInputCurrent delay: 10s units: A tags: - tag: Application value: 'Electric Current' - uuid: 35e9ce546f594b50b30e3929d63702ed name: upsInputFrequency type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.33.1.3.3.1.2.1 key: upsInputFrequency delay: 10s units: Hz tags: - tag: Application value: Frequency - uuid: 46ac71a9e4144e2db0257753c59f2538 name: upsInputLineBads type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.33.1.3.1.0 key: upsInputLineBads delay: 30s tags: - tag: Application value: 'UPS Alarm' - uuid: 25adc60428b343aea2b9d46b59654bcf name: upsInputVoltage type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.33.1.3.3.1.3.1 key: upsInputVoltage delay: 10s units: V tags: - tag: Application value: Voltage triggers: - uuid: 0302ee86ea804ccb9cdcfc1f5bea1007 expression: last(/smart-ups/upsInputVoltage)=0 name: 'Power Input Failure at {HOSTNAME}' priority: DISASTER - uuid: be0f601db8bd4665ad01e69f6059c6dd name: upsOutputCurrent type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.33.1.4.4.1.3.1 key: upsOutputCurrent delay: 10s units: A tags: - tag: Application value: 'Electric Current' - uuid: 3783892b498e4f4dab8ab00246c4022b name: upsOutputFrequency type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.33.1.4.2.0 key: upsOutputFrequency delay: 10s units: Hz tags: - tag: Application value: Frequency - uuid: db622e36335c47b0b01d97ca2b494e2d name: upsOutputPercentLoad type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.33.1.4.4.1.5.1 key: upsOutputPercentLoad delay: 10s units: '%' tags: - tag: Application value: Power triggers: - uuid: 62e4ef051bf3497cbdd01b0f2e3e7785 expression: last(/smart-ups/upsOutputPercentLoad)>95 name: 'Power Overload at {HOSTNAME}' priority: HIGH - uuid: a04a112308b94f2dbff5c81c402ef908 name: upsOutputPower type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.33.1.4.4.1.4.1 key: upsOutputPower delay: 10s units: W tags: - tag: Application value: Power - uuid: 713b3dc1bc2345f0bf1fc8d56ab864e4 name: upsOutputVoltage type: SNMP_AGENT snmp_oid: 1.3.6.1.2.1.33.1.4.4.1.2.1 key: upsOutputVoltage delay: 10s units: V tags: - tag: Application value: Voltage macros: - macro: '{$SNMP_COMMUNITY}' value: public - macro: '{$SNMP_PORT}' value: '161' dashboards: - uuid: 833a3766a1754561a52a88a897230b53 name: 'Battery Graphs' pages: - widgets: - type: GRAPH_CLASSIC width: '12' height: '6' fields: - type: INTEGER name: source_type value: '0' - type: GRAPH name: graphid value: name: 'Battery Temperature' host: smart-ups - type: GRAPH_CLASSIC x: '12' width: '12' height: '6' fields: - type: INTEGER name: source_type value: '0' - type: GRAPH name: graphid value: name: 'Remaining Battery Time' host: smart-ups - type: GRAPH_CLASSIC 'y': '6' width: '12' height: '6' fields: - type: INTEGER name: source_type value: '0' - type: GRAPH name: graphid value: name: 'Voltage x Battery Current' host: smart-ups - uuid: 3df07e7245734eff92b770038b93c8fe name: 'UPS Graphs' pages: - widgets: - type: GRAPH_CLASSIC width: '12' height: '6' fields: - type: INTEGER name: source_type value: '0' - type: GRAPH name: graphid value: name: 'Power Output and Percent Load' host: smart-ups - type: GRAPH_CLASSIC x: '12' width: '12' height: '6' fields: - type: INTEGER name: source_type value: '0' - type: GRAPH name: graphid value: name: 'Voltage x Input Current' host: smart-ups - type: GRAPH_CLASSIC 'y': '6' width: '12' height: '6' fields: - type: INTEGER name: source_type value: '0' - type: GRAPH name: graphid value: name: 'Frequency: Input x Output' host: smart-ups triggers: - uuid: 24157b6f8c9a4573bd4621cf42c1b9fc expression: 'last(/smart-ups/upsConfigInputVoltage)=110 and last(/smart-ups/upsInputVoltage)>127' name: 'High Voltage Input > 127 V at {HOSTNAME}' priority: HIGH description: 'For 110V input voltage' - uuid: 1835c79b334447e9815c4b6d0531f465 expression: 'last(/smart-ups/upsConfigInputVoltage)=220 and last(/smart-ups/upsInputVoltage)>245' name: 'High Voltage Input > 245 V at {HOSTNAME}' priority: HIGH description: 'For 220V input voltage' - uuid: 543c0235332e4209a84960d1415f1367 expression: 'last(/smart-ups/upsConfigInputVoltage)=110 and last(/smart-ups/upsInputVoltage)<100' name: 'Low Voltage Input < 100 V at {HOSTNAME}' priority: HIGH description: 'For 110V input voltage' - uuid: 3633d66dcb924b4fa37ae2bd126a92e2 expression: 'last(/smart-ups/upsConfigInputVoltage)=220 and last(/smart-ups/upsInputVoltage)<190' name: 'Low Voltage Input < 190 V at {HOSTNAME}' priority: HIGH description: 'For 220V input voltage' graphs: - uuid: e4c12652c6c645aa8f4a5a6a9c7e6f60 name: 'Battery Temperature' graph_items: - color: EEEE00 calc_fnc: ALL item: host: smart-ups key: upsBatteryTemperature - uuid: af1591e6344645baa7076a50347de614 name: 'Frequency: Input x Output' yaxismin: '50' ymin_type_1: FIXED graph_items: - drawtype: BOLD_LINE color: EEEE00 calc_fnc: ALL item: host: smart-ups key: RealDataInputFrequency - sortorder: '1' drawtype: BOLD_LINE color: 0000EE calc_fnc: ALL item: host: smart-ups key: RealDataOutputFrequency - uuid: 3a88d748477240f79e85c964cf8b9e88 name: 'Power Output and Percent Load' graph_items: - drawtype: BOLD_LINE color: DD00DD calc_fnc: ALL item: host: smart-ups key: upsOutputPower - sortorder: '1' drawtype: BOLD_LINE color: FFFF33 yaxisside: RIGHT calc_fnc: ALL item: host: smart-ups key: upsOutputPercentLoad - uuid: d1b08705609a41c485be8256ab6ace3d name: 'Remaining Battery Time' graph_items: - color: 33FF33 calc_fnc: ALL item: host: smart-ups key: upsEstimatedMinutesRemaining - uuid: 4dad924131264783b8ecee7d716216ac name: 'Voltage x Battery Current' graph_items: - drawtype: BOLD_LINE color: 0000EE calc_fnc: ALL item: host: smart-ups key: RealDataBatteryVoltage - sortorder: '1' drawtype: BOLD_LINE color: EE0000 yaxisside: RIGHT calc_fnc: ALL item: host: smart-ups key: RealDataBatteryCurrent - uuid: 3cada953cdba424a9189dec17f4fd9a3 name: 'Voltage x Input Current' graph_items: - drawtype: BOLD_LINE color: 0000EE calc_fnc: ALL item: host: smart-ups key: upsInputVoltage - sortorder: '1' drawtype: BOLD_LINE color: EE0000 yaxisside: RIGHT calc_fnc: ALL item: host: smart-ups key: RealDataInputCurrent