Cette règle collecte le pourcentage de mémoire disponible pour le périphérique.
Cette règle récupère la quantité de mémoire disponible restante dans le pool de mémoire du périphérique, exprimée sous la forme d'un pourcentage.
Target | System.NetworkManagement.ASeriesRouter_Performance_Memory |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | System.NetworkManagement.ComputedPerfProvider | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="System.NetworkManagement.ASeriesRouter.Memory.FreeMemoryPct" Enabled="true" Target="NetworkLibrary!System.NetworkManagement.ASeriesRouter_Performance_Memory" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="System.NetworkManagement.ComputedPerfProvider">
<Interval>300</Interval>
<NoOfRetries>3</NoOfRetries>
<Timeout>3500</Timeout>
<SnmpVarBinds>
<SnmpVarBind>
<OID>.1.3.6.1.4.1.2011.10.2.6.1.1.1.1.8.$Target/Property[Type="NetworkLibrary!System.NetworkManagement.LogicalDevice"]/Index$</OID>
<Syntax>0</Syntax>
<Value VariantType="8"/>
</SnmpVarBind>
</SnmpVarBinds>
<ComputedPerformanceValue>
<Subtraction>
<NumericValue>
<Value>100</Value>
</NumericValue>
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID=".1.3.6.1.4.1.2011.10.2.6.1.1.1.1.8.$Target/Property[Type="NetworkLibrary!System.NetworkManagement.LogicalDevice"]/Index$"]/Value</XPathQuery>
</NumericValue>
</Subtraction>
</ComputedPerformanceValue>
<ObjectName>Memory</ObjectName>
<CounterName>Free Memory %</CounterName>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SystemCenter!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>