This rule monitors the availability of DFS folders by accessing them from a client computer.
This rule monitors the availability of DFS folders by accessing them from a client computer.
A DFS folder could be unavailable for a number of reasons including the following:
No folder targets are online
No folder targets are enabled
The folder has been renamed or deleted
Flush the DFS referral cache and check the health of the namespace
To resolve this issue, use the following procedure:
1. In the Operations console, click the Client Alerts view to determine which paths are not accessible.
2. Open a command prompt window and then use the Dfsutil cache referral flush command to flush the DFS referral cache on the client computer.
3. Use the dfsdiag /testreferral/dfspath:\\<namespace> command to check the health of a namespace, where <namespace> is the namespace root. Confirm that all tests report Success or are known, non-critical conditions.
If any tests fail, escalate the resolution of this problem to a technician who can troubleshoot DFS Namespaces issues.
Verification
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.
If the link (folder) is not OK, escalate the resolution of this problem to a technician who can troubleshoot DFS Namespaces issues. If the folder target is Offline, troubleshoot the server hosting the folder target.
Target | Microsoft.Windows.FileServer.DFSN.Client | ||
Category | Custom | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Remotable | True | ||
Alert Message |
| ||
Event Log | Operations Manager |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.EventProvider | Default |
Alert | WriteAction | System.Health.GenerateAlert | Default |
<Rule ID="Microsoft.Windows.FileServer.DFSN.DfsPathNotReachableClientAlert" Enabled="true" Target="Microsoft.Windows.FileServer.DFSN.Client" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Custom</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Operations Manager</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">101</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Health Service Script</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DFSNClientSideMonitoring.vbs</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.FileServer.DFSN.DfsPathNotReachableClientAlert.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/Params/Param[2]$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/EventDisplayNumber$</SuppressionValue>
<SuppressionValue>$Data/PublisherName$</SuppressionValue>
<SuppressionValue>$Data/EventDescription$</SuppressionValue>
<SuppressionValue>$Data/Params/Param[2]$</SuppressionValue>
</Suppression>
<Custom1/>
<Custom2/>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
</WriteActions>
</Rule>