5.02021-11-21T21:50:47ZTemplates/ModulesModule Cyberpower RMCARD305Module Cyberpower RMCARD305## Description
SNMPv2 Template for Cyberpower's remote management card ver.305 (205) used in OR and PR-series UPSes. Tested on firmware version 1.3.0. Created by Taurus (https://github.com/RusTaurus) MIBs used: CPS-MIB (v2.9) https://www.cyberpowersystems.com/products/software/mib-files/
## Overview
This is Zabbix SNMPv2 Template for Cyberpower's remote management card ver.305(205) used in OR- and PR-series UPSes.
Tested on Zabbix 4.0 and 4.4, PR3000ELCDRT2U, OR1500ELCDRM1U with RMCARD305 (firmware version 1.3.0).
[Here](https://github.com/RusTaurus/cyberpower-rmcard305) you can find latest firmware and MIB versions of RMCARD305.
---
Enhancements in v2 version of this template:
* New application with UPS configuration settings
* Add discovery of battery Age Recommendation parameter
* Display RMCARD serial number
---
MIBs used: CPS-MIB (v2.9)
## Author
Sergey Romanov
Templates/ModulesBatteryInformationInputOutputRMCARDUPS Configuration Settings- CapacitySNMP_AGENT1.3.6.1.4.1.3808.1.1.1.2.2.1.0battery.Capacity30s30d%CPS-MIB::upsAdvanceBatteryCapacity - the battery capacity expressed in percentageBattery{last()}<=20Battery capacity is lowHIGHUPS on battery{Module Cyberpower RMCARD305:output.Status.last()}=3
- Remaining RuntimeSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.2.2.4.0battery.RemainingRuntime30s30dFLOATminCPS-MIB::upsAdvanceBatteryRunTimeRemaining - the UPS battery remaining run timeBatteryMULTIPLIER0.00016666666666
- Replace IndicatorSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.2.2.5.0battery.ReplaceIndicator1h30d0CPS-MIB::upsAdvanceBatteryReplaceIndicator - this value indicates if UPS batteries need to be replacedBatteryCyberPower UPS Battery Replacement Indicator
- StatusSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.2.1.1.0battery.Status15s30dCPS-MIB::upsBaseBatteryStatus - the UPS battery status. A batteryLow(3) value means the battery will be exhausted soon under the current load. The amount of low battery run time can be configured by the upsAdvanceConfigLowBatteryRunTime.BatteryCyberPower UPS Battery Status
- Time on BatterySNMP_AGENT1.3.6.1.4.1.3808.1.1.1.2.1.2.0battery.TimeOnBattery30s30dFLOATminCPS-MIB::upsBaseBatteryTimeOnBattery - the UPS wasted battery time since the UPS has transfered to backup modeBatteryMULTIPLIER0.00016666666666
- Voltage RatingSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.2.2.8.0battery.VoltageRating1h30d0VCPS-MIB::upsAdvanceBatteryVoltageRating - the DC voltage rating of the battery setBattery
- System - Audible AlarmSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.5.2.4.0config.audibleAlarm30m30d0CPS-MIB::upsAdvanceConfigAlarm - this value is set to handle audible alarms when power failure.UPS Configuration SettingsCyberPower UPS Config - Audible Alarm
- Battery Low ThresholdSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.5.2.18.0config.batteryLow30m30d0%CPS-MIB::upsAdvanceConfigLowBatteryThreshold - when the UPS supplies battery power and the remaining capacity is lower than this threshold, the UPS will sound an alarm. The value expressed in percentage.UPS Configuration Settings
- System - Over Discharge ProtectionSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.5.2.16.0config.dischargeProtection30m30d0CPS-MIB::upsAdvanceConfigDeepDischargeProtection - when the UPS is on Battery Mode with 0% load and the status remains for the time configured, the RMCARD will enforce the UPS to Sleep Mode and the output will be turned off. The possible values are 0, 20, 40, and 60 minutes. If a value other than a possible value is set, it will not be accepted.UPS Configuration SettingsCyberPower UPS Config - Over Discharge Protection
- Output VoltageSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.5.2.1.0config.outputVoltage30m30d0VCPS-MIB::upsAdvanceConfigOutputVoltage - the standard UPS output voltage in Volts. The possible values are 100, 110, 120, 127, 208, 220, 230, and 240. If a value other than a possible value is set, it will not be accepted.UPS Configuration Settings
- System - Enter Sleep Mode After All Clients ShutdownSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.5.2.17.0config.sleepMode30m30d0CPS-MIB::upsAdvanceConfigSleepAfterAllClientShut - if this option is enabled, UPS will enter sleep mode after utility power failed and remaining MSDT+2 minutes.More information about MSDT please reference to help page of UPS - > PowerPanel List.UPS Configuration SettingsCyberPower UPS Config - Sleep After All Clients Shutdown
- Last Fail CauseSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.3.2.5.0input.FailCause1h1w0CPS-MIB::upsAdvanceInputLineFailCause - 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.InputCyberPower UPS Input Fail Cause
- FrequencySNMP_AGENT1.3.6.1.4.1.3808.1.1.1.3.2.4.0input.Frequency30s30dHzCPS-MIB::upsAdvanceInputFrequency - the input line frequency in HzInputMULTIPLIER0.1
- StatusSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.3.2.6.0input.Status15s30dCPS-MIB::upsAdvanceInputStatus - display the present status of the utility power supplied to the UPSInputCyberPower UPS Input Status
- VoltageSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.3.2.1.0input.Voltage30s30dVCPS-MIB::upsAdvanceInputLineVoltage - the input line voltage in VoltsInputMULTIPLIER0.1
- FrequencySNMP_AGENT1.3.6.1.4.1.3808.1.1.1.4.2.2.0output.Frequency30s30dHzCPS-MIB::upsAdvanceOutputFrequency - the UPS output frequency in HzOutputMULTIPLIER0.1
- LoadSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.4.2.3.0output.Load30s30d%CPS-MIB::upsAdvanceOutputLoad - the UPS output load expressed in percentageOutput
- Load (watts)SNMP_AGENT1.3.6.1.4.1.3808.1.1.1.4.2.5.0output.LoadW30s30d!WCPS-MIB::upsAdvanceOutputPower - the total output active power of the UPS system in WOutput
- StatusSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.4.1.1.0output.Status15s30dCPS-MIB::upsBaseOutputStatus - the UPS output statusOutputCyberPower UPS Output Status{last()}=3UPS on batteryAVERAGE
- VoltageSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.4.2.1.0output.Voltage30s30dVCPS-MIB::upsAdvanceOutputVoltage - the UPS output voltage in VoltsOutputMULTIPLIER0.1
- Firmware RevisionSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.1.2.4.0rmcard.FirmwareRevision1h1w0TEXTCPS-MIB::upsAdvanceIdentAgentFirmwareRevision - the SNMP agent firmware revisionRMCARD
- Serial NumberSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.1.2.9.0rmcard.SerialNumber1h1w0TEXTCPS-MIB::upsAdvanceIdentAgentSerialNumber - a string identifying the serial number of the AgentRMCARD
- Firmware VersionSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.1.2.1.0ups.info.FirmwareVersion1h1w0TEXTCPS-MIB::upsAdvanceIdentFirmwareRevision - the UPS firmware revisionInformation
- Load PowerSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.1.2.7.0ups.info.LoadPower1h1w0!WCPS-MIB::upsAdvanceIdentLoadPower - the power rating (Watts) of the UPSInformation
- ModelSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.1.1.1.0ups.info.Model1h1w0TEXTCPS-MIB::upsBaseIdentModel - the UPS model nameMODELInformation
- NameSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.1.1.2.0ups.info.Name1h1w0TEXTCPS-MIB::upsBaseIdentName - the UPS identified name could be set by the administratorNAMEInformation
- Power RatingSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.1.2.6.0ups.info.PowerRating1h1w0!VACPS-MIB::upsAdvanceIdentPowerRating - the Volt-Amp rating of the UPSInformation
Battery Age Recommendation DiscoverySNMP_AGENTdiscovery[{#SNMPVALUE},1.3.6.1.4.1.3808.1.1.1.2.1.4]BatteryAge.discovery30s{#SNMPVALUE}(^0{1})NOT_MATCHES_REGEXADiscovery because CPS-MIB::upsBaseBatteryAgeRecommand returns 0 (zero) on OR-series UPSes.Age RecommendationSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.2.1.4.{#SNMPINDEX}battery.ageRecommend.[{#SNMPINDEX}]1h1w0monthsCPS-MIB::upsBaseBatteryAgeRecommand - Recommended battery life in monthsBatteryLast Replace DateSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.2.1.3.{#SNMPINDEX}battery.lastReplaceDate.[{#SNMPINDEX}]1h1w0CHARCPS-MIB::upsBaseBatteryLastReplaceDate - the UPS batteries last replaced date in mm/dd/yyyy format. This value is originally set when manufactured. If batteries replaced, administrator should reset this value.BatteryCyberPower UPS Last Replace DateConfiguration Discovery #1SNMP_AGENTdiscovery[{#SNMPVALUE},1.3.6.1.4.1.3808.1.1.1.5.2.15]config.discovery.130s{#SNMPVALUE}(^NULL{1})NOT_MATCHES_REGEXADiscovery because CPS-MIB::upsAdvanceConfigColdStart returns NULL on OR-series UPSes.System - Cold StartSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.5.2.15.{#SNMPINDEX}config.coldStart.[{#SNMPINDEX}]30m30d0CPS-MIB::upsAdvanceConfigColdStart - set the ability of the UPS can start in the absence of input power. When this option is enabled the UPS can be turned on without having input power.UPS Configuration SettingsCyberPower UPS Config - Cold StartConfiguration Discovery #2SNMP_AGENTdiscovery[{#SNMPVALUE},1.3.6.1.4.1.3808.1.1.1.5.2.14]config.discovery.230s{#SNMPVALUE}(^NULL{1})NOT_MATCHES_REGEXADiscovery because CPS-MIB::upsAdvanceConfigRechargedCapacity returns NULL on OR-series UPSes.Power Restore - Recharged CapacitySNMP_AGENT1.3.6.1.4.1.3808.1.1.1.5.2.14.{#SNMPINDEX}config.rechargedCapacity.[{#SNMPINDEX}]30m30d0CPS-MIB::upsAdvanceConfigRechargedCapacity - when the utility power restores, the UPS will start to recharge until the specified battery capacity in percentage is met before restoring output power. The possible values are 0, 15, 30, 45, 60, 75, and 90. If a value other than a possible value is set, it will not be accepted.UPS Configuration SettingsCyberPower UPS Config - Recharged CapacityConfiguration Discovery #3SNMP_AGENTdiscovery[{#SNMPVALUE},1.3.6.1.4.1.3808.1.1.1.5.2.9]config.discovery.330s{#SNMPVALUE}(^NULL{1})NOT_MATCHES_REGEXADiscovery because CPS-MIB::upsAdvanceConfigReturnDelay returns NULL on OR-series UPSes.Power Restore - Returned DelaySNMP_AGENT1.3.6.1.4.1.3808.1.1.1.5.2.9.{#SNMPINDEX}config.returnedDelay.[{#SNMPINDEX}]30m30d0FLOATminCPS-MIB::upsAdvanceConfigReturnDelay - the delay time the UPS will turn on after power recovery. The value is also used in a 'reboot' or 'wake up' sequence. The possible values are 0 to 600 seconds. If a value other than a supported value is set, the value will not be accepted.UPS Configuration SettingsMULTIPLIER0.00016666666666Configuration Discovery #4SNMP_AGENTdiscovery[{#SNMPVALUE},1.3.6.1.4.1.3808.1.1.1.5.2.10]config.discovery.430s{#SNMPVALUE}(^NULL{1})NOT_MATCHES_REGEXADiscovery because CPS-MIB::upsAdvanceConfigShutoffDelay returns NULL on OR-series UPSes.Timers - ShutOff DelaySNMP_AGENT1.3.6.1.4.1.3808.1.1.1.5.2.10.{#SNMPINDEX}config.shutoffDelay.[{#SNMPINDEX}]30m30d0FLOATminCPS-MIB::upsAdvanceConfigShutoffDelay - the delay time the UPS will remain on after receiving a turn off command. The possible values are between 60 to 5940 seconds. If a value other than a supported value is set, the value will not be accepted.UPS Configuration SettingsMULTIPLIER0.00016666666666Configuration Discovery #5SNMP_AGENTdiscovery[{#SNMPVALUE},1.3.6.1.4.1.3808.1.1.1.5.2.11]config.discovery.530s{#SNMPVALUE}(^NULL{1})NOT_MATCHES_REGEXADiscovery because CPS-MIB::upsAdvanceConfigSleepDelay returns NULL on OR-series UPSes.Timers - Sleep DelaySNMP_AGENT1.3.6.1.4.1.3808.1.1.1.5.2.11.{#SNMPINDEX}config.sleepDelay.[{#SNMPINDEX}]30m30d0FLOATminCPS-MIB::upsAdvanceConfigSleepDelay - the delay time the UPS will enter sleep mode after receiving a sleep command. The possible values are between 60 to 5940 seconds. If a value other than a supported value is set, the value will not be accepted.UPS Configuration SettingsMULTIPLIER0.00016666666666Output Current DiscoverySNMP_AGENTdiscovery[{#SNMPVALUE},1.3.6.1.4.1.3808.1.1.1.4.2.4]Output.current.discovery30s{#SNMPVALUE}(^0{1})NOT_MATCHES_REGEXADiscovery because CPS-MIB::upsAdvanceOutputCurrent returns 0 (zero) on OR-series UPSes.CurrentSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.4.2.4.{#SNMPINDEX}output.current.[{#SNMPINDEX}]FLOATACPS-MIB::upsAdvanceOutputCurrent - the UPS output current in AmpsOutputMULTIPLIER0.1Temperature DiscoverySNMP_AGENTdiscovery[{#SNMPVALUE},1.3.6.1.4.1.3808.1.1.1.2.2.3]Temperature.discovery30s{#SNMPVALUE}(^0{1})NOT_MATCHES_REGEXADiscovery because CPS-MIB::upsAdvanceBatteryTemperature returns 0 (zero) on OR-series UPSes.TemperatureSNMP_AGENT1.3.6.1.4.1.3808.1.1.1.2.2.3.{#SNMPINDEX}ups.info.Temperature.[{#SNMPINDEX}]FLOAT°CCPS-MIB::upsAdvanceBatteryTemperature - the UPS battery temperature expressed in CelsiusInformation{$SNMP_COMMUNITY}publicCyberPower UPS Battery Replacement Indicator1noBatteryNeedsReplacing2batteryNeedsReplacingCyberPower UPS Battery Status1unknown2batteryNormal3batteryLow4batteryNotPresentCyberPower UPS Config - Audible Alarm1timed2enable3disable4muteCyberPower UPS Config - Cold Start1disable2enableCyberPower UPS Config - Over Discharge Protection0disableCyberPower UPS Config - Recharged Capacity0instantCyberPower UPS Config - Sleep After All Clients Shutdown1disable2enableCyberPower UPS Input Fail Cause1noTransfer2highLineVoltage3brownout4selfTestCyberPower UPS Input Status1normal2overVoltage3underVoltage4frequencyFailure5blackoutCyberPower UPS Last Replace DateNULLPls (re)set this value in web-interfaceCyberPower UPS Output Status1unknown2onLine3onBattery4onBoost5onSleep6off7rebooting