APC UPS: System uptime Health Monitor

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

This monitor catches Xian events that notifies when the System uptime has changed its state.

Knowledge Base article:

Summary

System uptime is over/under threshold.

Over threshold: The number of days the device was up is above the maximum threshold configured in Xian Network Manager 2012.

Under threshold: The number of days the device was up is below the minimum threshold configured in Xian Network Manager 2012.

Causes

Over threshold: The device has been on for a long time.

Under threshold: The device has been rebooted lately.

Resolutions

Over threshold: If the threshold was set for predictive performance/failure analysis, proceed related tasks. Program rebooting.

Under threshold: If a downtime was not programmed, monitor the cause for rebooting.

Additional

Monitors the number of days the device has been up.

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
System uptime Alert
{0}

Source Code:

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