<NetVigil>
  <monitor type="snmp">

    <probeConfig>
      <subType name="phymemory_used" enabled="true">
	    <appliesTo configCount="0"/>
        <snmpOid>
          <prefix>.1.3.6.1.2.1.25.2.3.1</prefix>
          <poll name="objectIndex" index="1" />
          <poll name="portType" index="2" />
          <poll name="hrStorageDescr" index="3"/>
          <poll name="maximumValue" index="5" />
          <poll name="input" index="6" />
		  <poll name="hrStorageAllocationUnits" index="4"/>
        </snmpOid>
        <filter name="portType"
          pattern="\.1\.3\.6\.1\.2\.1\.25\.2\.1\.(2|8)"
          action="accept"/>
        <filter name="hrStorageDescr"
          pattern="(memory|ram)"
          action="accept"/>
        <postProcess
          parser="storage"
          testName="Physical Memory Used"
          displayUnit="MB"
		  warningThreshold="[[int($maximumValue * .90)*($hrStorageAllocationUnits/1048576)]]"
		  criticalThreshold="[[int($maximumValue * .95)*($hrStorageAllocationUnits/1048576)]]"
		  resultMultiplier="[[$hrStorageAllocationUnits/1048576]]" 
          directive="none"/>
      </subType>
    </probeConfig>

    <testtype>
      <displayName>Physical Memory Used (SNMP)</displayName>
      <displayCategory>system</displayCategory>
      <subType>phymemory_used</subType>
      <units>MB</units>
      <showAsGroup>false</showAsGroup>
      <severity_ascends_with_value>true</severity_ascends_with_value>
      <defaultWarningThreshold>5000</defaultWarningThreshold>
      <defaultCriticalThreshold>1000</defaultCriticalThreshold>
      <shadowWarningThreshold>5000</shadowWarningThreshold>
      <shadowCriticalThreshold>1000</shadowCriticalThreshold>
      <slaThreshold>1000</slaThreshold>
      <testInterval>600</testInterval>
      <testField>
        <fieldName>snmpOID</fieldName>
        <fieldDisplayName>SNMP Object ID</fieldDisplayName>
        <isRequired>true</isRequired>
        <isPassword>false</isPassword>
        <defaultValue></defaultValue>
      </testField>
      <testField>
        <fieldName>resultMultiplier</fieldName>
        <fieldDisplayName>Result Multiplier</fieldDisplayName>
        <isRequired>false</isRequired>
        <isPassword>false</isPassword>
        <defaultValue>1</defaultValue>
      </testField>
      <testField>
        <fieldName>maxValue</fieldName>
        <fieldDisplayName>Maximum Value</fieldDisplayName>
        <isRequired>false</isRequired>
        <isPassword>false</isPassword>
        <defaultValue></defaultValue>
      </testField>
      <testField>
        <fieldName>resultProcessDirective</fieldName>
        <fieldDisplayName>Post Processing Directive</fieldDisplayName>
        <isRequired>false</isRequired>
        <isPassword>false</isPassword>
        <defaultValue>0</defaultValue>
      </testField>
    </testtype>

  </monitor>
</NetVigil>

