运行状况服务进程 (HealthService.exe) 上的 Process\\% Processor Time 的性能收集规则
此规则收集 Processor\% Processor Time 性能计数器的性能数据。
本节不适用于性能收集规则。
对性能收集规则没有可执行的解决办法,因为它们不生成状态或警报。
Target | Microsoft.SystemCenter.ManagementServer |
Category | PerformanceCollection |
Enabled | True |
Instance Name | Process |
Counter Name | \% Processor Time |
Frequency | 30 |
Alert Generate | False |
Remotable | True |
Comment | Health Service Collection Rules |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
PerfDataSource | DataSource | System.Performance.OptimizedDataProvider | Default |
PerfWriteAction | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
<Rule ID="Microsoft.SystemCenter.HealthService.Processor.PerfCollection" Comment="Health Service Collection Rules" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.ManagementServer" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="PerfDataSource" TypeID="Performance!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>% Processor Time</CounterName>
<ObjectName>Process</ObjectName>
<InstanceName>HealthService</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>30</Frequency>
<Tolerance>3</Tolerance>
<MaximumSampleSeparation>20</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="PerfWriteAction" TypeID="SCLibrary!Microsoft.SystemCenter.CollectPerformanceData"/>
</WriteActions>
</Rule>