DFS-N: Folder State Mapped from Metadata

Microsoft.Windows.DfsNamespaceLinkStateFromMetadata (UnitMonitor)

This object monitors the state of a DFS folder (link) as represented in the namespace’s metadata, and maps the state to the folder’s entity in Operations Manager.

Knowledge Base article:

Summary

This object monitors the state of a DFS folder (link) as represented in the namespace’s metadata, and maps the state to the folder’s entity in Operations Manager.

Causes

This monitor enters the Critical condition if the specified folder has been disabled by a namespace administrator.

Resolutions

Open an elevated command prompt on a computer running Windows Server 2008 and then use the Dfsutil Property State Online \\<namespace>\<folder> command.

Note: To enable a DFS folder, you must be a member of the Local Administrators group on each namespace server.

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.

Additional

Element properties:

TargetMicrosoft.Windows.DfsNamespaceLink
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.DfsNamespace_Link_TargetStateProvider
RemotableTrue
AccessibilityPublic
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.DfsNamespaceLinkStateFromMetadata" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.DfsNamespaceLink" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.DfsNamespace_Link_TargetStateProvider" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<OperationalStates>
<OperationalState ID="UIGeneratedOpStateId8ae0f124d4df4a6bae6e7aaab87ebc9a" MonitorTypeStateID="Good" HealthState="Success"/>
<OperationalState ID="UIGeneratedOpStateId684c29f7d6824d788f85d6edcab951f7" MonitorTypeStateID="NotGood" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>10800</IntervalSeconds>
<SyncTime/>
<ElementState>$Target/Property[Type="Microsoft.Windows.DfsNamespaceLink"]/State$</ElementState>
</Configuration>
</UnitMonitor>