(已過時) 檢查管理設定服務狀態

Microsoft.SystemCenter.ConfigService.Diagnostic.QueryConfigService (Diagnostic)

檢查管理設定服務是否正在執行。

Element properties:

TargetMicrosoft.SystemCenter.RootManagementServer
MonitorMicrosoft.SystemCenter.ConfigurationService.ServiceMonitor
RemotableTrue
Timeout300
Execute On StateError
CategoryMaintenance
Enabledfalse
AccessibilityPublic
CommentQueries both Service State and configuration. If the service doesn't exist or the computer cannot be contacted, State value will reflect this.

Member Modules:

ID Module Type TypeId RunAs 
QueryRemoteHS ProbeAction Microsoft.Windows.ServiceControlManager.QueryService Microsoft.SystemCenter.AgentManagementAccount

Source Code:

<Diagnostic ID="Microsoft.SystemCenter.ConfigService.Diagnostic.QueryConfigService" Comment="Queries both Service State and configuration. If the service doesn't exist or the computer cannot be contacted, State value will reflect this." Accessibility="Public" Enabled="false" Target="SCLibrary!Microsoft.SystemCenter.RootManagementServer" Monitor="Microsoft.SystemCenter.ConfigurationService.ServiceMonitor" ExecuteOnState="Error" Remotable="true" Timeout="300">
<Category>Maintenance</Category>
<ProbeAction ID="QueryRemoteHS" RunAs="SCLibrary!Microsoft.SystemCenter.AgentManagementAccount" TypeID="Windows!Microsoft.Windows.ServiceControlManager.QueryService">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<ServiceName>OMCFG</ServiceName>
</ProbeAction>
</Diagnostic>