Überwachung auf Betriebszustand „Datenträgerbeschädigung: Reparatur erfolgreich, kein Neustart erforderlich“
Microsoft.Windows.Client.Vista.Computer.DiskCorruptionRepairSucceededNoReboot.Monitor (UnitMonitor)
Element properties:
Source Code:
<UnitMonitor ID="Microsoft.Windows.Client.Vista.Computer.DiskCorruptionRepairSucceededNoReboot.Monitor" Accessibility="Public" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Target="Vista!Microsoft.Windows.Client.Vista.Computer" TypeID="Windows!Microsoft.Windows.SingleEventLogManualReset2StateMonitorType" Remotable="true" Enabled="true" Priority="Normal" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Client.Vista.Computer.DiskCorruptionRepairSucceededNoReboot.Monitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>false</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="DiskHealthy" HealthState="Success" MonitorTypeStateID="ManualResetEventRaised"/>
<OperationalState ID="DiskCorruptionRepairSucceededNoReboot" HealthState="Warning" MonitorTypeStateID="EventRaised"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Microsoft-Windows-CorruptedFileRecovery-Server/Operational</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>7</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventSourceName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Microsoft-Windows-CorruptedFileRecovery-Server</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>