DFS-N: Folder Target Availability

Microsoft.Windows.StandaloneNamespaceLinkTarget.Availability (UnitMonitor)

When enabled, this object monitors the availability of a DFS folder (link) target and creates an alert if the folder target is not accessible.

Knowledge Base article:

Summary

When enabled, this object monitors the availability of a shared folder that acts as a DFS folder (link) target.

Causes

A folder target could be offline for the following reasons:

Resolutions

To test network connectivity with the affected server, use the following procedure:

1. Open a command prompt window and then use the ping command to check basic network connectivity. If the ping command fails, it is likely that the server is not running, or has network problems that require local access to resolve. If Ping is blocked in your network environment, skip this step.

2. If the ping command is successful, test the server’s registration in DNS by using the nslookup command. If the nslookup command fails, there is a problem with DNS. Check the DNS server health or contact the DNS server administrator.

3. If the nslookup command succeeds, it is likely that the shared folder is offline (possibly for maintenance) or there are problems with the permissions on the shared folder.

To verify that the folder (link) and folder targets are functioning properly, use the following procedure:

1. Open a command prompt window and then use the Dfsutil link\\<namespace>\<folder> command, where <namespace> is the namespace root and <folder> is the DFS folder whose folder targets you would like to verify are online (this command is not available on Windows Server 2003).

2. Confirm that the state of the folder is OK and that the states of the appropriate targets are Online, and then reset the monitor in the Operations console. The monitor in the Operations console should automatically reset to the Healthy state.

Element properties:

TargetMicrosoft.Windows.DfsNamespaceLinkTarget
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.TargetStateProvider
RemotableTrue
AccessibilityPublic
Alert Message
DFS-N: Folder Target Is Not Accessible
The following DFS folder (link) target is not accessible and may not exist: {0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.StandaloneNamespaceLinkTarget.Availability" Accessibility="Public" Enabled="false" Target="Microsoft.Windows.DfsNamespaceLinkTarget" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.TargetStateProvider" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.StandaloneNamespaceLinkTarget.Availability_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Microsoft.Windows.DfsNamespaceLinkTarget"]/TargetPath$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="UIGeneratedOpStateIddb70a2e34be1441b88c818f3fecb64fb" MonitorTypeStateID="NotAccessible" HealthState="Error"/>
<OperationalState ID="UIGeneratedOpStateIdc4128e23b03a4f5ea8b56b2566b4e38d" MonitorTypeStateID="Accessible" HealthState="Success"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>18000</IntervalSeconds>
<SyncTime/>
<TargetPath>$Target/Property[Type="Microsoft.Windows.DfsNamespaceLinkTarget"]/TargetPath$</TargetPath>
</Configuration>
</UnitMonitor>