收集网络适配器的 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>