Samla in hälsotjänst\modulräkning

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

Samlar in modulräkning prestandaräknare.

Knowledge Base article:

Sammanfattning

Den här regeln samlar in data åt prestandaräknaren Hälsotjänst\Modulräknare.

Orsaker

Det här avsnittet gäller inte för prestandainsamlingsregler.

Lösningar

Det finns ingen lösning för prestandainsamlingsregler eftersom de inte genererar något annat tillstånd eller några aviseringar.

Element properties:

TargetMicrosoft.SystemCenter.HealthService
CategoryPerformanceCollection
EnabledTrue
Instance NameHealth Service
Counter NameModule 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.ModuleCount" 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>Module 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>