La règle collecte le compteur BandwidthUsedRead 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.
Target | Microsoft.Windows.Server.2008.NetworkAdapter |
Category | PerformanceCollection |
Enabled | False |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.Server.2008.NetworkAdapter.BandwidthUsed.ModuleType | Default |
CD | ConditionDetection | Microsoft.Windows.Server.2008.NetworkAdapter.BandwidthUsed.ConditionDetection.ModuleType | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.Windows.Server.2008.NetworkAdapter.PercentBandwidthUsedReads.Collection" Enabled="false" Target="Server2008!Microsoft.Windows.Server.2008.NetworkAdapter" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.2008.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>PercentBandwidthUsedRead</CounterName>
</DataSource>
</DataSources>
<ConditionDetection ID="CD" TypeID="Microsoft.Windows.Server.2008.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>