A figyelt szolgáltatás szálainak száma.
Ez a szabály a Windows-szolgáltatással kapcsolatos szálak számát gyűjti. A Windows-szolgáltatássablon használatával figyelt szolgáltatások esetében ez a szabály felülbírálással letiltásra kerül.
Target | Microsoft.SystemCenter.OwnProcessNTService |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.SystemCenter.NTService.RawPerfCounterProvider | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
<Rule ID="Microsoft.SystemCenter.NTService.CollectThreadCount" Target="Microsoft.SystemCenter.OwnProcessNTService" Enabled="true">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SystemCenter.NTService.RawPerfCounterProvider">
<ServiceName>$Target/Property[Type="Microsoft.SystemCenter.NTService"]/ServiceName$</ServiceName>
<ObjectName>Process</ObjectName>
<CounterName>Thread Count</CounterName>
<InstanceProperty>Name</InstanceProperty>
<ValueProperty>ThreadCount</ValueProperty>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
</WriteActions>
</Rule>