DFS-N: Dubbletter av DFS-mappar

Microsoft.Windows.FileServer.DFSN.6.3.DuplicateLinksAlertRule (Rule)

Detta objekt övervakar dubbletter av DFS-mappar (länkar).

Knowledge Base article:

Sammanfattning

Denna regel övervakar dubbletter av DFS-mappar (länkar). Den gör så genom att leta efter närvaro av DfsSvc-händelse 14547 i Loggbokens systemlogg.

Orsaker

Om ett skript försöker skapa samma DFS-mapp i en domänbaserad namnrymd (Windows Server 2008-läge) vid ungefär samma tidpunkt på olika namnrymdsservrar kan tjänsten DFS-namnrymd skapa två mappar med identiska namn.

Lösningar

För att ta bort dubblettmappar måste du vara medlem i administratörsgruppen för den domän som namnrymden finns i. För att ta bort dubblettmappar, se DFS Vanliga frågor om DFS-namnrymders (http://go.microsoft.com/fwlink/?LinkId=171023).

Mer information

DFS-namnrymders-händelse 14547 (http://go.microsoft.com/fwlink/?LinkId=187111)

Element properties:

TargetMicrosoft.Windows.FileServer.DFSN.6.3.RoleService
CategoryCustom
EnabledTrue
Event_ID14547
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
DFS-N: Dubbletter av DFS-mappar
{0}
Event LogSystem

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
Alert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.Windows.FileServer.DFSN.6.3.DuplicateLinksAlertRule" Enabled="true" Target="Microsoft.Windows.FileServer.DFSN.6.3.RoleService" 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>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">14547</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>DfsSvc</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertName/>
<AlertDescription/>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.FileServer.DFSN.6.3.DuplicateLinksAlertRule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/EventDisplayNumber$</SuppressionValue>
<SuppressionValue>$Data/Channel$</SuppressionValue>
<SuppressionValue>$Data/PublisherName$</SuppressionValue>
<SuppressionValue>$Data/EventDescription$</SuppressionValue>
<SuppressionValue>$Data/Params/Param[1]$</SuppressionValue>
<SuppressionValue>$Data/Params/Param[2]$</SuppressionValue>
<SuppressionValue>$Data/Params/Param[3]$</SuppressionValue>
<SuppressionValue>$Data/Params/Param[4]$</SuppressionValue>
</Suppression>
<Custom1/>
<Custom2/>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
</WriteActions>
</Rule>