收集 Health Service\Workflow Count

Microsoft.SystemCenter.HealthService.CollectionRule.Performance.WorkflowCount (Rule)

收集 [Workflow Count] 效能計數器。

Knowledge Base article:

摘要

此規則會收集 [Health Service\Workflow Count] 效能計數器的資料。

原因

本部分不適用效能集合規則。

解決方式

沒有可以為效能集合規則執行的解決方式,因為它們不會產生狀態或警示。

Element properties:

TargetMicrosoft.SystemCenter.HealthService
CategoryPerformanceCollection
EnabledTrue
Instance NameHealth Service
Counter NameWorkflow Count
Frequency900
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource System.Performance.OptimizedDataProvider Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.SystemCenter.HealthService.CollectionRule.Performance.WorkflowCount" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.HealthService" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Performance!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Workflow Count</CounterName>
<ObjectName>Health Service</ObjectName>
<InstanceName/>
<AllInstances>false</AllInstances>
<Frequency>900</Frequency>
<Tolerance>5</Tolerance>
<ToleranceType>Percentage</ToleranceType>
<MaximumSampleSeparation>10</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SCLibrary!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>