<?xml version="1.0" standalone="yes"?>

<!--

  $Id: //depot/RELEASE/Traverse_5.5/etc/typedef/99_wmi_host.xml#1 $
  
  Copyright 2001-2003 Fidelia Technology, Inc. All Rights Reserved. This
  software is the proprietary information of Fidelia Technology, Inc. Use is
  subject to license terms.

  Configuration file for automatically discovering and monitoring system
  resources via WMI on Windows hosts
  
-->
        
<NetVigil>
  <monitor type="wmi">

    <probeConfig>
      <subType name="disk" enabled="true">
        <appliesTo
          deviceType="nt,proxy"/>
        <wmiObject>
          <prefix>Win32_LogicalDisk</prefix>
          <poll name="keyField" property="DeviceID"/>
          <poll name="driveType" property="DriveType"/>
          <poll name="deviceId" property="Caption"/>
          <poll name="volumeName" property="VolumeName"/>
          <poll name="maximumValue" property="Size"/>
          <poll name="input" property="FreeSpace"/>
        </wmiObject>
        <filter name="driveType"
          pattern="^4$"
          action="accept"/>
        <filter name="input"
          pattern="^$"
          action="reject"/>
        <postProcess
          parser="storage"
          objectName="[[$deviceId]][[($volumeName) ? qq( ($volumeName)) : '';]]"
          testName="Disk [[$objectName]] Space Util"
          displayUnit="%"
          resultMultiplier="1"
          directive="revpercent"/>
      </subType>
    </probeConfig>

  </monitor>

  <applicationProfile>
    <name>Windows Network Mounts</name>
    <description>
      Usage of Network Drives on a Windows Server
    </description>
    <testList type="wmi">
      <subType>disk</subType>
    </testList>
  </applicationProfile>

</NetVigil>
