APC UPS: Test diagnostic results Health Monitor

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

This monitor catches Xian events that notifies when the Test diagnostic results has changed its state.

Knowledge Base article:

Summary

Test Diagnostic results has changed the state.

The Test diagnostic results have changed from one of the following states to another: OK, Failed, Invalid Test, and Test in Progress.

Causes

When OK, there are no current problems found in the diagnostic test done by the UPS internal routine. When Failed, the test diagnostic result immediately warns you of wiring problems, like improper grounds.

Resolutions

Review if the battery needs to be replace, it is low, or the connected equipment exceeds the rated load for the UPS and causes a power overload condition. Then run the rule again.

Additional

Monitors the result of the last UPS test performed.It can be (1) for OK, (2) for failed, (3) for invalid Test, and (4) for test in progress

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
Test diagnostic results Alert
{0}

Source Code:

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