<?xml version="1.0" standalone="yes"?>

<!--

  $Id: //depot/DEV/Emerald/src/plugin/monitors/typedef/99_wmi_disk_free.xml#1 $

-->
  
<NetVigil>
  <monitor type="wmi">

    <probeConfig>
      <subType name="phymemory_mb" enabled="true">
        <wmiObject>
          <prefix>Win32_OperatingSystem</prefix>
          <poll name="keyField" property="@"/>
          <poll name="input" property="FreePhysicalMemory"/>
        </wmiObject>
        <filter name="keyField"
          pattern="\bvista\b"
          action="reject"/>
        <postProcess
          parser="storage"
          testName="Physical Memory Free"
          resultMultiplier="1/1024"
		  displayUnit="MB"
          directive="none"/>
      </subType>
    </probeConfig>

    <testtype>
      <displayName>Physical Memory Available (WMI)</displayName>
      <displayCategory>system</displayCategory>
      <subType>phymemory_mb</subType>
      <units>MB</units>
      <showAsGroup>false</showAsGroup>
      <severity_ascends_with_value>false</severity_ascends_with_value>
      <defaultWarningThreshold>750</defaultWarningThreshold>
      <defaultCriticalThreshold>200</defaultCriticalThreshold>
      <shadowWarningThreshold>750</shadowWarningThreshold>
      <shadowCriticalThreshold>200</shadowCriticalThreshold>
      <slaThreshold>750</slaThreshold>
      <testInterval>600</testInterval>
      <testField>
        <fieldName>wmiProperty</fieldName>
        <fieldDisplayName>WMI Property</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>0.001</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>

