VMware VirtualCenter: ESX System uptime Health Monitor

Jalasoft.Xian.SmartManagementPacks.VMwareVirtualCenters.EsxSysUptime.1.1 (AggregateMonitor)

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

Knowledge Base article:

Summary

ESX System uptime is over/under threshold.

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

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

Causes

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

Under threshold: The ESX server has been rebooted lately.

Resolutions

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

Under threshold: If a downtime has not been programmed, verify reason for rebooting.

Additional

Monitors the number of days an ESX server is up.

Element properties:

TargetJalasoft.Xian.Common.Elements.ThirdParty.VMWare.JsXVMwareVirtualCenterEsxElement
Parent MonitorSystem.Health.PerformanceState
AlgorithmWorstOf
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityLow
Alert Auto ResolveTrue
RemotableTrue
AccessibilityPublic
Alert Message
ESX System uptime Alert
{0}

Source Code:

<AggregateMonitor ID="Jalasoft.Xian.SmartManagementPacks.VMwareVirtualCenters.EsxSysUptime.1.1" Accessibility="Public" Enabled="true" Target="ThirdParty_VMWare!Jalasoft.Xian.Common.Elements.ThirdParty.VMWare.JsXVMwareVirtualCenterEsxElement" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="true" Priority="Normal">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="EsxSysUptime_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>