zabbix_export: version: '6.0' date: '2021-11-21T21:46:44Z' groups: - uuid: 0e60ac85bc3941e2a1d66a048ff164da name: UPS templates: - uuid: 76d60706049540ffb4e265fcd0aecf9f template: 'UPS CyberPower PR1000RT2U' name: 'UPS CyberPower PR1000RT2U' description: | ## Overview I didn't see any templates for Cyberpower UPS systems so I made a quick and simple one. Hope this can help someone else! ## Author Adam Loghides groups: - name: UPS items: - uuid: 05adbf07979549bc9e5ba9f62acc2bc8 name: UPS-BatteryLevelPercent type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.3808.1.1.1.2.2.1.0 key: UPS-BatteryLevelPercent delay: 30s units: '%' tags: - tag: Application value: 'UPS Power Status' - uuid: a60d1867a49f4d1bac0e73c8da3f4940 name: UPS-BatteryMinutesRemaining type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.3808.1.1.1.2.2.4.0 key: UPS-BatteryMinutesRemaining delay: 30s units: minutes preprocessing: - type: MULTIPLIER parameters: - '.0001666666666666667' tags: - tag: Application value: 'UPS Fault Status' triggers: - uuid: 793578bb066545b6bf851a74d97cdad1 expression: 'last(/UPS CyberPower PR1000RT2U/UPS-BatteryMinutesRemaining,#1:now-0)<20' name: 'LESS than 20 minutes battery remaining on {HOST.NAME}' priority: DISASTER manual_close: 'YES' - uuid: d227e867676d49358227b0c26f82681a name: UPS-BatteryReplaceStatus type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.3808.1.1.1.2.2.5.0 key: UPS-BatteryReplaceStatus delay: 30s valuemap: name: 'CyberPower UPS Battery Replacement Indicator' tags: - tag: Application value: 'UPS Fault Status' triggers: - uuid: 859920f8b6224b3c85eae07ebb51e074 expression: 'last(/UPS CyberPower PR1000RT2U/UPS-BatteryReplaceStatus)=2' name: 'UPS Battery Replacement Needed' priority: DISASTER manual_close: 'YES' - uuid: 6a56d84adce44cc0b6a96d969422a05a name: UPS-BatteryVoltage type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.3808.1.1.1.2.2.2.0 key: UPS-BatteryVoltage delay: 30s units: Volts tags: - tag: Application value: 'UPS Power Status' - uuid: bd4cf130f1914a58ac7d2f72e5e67430 name: UPS-CurrentRating type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.3808.1.1.1.1.2.8.0 key: UPS-CurrentRating delay: 12h units: amp tags: - tag: Application value: 'UPS Information' - uuid: f776b52977204c8ca14cdc250ecea7e6 name: UPS-DateLastReplacedBattery type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.3808.1.1.1.2.1.3.0 key: UPS-DateLastReplaced delay: 30s trends: '0' value_type: TEXT tags: - tag: Application value: 'UPS Information' - uuid: 3feb3ef93d6c438b9d9947de610ac6ce name: UPS-FailCause type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.3808.1.1.1.3.2.5.0 key: UPS-FailCause delay: 30s description: | DESCRIPTION "The reason of UPS power failure. This value is set to: - noTransfer(1), if UPS is in utility mode. - highLineVoltage(2), if UPS switch to battery mode by reason of input voltage over the high transfer vloltage. - brownout(3), if UPS switch to battery mode by reason of input voltage under the low transfer vloltage. - selfTest(4), if the UPS was commanded to do a self test." valuemap: name: 'CyberPower UPS InputLineFailCause' tags: - tag: Application value: 'UPS Fault Status' - uuid: 8b3c6030e7094e5d84390d5abe0189b4 name: UPS-FirmwareRevision type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.3808.1.1.1.1.2.1.0 key: UPS-FirmwareRevision delay: 12h trends: '0' value_type: CHAR tags: - tag: Application value: 'UPS Information' - uuid: 061562f79b2549f88ee7e05e4758f482 name: UPS-InputFrequency type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.3808.1.1.1.3.2.4.0 key: UPS-InputFrequency delay: 30s units: Hz preprocessing: - type: MULTIPLIER parameters: - '.1' tags: - tag: Application value: 'UPS Power Status' - uuid: 5321c3f40cf44b1a84c9a022b2556bcb name: UPS-InputStatus type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.3808.1.1.1.3.2.6.0 key: UPS-InputStatus delay: 30s description: | 1 ⇒ normal 2 ⇒ overVoltage 3 ⇒ underVoltage 4 ⇒ frequencyFailure 5 ⇒ blackout valuemap: name: 'CyberPower UPS Input Status' tags: - tag: Application value: 'UPS Power Status' triggers: - uuid: 534f48fbe656455bae33edc7d75cedaa expression: 'last(/UPS CyberPower PR1000RT2U/UPS-InputStatus)=5' name: 'Blackout on {HOST.NAME}' priority: DISASTER manual_close: 'YES' - uuid: a6de812453a64fbf95ac6b11c4c21622 expression: 'last(/UPS CyberPower PR1000RT2U/UPS-InputStatus)=4' name: 'Frequency Failure on {HOST.NAME}' priority: DISASTER manual_close: 'YES' - uuid: 6381ad21d05a444bb7b5f4514435473f expression: 'last(/UPS CyberPower PR1000RT2U/UPS-InputStatus)=3' name: 'Under Voltage on {HOST.NAME}' priority: DISASTER manual_close: 'YES' - uuid: df9df3bf8c6f46569905b2992fa5ec57 name: UPS-InputVoltage type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.3808.1.1.1.3.2.1.0 key: UPS-InputVoltage delay: 30s units: Volts preprocessing: - type: MULTIPLIER parameters: - '.1' tags: - tag: Application value: 'UPS Power Status' triggers: - uuid: 1e02d08e920647adb1c5437d3a2f1e81 expression: 'last(/UPS CyberPower PR1000RT2U/UPS-InputVoltage,#1:now-0)<50' name: 'No Electricity on {HOST.NAME}' priority: DISASTER manual_close: 'YES' - uuid: 5703844379f54caf91288f8c59b8ab25 name: UPS-LoadPower type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.3808.1.1.1.1.2.7.0 key: UPS-LoadPower delay: 12h units: Watts tags: - tag: Application value: 'UPS Information' - uuid: 5c26498e5d8e401d8e590fbc33040bf4 name: UPS-Model type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.3808.1.1.1.1.1.1.0 key: UPS-Model delay: 12h trends: '0' value_type: CHAR tags: - tag: Application value: 'UPS Information' - uuid: f565e79c7ff54aef935a816941851b21 name: UPS-Name type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.3808.1.1.1.1.1.2.0 key: UPS-Name delay: 12h trends: '0' value_type: CHAR tags: - tag: Application value: 'UPS Information' - uuid: 2655c4cd4703476085eca868edc94eb3 name: UPS-OutputCurrent type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.3808.1.1.1.4.2.4.0 key: UPS-OutputCurrent delay: 60s units: amps tags: - tag: Application value: 'UPS Power Status' - uuid: d1873f1e249b472b89e982ce0d752f4e name: UPS-OutputFrequency type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.3808.1.1.1.4.2.2.0 key: UPS-OutputFrequency delay: 60s units: Hz preprocessing: - type: MULTIPLIER parameters: - '.1' tags: - tag: Application value: 'UPS Power Status' - uuid: cb09c2dd4edc4c3f9d3ba873979632fc name: UPS-OutputLoad type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.3808.1.1.1.4.2.3.0 key: UPS-OutputLoad delay: 30s units: Watts tags: - tag: Application value: 'UPS Power Status' triggers: - uuid: f145f2f577e34a5aa1cf165cfcc49eeb expression: 'last(/UPS CyberPower PR1000RT2U/UPS-OutputLoad)>900' name: 'UPS Overloaded' priority: HIGH manual_close: 'YES' - uuid: 37cf50acdd984ad0b55e44bee0d454e2 name: UPS-OutputPower type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.3808.1.1.1.4.2.5.0 key: UPS-OutputPower delay: 60s units: VA tags: - tag: Application value: 'UPS Power Status' - uuid: b5ba6897877848d2ad74b7d65e4456f2 name: UPS-OutputStatus type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.3808.1.1.1.4.1.1 key: UPS-OutputStatus delay: 60s description: | 1 ⇒ unknown 2 ⇒ onLine 3 ⇒ onBattery 4 ⇒ onBoost 5 ⇒ onSleep 6 ⇒ off 7 ⇒ rebooting valuemap: name: 'CyberPower UPS Output Status' tags: - tag: Application value: 'UPS Power Status' triggers: - uuid: b38b77704fbe457eae4acb26e6fc6c7a expression: 'last(/UPS CyberPower PR1000RT2U/UPS-OutputStatus)=3' name: 'Output is power by UPS Battery on {HOST.NAME}' priority: DISASTER manual_close: 'YES' - uuid: e83121510ba64019a416b8028ac797a5 name: UPS-OutputVoltage type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.3808.1.1.1.4.2.1.0 key: UPS-OutputVoltage delay: 60s units: Volts preprocessing: - type: MULTIPLIER parameters: - '.1' tags: - tag: Application value: 'UPS Power Status' - uuid: c8b71dabd459471087d656f91523b19a name: UPS-OutputWorkingFreq type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.3808.1.1.1.4.1.3.0 key: UPS-OutputWorkingFreq delay: 60s trends: '0' value_type: CHAR tags: - tag: Application value: 'UPS Information' - uuid: 5646b9d4ab074d54a50dcfacdcae2e85 name: UPS-PowerRating type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.3808.1.1.1.1.2.6.0 key: UPS-PowerRating delay: 12h units: Watts tags: - tag: Application value: 'UPS Information' - uuid: def69b471f6e4227b3e19b307dafa3b1 name: UPS-SerialNumber type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.3808.1.1.1.1.2.3.0 key: UPS-SerialNumber delay: 12h trends: '0' value_type: CHAR tags: - tag: Application value: 'UPS Information' - uuid: 22764812218348209383d23a11cc99e2 name: UPS-Temperature type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.3808.1.1.1.2.2.3.0 key: UPS-TemperatureLevel delay: 30s units: C description: 1.3.6.1.4.1.3808.1.1.1.2.2.3.0 tags: - tag: Application value: 'UPS Environment' triggers: - uuid: 54ddc558bc024d4d9f66a112403814d9 expression: 'last(/UPS CyberPower PR1000RT2U/UPS-TemperatureLevel)>32' name: 'Temperature is above 90F on {HOST.NAME}' priority: DISASTER manual_close: 'YES' - uuid: 1ce85b4d0baf43bf8945e731f73a61cd name: UPS-TemperatureLevelF type: CALCULATED key: UPS-TemperatureLevelF delay: 30s units: F params: '(last(//UPS-TemperatureLevel)*1.8+32)' tags: - tag: Application value: 'UPS Environment' triggers: - uuid: 8298914f804844c79df4651916ea873d expression: 'last(/UPS CyberPower PR1000RT2U/UPS-TemperatureLevelF)>82' name: 'Temperature is above 82F on {HOST.NAME}' priority: HIGH manual_close: 'YES' - uuid: 4771694019354a249ed69cc43332ff8c expression: 'last(/UPS CyberPower PR1000RT2U/UPS-TemperatureLevelF)<59' name: 'Temperature is below 59F on {HOST.NAME}' priority: HIGH manual_close: 'YES' - uuid: 16ef0e76a413459984e767bca4386543 name: UPS-TimeOnBattery type: SNMP_AGENT snmp_oid: 1.3.6.1.4.1.3808.1.1.1.2.1.2.0 key: UPS-TimeOnBattery delay: 30s trends: '0' value_type: CHAR tags: - tag: Application value: 'UPS Fault Status' dashboards: - uuid: cb01b2787e934027a1766f0dc1ca6658 name: 'UPS Info' pages: - widgets: - type: GRAPH_CLASSIC width: '24' height: '5' fields: - type: INTEGER name: source_type value: '0' - type: GRAPH name: graphid value: name: 'UPS Load and Battery Remaining' host: 'UPS CyberPower PR1000RT2U' - type: GRAPH_CLASSIC 'y': '5' width: '24' height: '5' fields: - type: INTEGER name: source_type value: '0' - type: GRAPH name: graphid value: name: 'UPS Battery Time Remaining' host: 'UPS CyberPower PR1000RT2U' valuemaps: - uuid: b321ab3ff4f1434698d042192f9d774f name: 'CyberPower UPS Battery Replacement Indicator' mappings: - value: '1' newvalue: 'Battery Healthy' - value: '2' newvalue: 'Battery Needs Replacement' - uuid: 8b3b33a6a2444ef1af262397a6e35423 name: 'CyberPower UPS InputLineFailCause' mappings: - value: '1' newvalue: noTransfer - value: '2' newvalue: highLineVoltage - value: '3' newvalue: brownout - value: '4' newvalue: selfTest - uuid: 51bd978139c14ba7923a4965ab8c04ce name: 'CyberPower UPS Input Status' mappings: - value: '1' newvalue: normal - value: '2' newvalue: overVoltage - value: '3' newvalue: underVoltage - value: '4' newvalue: frequencyFailure - value: '5' newvalue: blackout - uuid: e9a72719665f475c9ad30e96c33658e9 name: 'CyberPower UPS Output Status' mappings: - value: '1' newvalue: unknown - value: '2' newvalue: onLine - value: '3' newvalue: onBattery - value: '4' newvalue: onBoost - value: '5' newvalue: onSleep - value: '6' newvalue: 'off' - value: '7' newvalue: rebooting graphs: - uuid: 21848a5e6bb24fe69ade051bb37ae2f4 name: 'UPS Battery Time Remaining' graph_items: - color: 33FF33 item: host: 'UPS CyberPower PR1000RT2U' key: UPS-BatteryMinutesRemaining - uuid: 92d707da5e91452ea0f9458fc9f20bc8 name: 'UPS Load and Battery Remaining' graph_items: - drawtype: FILLED_REGION color: 1A7C11 item: host: 'UPS CyberPower PR1000RT2U' key: UPS-BatteryLevelPercent - sortorder: '1' drawtype: DASHED_LINE color: 66FF66 item: host: 'UPS CyberPower PR1000RT2U' key: UPS-OutputLoad