Aracı Tarafından Başlatılan Bakım Modu Kuralı
Microsoft.SystemCenter.Agent.MaintenanceMode (Rule)
Bu kural, aracı tarafından başlatılan Bakım Modu İsteği'ni algılamak için kullanılır. Bu kural “Aracı Tarafından Başlatılan Bakım Modu Olay İşleme Kuralı”'na bağımlıdır. Aracı tarafından başlatılan Bakım Modu özelliği bu kuralların etkinleştirilmesini gerektirir.
Element properties: Member Modules:
Source Code: <Rule ID="Microsoft.SystemCenter.Agent.MaintenanceMode" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.Agent" ConfirmDelivery="false" Remotable="false" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</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">19999</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">OperationsManager</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="CollectToDB" TypeID="SCLibrary!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="CollectToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishEventData"/>
</WriteActions>
</Rule>