APC UPS: Battery replace indicator status Health Monitor

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

This monitor catches Xian events that notifies when the Battery replace indicator status has changed its state.

Knowledge Base article:

Summary

Battery replace indicator status has changed.

The process status has changed from one of the following states to another: No Battery Needs Replacing or Battery Needs Replacing.

Causes

When (1) no battery needs to be replaced, and when (2) there is at least one battery that needs to be replaced.

Resolutions

Replace the battery with low charge by a fully charged battery.

Additional

Monitors the battery replace indicator status. It can be (1) for No Battery Needs Replacing, or (2) for Battery Needs Replacing

Element properties:

TargetJalasoft.Xian.Common.Types.ThirdParty.APC.JsXBatteryElementContainer
Parent MonitorSystem.Health.PerformanceState
AlgorithmWorstOf
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityLow
Alert Auto ResolveTrue
RemotableTrue
AccessibilityPublic
Alert Message
Battery replace indicator status Alert
{0}

Source Code:

<AggregateMonitor ID="Jalasoft.Xian.SmartManagementPacks.ApcUps.BatteryReplaceIndicator.1.1" Accessibility="Public" Enabled="true" Target="ThirdParty_APC!Jalasoft.Xian.Common.Types.ThirdParty.APC.JsXBatteryElementContainer" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="true" Priority="Normal">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="BatteryReplaceIndicator_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>