Directory Service Health

VMware.View.Node.DirectoryServiceCheck (UnitMonitor)

Knowledge Base article:

Summary

The View Directory Component Service provides directory services to other view components.

Causes

A service can stop for many reasons, including:

Resolutions

Restart the service

The service should be configured with a startup type of “Automatic” and the Log On configuration should be set to “Local System”.

Element properties:

TargetVMware.View.Component.Directory
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityInternal
Alert Message
VMware View Directory service is not running
VMware View Directory service on {0} is not running.
RunAsDefault

Source Code:

<UnitMonitor ID="VMware.View.Node.DirectoryServiceCheck" Accessibility="Internal" Target="ViewLib!VMware.View.Component.Directory" ParentMonitorID="Health!System.Health.AvailabilityState" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="VMware.View.Node.DirectoryServiceCheck.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type='Windows!Microsoft.Windows.Computer']/PrincipalName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Error" MonitorTypeStateID="NotRunning" HealthState="Error"/>
<OperationalState ID="Success" MonitorTypeStateID="Running" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>ADAM_VMwareVDMDS</ServiceName>
<CheckStartupType>false</CheckStartupType>
</Configuration>
</UnitMonitor>