APC UPS: Time on battery power Health Monitor

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

This monitor catches Xian events that notifies when the Time on battery power has changed its state.

Knowledge Base article:

Summary

Time on battery power is over threshold.

Monitors the elapsed time since the UPS has switched to battery power

Causes

It send alerts when the time that UPS has switched to battery power is over the time specified by the user in Xian console

Resolutions

The battery must be replaced when the battery time is out

Additional

Monitors the elapsed time since the UPS has switched to battery power

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
Time on battery power Alert
{0}

Source Code:

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