Collecte le pourcentage de mémoire disponible restante sur 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.HuaweiRouter_Performance_Memory |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | System.NetworkManagement.ComputedPerfProvider | Default |
CollectionFilter | ConditionDetection | System.NetworkManagement.ExpressionFilter | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="System.NetworkManagement.HuaweiRouter.Memory.FreeMemoryPct" Enabled="true" Target="NetworkLibrary!System.NetworkManagement.HuaweiRouter_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.5.25.31.1.1.1.1.7.$Target/Property[Type="NetworkLibrary!System.NetworkManagement.LogicalDevice"]/Index$</OID>
<Syntax>0</Syntax>
<Value VariantType="3"/>
</SnmpVarBind>
</SnmpVarBinds>
<ComputedPerformanceValue>
<Subtraction>
<NumericValue>
<Value>100</Value>
</NumericValue>
<NumericValue>
<XPathQuery Type="Double">SnmpVarBinds/SnmpVarBind[OID=".1.3.6.1.4.1.2011.5.25.31.1.1.1.1.7.$Target/Property[Type="NetworkLibrary!System.NetworkManagement.LogicalDevice"]/Index$"]/Value</XPathQuery>
</NumericValue>
</Subtraction>
</ComputedPerformanceValue>
<ObjectName>Memory</ObjectName>
<CounterName>Free Memory %</CounterName>
</DataSource>
</DataSources>
<ConditionDetection ID="CollectionFilter" TypeID="System.NetworkManagement.ExpressionFilter">
<Expression/>
<SuppressionSettings>
<MatchCount>3</MatchCount>
<SampleCount>3</SampleCount>
</SuppressionSettings>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SystemCenter!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>