此規則會收集網路介面卡的 BandwidthUsedTotal 計數器。
此規則會收集用於讀取和寫入作業之網路介面卡總頻寬百分比的效能資料。
Target | Microsoft.Windows.Server.6.2.NetworkAdapter |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.Server.6.2.NetworkAdapter.BandwidthUsed.ModuleType | Default |
CD | ConditionDetection | Microsoft.Windows.Server.6.2.NetworkAdapter.BandwidthUsed.ConditionDetection.ModuleType | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.Windows.Server.6.2.NetworkAdapter.PercentBandwidthUsedTotal.Collection" Enabled="true" Target="WindowsServer!Microsoft.Windows.Server.6.2.NetworkAdapter" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.6.2.NetworkAdapter.BandwidthUsed.ModuleType">
<IntervalSeconds>300</IntervalSeconds>
<IsDiscoverDisabled>true</IsDiscoverDisabled>
<IsUseMacAddress>true</IsUseMacAddress>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetbiosComputerName$</ComputerName>
<InstanceName>$Target/Property[Type="WindowsServer!Microsoft.Windows.Server.NetworkAdapter"]/PerfmonInstance$</InstanceName>
<CounterName>PercentBandwidthUsedTotal</CounterName>
</DataSource>
</DataSources>
<ConditionDetection ID="CD" TypeID="Microsoft.Windows.Server.6.2.NetworkAdapter.BandwidthUsed.ConditionDetection.ModuleType">
<Tolerance>10</Tolerance>
<ToleranceType>Absolute</ToleranceType>
<MaximumSampleSeparation>12</MaximumSampleSeparation>
<ReturnedObjectName>/DataItem/InstanceName</ReturnedObjectName>
<MonitoringObjectName>$Target/Property[Type="WindowsServer!Microsoft.Windows.Server.NetworkAdapter"]/PerfmonInstance$</MonitoringObjectName>
<Frequency>300</Frequency>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>