APC UPS: Defective battery packs Health Monitor

Jalasoft.Xian.SmartManagementPacks.ApcUps.BatteryNumOfBadBattPacks.1.1 (AggregateMonitor)

This monitor catches Xian events that notifies when the Defective battery packs has changed its state.

Knowledge Base article:

Summary

Number of defective battery packs is over threshold

The number of defective battery packs owned by the device is over threshold and this rule creates an alert when the defective battery packs are more than 0

Causes

One or more battery packs are defective and need to be replaced to provide with a significant increase in on-battery runtime for your protected equipment.

Resolutions

Replace defective battery packs for new ones.

Additional

Monitors the number of defective external battery packs connected to the UPS.

Element properties:

TargetJalasoft.Xian.Common.Elements.ThirdParty.APC.JsXApcUpsSnmpDeviceElement
Parent MonitorSystem.Health.PerformanceState
AlgorithmWorstOf
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityLow
Alert Auto ResolveTrue
RemotableTrue
AccessibilityPublic
Alert Message
Defective battery packs Alert
{0}

Source Code:

<AggregateMonitor ID="Jalasoft.Xian.SmartManagementPacks.ApcUps.BatteryNumOfBadBattPacks.1.1" Accessibility="Public" Enabled="true" Target="ThirdParty_APC!Jalasoft.Xian.Common.Elements.ThirdParty.APC.JsXApcUpsSnmpDeviceElement" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="true" Priority="Normal">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="BatteryNumOfBadBattPacks_AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Low</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Params/Param[3]$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<Algorithm>WorstOf</Algorithm>
</AggregateMonitor>