收集 Worker Internal Queue Length

Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.Rule.Collect.WorkerInternalQueueLength (Rule)

收集 Microsoft Service Automation Worker 的 Worker Internal Queue Length 計數器

Knowledge Base article:

摘要

收集 Worker Internal Queue Length 效能計數器。

設定

您可以在此規則上設定下列選項:

選項

定義

預設值

CounterName

效能計數器的名稱。除了由語言套件覆寫外,不應覆寫此值。

WorkerInternalQueueLength

已啟用

指定監視是否應執行。

True

頻率

執行規則的間隔秒數。

600

MaximumSampleSeparation

容錯設定內的最大樣本數目,在收集新樣本之前,會略過此數目的樣本。

4

ObjectName

效能物件的名稱。除了由語言套件覆寫外,不應覆寫此值。

Orchestrator Worker 效能計數器

容錯

樣本值必須不同於先前收集的值,才能收集該樣本的數量。

5

Element properties:

TargetMicrosoft.SystemCenter.ServiceManagementAutomation.2012R2.Server.Worker
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

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

Source Code:

<Rule ID="Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.Rule.Collect.WorkerInternalQueueLength" Target="Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.Server.Worker" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SystemCenter.ServiceManagementAutomation.2012R2.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Worker Internal Queue Length</CounterName>
<ObjectName>Orchestrator Worker Performance Counters</ObjectName>
<InstanceName/>
<AllInstances>true</AllInstances>
<Frequency>600</Frequency>
<Tolerance>5</Tolerance>
<ToleranceType>Percentage</ToleranceType>
<MaximumSampleSeparation>6</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>