DFS Root Monitor

Microsoft_Windows_2003_DFS_Link_Monitor (UnitMonitor)

Knowledge Base article:

Management Pack
Summary

This rule runs a script that acquires a list of all roots, links, and targets. An alert is generated for each root or link that is in an unhealthy state. The state of the components will be set to red if all root and link targets for a specific root or link are unhealthy. The state will be set to yellow if only some root and link targets for a specific root or link are unhealthy.

 
Causes

Possible causes for failing the health check include:

  • There are network connectivity problems.
  • Access to the destination server was rejected (for example, due to lack of permissions).
  • The destination server or shared network resource no longer exists.
  • The Distributed File System service is stopped or unhealthy (root targets only).
 
Resolutions
  1. Verify that the root server has basic network connectivity.
  2. Verify that the root server has network connectivity to the destination server and that it can be reached by name.
  3. Verify that the destination server or shared network resource exists. If not, the server or the shared network resource might need to be brought back online. If a root target cannot be reached, the Distributed File System service might be stopped or unhealthy on the root server. Check for other Distributed File System alerts related to the Distributed File System service.
  4. Verify that the Distributed File System roots and links are configured as intended and update the targets if necessary.
  5. Verify that NTFS and share permissions are set appropriately and are not causing access-denied errors.
 
© 2000-2004 Microsoft Corporation, all rights reserved.

Element properties:

TargetMicrosoft.Windows.Server.DFS.DFS_Link_Class
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft_Windows_2003_DFS_State_Monitoring
RemotableTrue
AccessibilityInternal
Alert Message
DFS Link Monitor
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft_Windows_2003_DFS_Link_Monitor" TypeID="Microsoft_Windows_2003_DFS_State_Monitoring" Accessibility="Internal" Target="Microsoft.Windows.Server.DFS.DFS_Link_Class" Enabled="true" ParentMonitorID="HealthLibrary!System.Health.AvailabilityState">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft_Windows_2003_DFS_Link_Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='Description']$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Success" MonitorTypeStateID="Success" ID="AlertLevelError"/>
<OperationalState HealthState="Error" MonitorTypeStateID="Error" ID="AlertLevelSuccess"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime>0:08</SyncTime>
<TimeoutSeconds>300</TimeoutSeconds>
<InstanceKeyValue>$Target/Host/Property[Type="Microsoft.Windows.Server.DFS.DFS_Root_Class"]/RootName$\$Target/Property[Type="Microsoft.Windows.Server.DFS.DFS_Link_Class"]/LinkName$</InstanceKeyValue>
<NetbiosComputerName>$Target/Host/Host/Host/Property[Type="WindowsLibrary!Microsoft.Windows.Computer"]/NetbiosComputerName$</NetbiosComputerName>
<NetbiosDomainName>$Target/Host/Host/Host/Property[Type="WindowsLibrary!Microsoft.Windows.Computer"]/NetbiosDomainName$</NetbiosDomainName>
<DFSUtilLocation>%ProgramFiles%\Support Tools\dfsutil.exe</DFSUtilLocation>
<PingLinkTargets>False</PingLinkTargets>
</Configuration>
</UnitMonitor>