La règle collecte le compteur BandwidthUsedTotal pour les cartes réseau.
Cette règle collecte les données de performances pour le pourcentage de bande passante totale de carte réseau qui est utilisé pour les opérations de lecture et d'écriture.
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>