Veeam VMware: Virtual Machine Uptime Monitor

Veeam.Virt.Extensions.VMware.VMGUEST.Monitor.Uptime (UnitMonitor)

Knowledge Base article:

Summary

This monitor will change state to Red when the virtual machine is powered OFF; or when VMware Tools are installed but not running or not responding.

By design, this monitor does not generate an alert by default. It will only set state for availability of the virtual machine.

Causes

Either:

Resolutions

Check the VM status, by attempting remote desktop connection, checking in vSphere Client, or even simple Ping command. If an Ops Mgr agent is present in the VM there may also be a Heartbeat alert regarding the agent.

If the VM is powered off but should be powered on, then power it on using either the vSphere client, or the Ops Mgr Task 'PowerOnVM' available in-context of the VM.

If the VM is powered on, but VMware Tools is not responding, then check the VM status using vSphere Client VM-Console. Check for the VMware Tools service and processes. The VM may be unresponsive, for example in a Blue Screen state. In this case reset the VM to force a reboot.

You may wish to consider implementing vSphere High Availability which will automatically reset VMs when VMware Tools heartbeat is not responding.

If this VM is not expected or required to be powered on then you may wish to disable this monitor using an override. However note that the state data from this monitor is used for the Veeam MP for VMware Virtual Machine Uptime Report. Disabling this monitor will also disable the report.

Use the Alerts View to see all current open issues for this object. Use the Events View to review any error and warning events for this object. Open a Performance View to see the performance metrics for this object and all contained objects. Open a Diagram View to analyze the relationships of this object to other components.

External

See the Help Center for more information including reference lists of all Rules and Monitors and full set of User Guides for the Veeam MP for VMware.

See the VMware Online Documentation for more information on VMware vSphere, in particular:

Element properties:

TargetVeeam.Virt.Extensions.VMware.VMGUEST
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveTrue
Monitor TypeVeeam.Virt.Extensions.VMware.VMUptime.3StateMonitorType
RemotableTrue
AccessibilityPublic
RunAsDefault

Source Code:

<UnitMonitor ID="Veeam.Virt.Extensions.VMware.VMGUEST.Monitor.Uptime" Accessibility="Public" Enabled="onEssentialMonitoring" Target="VeeamVEVMwareLib!Veeam.Virt.Extensions.VMware.VMGUEST" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Veeam.Virt.Extensions.VMware.VMUptime.3StateMonitorType" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<OperationalStates>
<OperationalState ID="Green" MonitorTypeStateID="StateOK" HealthState="Success"/>
<OperationalState ID="Yellow" MonitorTypeStateID="StateWarning" HealthState="Warning"/>
<OperationalState ID="Red" MonitorTypeStateID="StateError" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ClassName>VMStats</ClassName>
<FilterExpression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='entityId']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="VeeamVEVMwareLib!Veeam.Virt.Extensions.VMware.VMGUEST"]/id$</Value>
</ValueExpression>
</SimpleExpression>
</FilterExpression>
</Configuration>
</UnitMonitor>