Obnovení vypnutí služby Windows SNMP Service
System.NetworkManagement.DisableWinSNMP.ServiceMonitor.Recovery (Recovery)
Následující obnovení vypne službu Windows SNMP Service. Nástroj Operations Manager nemůže přijímat depeše protokolu SNMP, pokud je tato služba spuštěna.
Element properties: Member Modules:
Source Code: <Recovery ID="System.NetworkManagement.DisableWinSNMP.ServiceMonitor.Recovery" Accessibility="Internal" Enabled="true" Target="SystemCenter!Microsoft.SystemCenter.HealthService" Monitor="System.NetworkManagement.SNMPTrapPortAlreadyInUse.Monitor" ResetMonitor="true" ExecuteOnDiagnostic="System.NetworkManagement.CheckSNMPTrapService.Diagnostic" Remotable="false" Timeout="300">
<Category>Maintenance</Category>
<WriteAction ID="DisableSNMPServicesRecoveryTask" TypeID="System.NetworkManagement.DisableWinSNMP">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<SNMPTrapServiceName>snmptrap</SNMPTrapServiceName>
<SNMPServiceName>snmp</SNMPServiceName>
</WriteAction>
</Recovery>