APC UPS: UPS batteries status Health Monitor

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

This monitor catches Xian events that notifies when the UPS batteries status has changed its state.

Knowledge Base article:

Summary

UPS battery status has changed.

The process status has changed from one of the following states to another:Unknown, Battery Normal, or Battery Low.

Causes

A Battery Low value indicates the UPS will be unable to sustain the current load and its services will be lost if power is not restored. The Unknown value is present when it cannot recognize any of the other values.

Resolutions

Batteries need to be recharged.

Additional

Monitors status of UPS batteries. It can be (1) for Unknown, (2) for Battery Normal, and (3) Battery Low

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
UPS batteries status Alert
{0}

Source Code:

<AggregateMonitor ID="Jalasoft.Xian.SmartManagementPacks.ApcUps.BasicBatteryStatus.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="BasicBatteryStatus_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>