5.02021-11-21T21:34:58ZHalley templateHalley UPS Legrand cs121Halley UPS Legrand cs121## Overview
Template for monitoring UPS Legrand CS 121 (all models) with explanations and advices. The mibs are there: <http://ups.legrand.com/software/>
The content of template:
**5 Applications**: General, Health, Input, Output, Battery
**18 Items:**
Input voltage, Battery Status ,Estimated minutes remaining if no power , Bypass Voltage
Alarms present on {HOST.NAME}, Bypass Current, Bypass Power
Input line bads, Output Power, Output load in percent
Seconds on battery, Output Voltage
Estimated charge remaining, Battery voltage
Battery temperature, Device Version
Device Name, Device Model
13 Triggers and 4 Graphs
The template use SNMP agent v2. Assure that you set the community in template macros.
Assure also that in Administration -> General -> Value mapping you have under APC Battery Status next values
1 ⇒ unknown
2 ⇒ batteryNormal
3 ⇒ batteryLow
4 ⇒ batteryDepleted
## Author
Tudor Ticau
Halley templateBatteryGeneralHealthInputOutput- Alarms present on {HOST.NAME}SNMP_AGENT.1.3.6.1.2.1.33.1.6.1upsAlarmsPresent30The present number of active alarm conditions.Health{last()}<>0UPS Alarm PresentWARNINGOn your {HOST.NAME} are activated {ITEM.VALUE} alarms. Please check UPS - usually UPS must produce some sounds nowYESValue{ITEM.VALUE}
- Battery StatusSNMP_AGENT.1.3.6.1.2.1.33.1.2.1upsBatteryStatus30The indication of the capacity remaining in the UPS system's batteries. A value of batteryNormal indicates that the remaining run-time is greater than upsConfigLowBattTime. A value of batteryLow indicates that the remaining battery run-time is less than or equal to upsConfigLowBattTime. A value of batteryDepleted indicates that the UPS will be unable to sustain the present load when and if the utility power is lost (including the possibility that the utility power is currently absent and the UPS is unable to sustain the output).BatteryAPC Battery Status{last()}<>2Battery Status on {HOST.NAME} is {ITEM.VALUE}HIGHBattery Status on {HOST.NAME} is {ITEM.VALUE}YESValue{ITEM.VALUE}
- Battery temperatureSNMP_AGENT.1.3.6.1.2.1.33.1.2.7upsBatteryTemperature60°CThe ambient temperature at or near the UPS Battery casing.Battery{last()}>25Battery temperature HighHIGHYESValue{ITEM.VALUE}
- Battery voltageSNMP_AGENT.1.3.6.1.2.1.33.1.2.5upsBatteryVoltage60VThe magnitude of the present battery voltage.BatteryMULTIPLIER0.1
- Bypass CurrentSNMP_AGENT.1.3.6.1.2.1.33.1.5.3.1.3.1upsBypassCurrent.130AAn automatic bypass of voltage is used by the UPS to switch its load to the mains if it experiences an overload or internal failure. In other words, this mean that UPS has some problems and switch to the main (wall) power. So, if we have bypass - in bypass time our servers are connected directly to the line power - and are exposed to all electricity hazards.
This item show the amperage that we have in bypass timeHealthMULTIPLIER0.1
- Bypass PowerSNMP_AGENT.1.3.6.1.2.1.33.1.5.3.1.4.1upsBypassPower.130WAn automatic bypass is used by the UPS to switch its load to the mains if it experiences an overload or internal failure. In other words, this mean that UPS has some problems and switch to the main (wall) power. So, if we have bypass - in bypass time our servers are connected directly to the line power - and are exposed to all electricity hazards
This item show the power that we have in bypass timeHealth
- Bypass VoltageSNMP_AGENT.1.3.6.1.2.1.33.1.5.3.1.2.1upsBypassVoltage.130VAn automatic bypass of voltage is used by the UPS to switch its load to the mains if it experiences an overload or internal failure. In other words, this mean that UPS has some problems and switch to the main (wall) power. So, if we have bypass - in bypass time our servers are connected directly to the line power - and are exposed to all electricity hazardsHealth
- Estimated charge remainingSNMP_AGENT.1.3.6.1.2.1.33.1.2.4upsEstimatedChargeRemaining60%An estimate of the battery charge remaining expressed as a percent of full charge.Battery{last()}<20Battery Charge DepleatedHIGHYESValue{ITEM.VALUE}{last()}<80Battery Charge Less Than 80%WARNINGYESValue{ITEM.VALUE}
- Estimated minutes remaining if no powerSNMP_AGENT.1.3.6.1.2.1.33.1.2.3upsEstimatedMinutesRemaining30mAn estimate of the time to battery charge depletion under the present load conditions if the utility power is off and remains off, or if it were to be lost and remain off.Battery{last()}<10Battery Time Remaining Below 10 MinutesWARNINGYESValue{ITEM.VALUE}
- Device VersionSNMP_AGENT.1.3.6.1.2.1.33.1.1.4upsIdentAgentSoftwareVersion6000CHARThe UPS agent software version.General
- Device NameSNMP_AGENT.1.3.6.1.2.1.33.1.1.1upsIdentManufacturer6000CHARThe name of the UPS manufacturer.General
- Device ModelSNMP_AGENT.1.3.6.1.2.1.33.1.1.2upsIdentModel864000CHARThe UPS Model designation.General
- Input line badsSNMP_AGENT.1.3.6.1.2.1.33.1.3.1upsInputLineBads30A count of the number of times the input entered an out-of-tolerance condition as defined by the manufacturer. This count is incremented by one each time the input transitions from zero out-of-tolerance lines to one or more input lines out-of-tolerance. A big number show problems with the electricity power where your UPS is connectedInput{change()}<>0UPS Input Power Line BadHIGHYour UPS in 1 minute switch the input transitions from zero out-of-tolerance
lines to one or more input lines out-of-tolerance. In other words: you have line power problems (bad frequency, bad voltage - someone near you use a lot of electricity power)YESValue{ITEM.VALUE}
- Input voltageSNMP_AGENT.1.3.6.1.2.1.33.1.3.3.1.3.1upsInputVoltage.130VThe magnitude of the present input voltage.Input{last(#3)}<195 or {last()}>245UPS Power Voltage outside nominalHIGHThe input voltage on {HOST.NAME} is low or high. This can create big problems to your UPS, or, unfortunately to your serversYESValue{ITEM.VALUE}
- Output load in percentSNMP_AGENT.1.3.6.1.2.1.33.1.4.4.1.5.1upsOutputPercentLoad.130%The percentage of the UPS power capacity presently being used on this output line, i.e., the greater of the percent load of true power capacity and the percent load of VA.Output{last(#2)}>60UPS OverloadedHIGHYESValue{ITEM.VALUE}
- Output PowerSNMP_AGENT.1.3.6.1.2.1.33.1.4.4.1.4.1upsOutputPower.130wThe present output true power.Output{change()}>300UPS Load ChangedINFOOn {HOST.NAME} we detect a big load change - the power output differential is over 300WYESValue{ITEM.VALUE}{last()}<100UPS Low output powerWARNINGThe output power for {HOST.NAME} is under {ITEM.VALUE}. Take actions to prevent this in futureYESValue{ITEM.VALUE}
- Output VoltageSNMP_AGENT.1.3.6.1.2.1.33.1.4.4.1.2.1upsOutputVoltage.130VThe present output voltage.Output
- Seconds on batterySNMP_AGENT.1.3.6.1.2.1.33.1.2.2upsSecondsOnBattery30sIf the unit is on battery power, the elapsed time since the UPS last switched to battery power, or the time since the network management subsystem was last restarted, whichever is less. Zero shall be returned if the unit is not on battery power.Battery{last()}>30UPS Running On BatteryHIGHThe UPS {HOST.NAME} is running on battery. Please check the battery powerYESValue{ITEM.VALUE}
{$SNMP_COMMUNITY}MonitorZabbix{Halley UPS Legrand cs121:upsBypassCurrent.1.last()}<>0 or {Halley UPS Legrand cs121:upsBypassPower.1.last()}<>0UPS Bypassed on {HOST.NAME}WARNINGWe have a bypass state. Take actionsYESValue{ITEM.VALUE}BatteryNONOSTACKEDDD0000- Halley UPS Legrand cs121upsBatteryTemperature
1008800- Halley UPS Legrand cs121upsEstimatedChargeRemaining
22774A4- Halley UPS Legrand cs121upsEstimatedMinutesRemaining
Output Power1A7C11- Halley UPS Legrand cs121upsOutputPower.1
UPS LoadF63100- Halley UPS Legrand cs121upsOutputPercentLoad.1
VoltageF63100- Halley UPS Legrand cs121upsInputVoltage.1
100BB00- Halley UPS Legrand cs121upsOutputVoltage.1
APC Battery Status1unknown2batteryNormal3batteryLow4batteryDepleted