VMware VirtualCenter: VM System uptime Health Monitor

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

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

Knowledge Base article:

Summary

VM System uptime is over/under threshold.

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

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

Causes

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

Under threshold: The Virtual Machine 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 the reason of the reboot.

Additional

Monitors the number of days that a virtual machine is up.

Element properties:

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

Source Code:

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