# Enum - ClusterDasConfigInfoVmMonitoringState(vim.cluster.DasConfigInfo.VmMonitoringState)

Since
  vSphere API 4.1

## Enum Description

The ClusterDasConfigInfoVmMonitoringState enum defines values that indicate the state of Virtual Machine Health Monitoring. Health Monitoring uses the vmTools (guest) and application agent heartbeat modules. You can configure HA to respond to heartbeat failures of either one or both modules. You can also disable the HA response to heartbeat failures.

- To set the cluster default for health monitoring, use the ClusterConfigSpecEx.dasConfig.vmMonitoring property.
- To set health monitoring for a virtual machine, use the ClusterConfigSpecEx.dasVmConfigSpec.info.dasSettings.vmToolsMonitoringSettings property.
- To retrieve the current state of health monitoring (cluster setting), use the ClusterConfigInfoEx.dasConfig.vmMonitoring property.
- To retrieve the current state of health monitoring for a virtual machine, use the ClusterConfigInfoEx.dasVmConfig[].dasSettings.vmToolsMonitoringSettings.vmMonitoring property.

Enum Constants

Name | Description
--- | ---
vmAndAppMonitoring | HA response to both guest and application heartbeat failure is enabled. To retrieve the guest heartbeat status, use the VirtualMachine.guestHeartbeatStatus property. To retrieve the application heartbeat status, use the GuestInfo.appHeartbeatStatus property.
vmMonitoringDisabled | Virtual machine health monitoring is disabled. In this state, HA response to guest and application heartbeat failures are disabled.
vmMonitoringOnly | HA response to guest heartbeat failure is enabled. To retrieve the guest heartbeat status, use the VirtualMachine.guestHeartbeatStatus property.

Show WSDL type definition
<simpleType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sms="urn:sms" name="ClusterDasConfigInfoVmMonitoringState"> <restriction base="xsd:string"> <enumeration value="vmMonitoringDisabled"/> <enumeration value="vmMonitoringOnly"/> <enumeration value="vmAndAppMonitoring"/> </restriction> </simpleType>