<!--
   MODIFIED    (MM/DD/YY)
      rajverma  05/18/08 - xbranch bug6879092 to 10.2.0.4.2DB11.2_LINUX
      spanchum  06/01/07 - Bug-5921990-OIDs causing CPU spikes for 7.X when collecting QtreesRaw
      ajayshar  08/29/05 - Bug-4520858-Response metric to use snmp ping function
      ajayshar  08/02/05 - Bug-4519111-'Volume Usage' should also show Aggregates
      ajayshar  06/23/05 - Bug-4382301-NVRAM battery status changed to 1 for values greater than 7
      ajayshar  05/19/05 - Bug-4379986- Not to compute Available value as [Total - Used].
      ajayshar  05/16/05 - Bug-4372116- Negative Number issue for aggregates.
      ajayshar  03/24/05 - ONTAP 7.X changes
      ajayshar  04/30/05 - 4342423 - Change the OID for computing IsSnapEnabled (IsSnapLicensed) 
      ajere     04/19/05 - Revert Response metric to use ICMP ping.
      ajayshar  03/22/05 - 4158302- Made response dependent on SNMP.
      ajayshar  10/04/04 - Commented EnabledSoftware
      ajayshar  08/09/04 - adding snmp max. response tiem parameter
      sreddy    07/14/04 - fix dynamic property compute oid error issue 
                           by having 2 xml blocks
      ajere     06/30/04 - Change the metadata version to 2.1 for 10gR2. 
      ajayshar  06/23/04 - Added ICMPPing and SNMPPing Test metrices
      ajayshar  06/21/04 - Added dynamic properties "IsClusterEnabled" ,"IsSnapEnabled" and ValidIf Blocks
 -->
<!DOCTYPE TargetMetadata SYSTEM "../dtds/TargetMetadata.dtd">

<TargetMetadata META_VER="2.2" TYPE="netapp_filer" CATEGORY_PROPERTIES="IsClusterEnabled;IsSnapLicensed;Filer_Version">

<Display>
  <Label NLSID="netapp_filer">Network Appliance Filer</Label>
</Display>
 
<!-- ***************************************************************************
********* -->

  <Metric NAME="Product" TYPE="TABLE">
    <Display>
      <Label NLSID="netapp_filer_info">Product Information</Label>
    </Display>
    <TableDescriptor>
      <ColumnDescriptor NAME="productCategory" TYPE="STRING">
        <Display>
         <Label NLSID="netapp_filer_product_category">Product Category</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="prodVersion" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_product_version">Version</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="prodId" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_product_id">Product ID</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="prodVendor" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_product_vendor">Vendor</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="prodModel" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_product_model">Model</Label>
        </Display>
      </ColumnDescriptor>
         <ColumnDescriptor NAME="firmwareVersion" TYPE="STRING">
            <Display>
               <Label NLSID="netapp_filer_firmware_version">Firmware Version</Label>
            </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="prodVersionBucket" TYPE="STRING"  COMPUTE_EXPR="(prodVersion __contains 'NetApp Release 7.') ? '7.X':'6.X'" TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_prodVersionBucket">Product Version Bucket</Label>
        </Display>
      </ColumnDescriptor>
    </TableDescriptor>
    <QueryDescriptor FETCHLET_ID="Snmp">
      <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
      <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
      <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
      <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
      <Property NAME="TABLE"    SCOPE="GLOBAL">FALSE</Property>
      <Property NAME="OIDS"     SCOPE="GLOBAL">1.3.6.1.2.1.1.2.0
                                               1.3.6.1.4.1.789.1.1.2.0
                                               1.3.6.1.4.1.789.1.1.3.0
                                               1.3.6.1.4.1.789.1.1.4.0
                                               1.3.6.1.4.1.789.1.1.5.0
                                               1.3.6.1.4.1.789.1.1.6.0
      </Property>
    </QueryDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->
   <Metric NAME="ICMPPing" TYPE="TABLE" IS_TEST_METRIC="TRUE" USAGE_TYPE="HIDDEN">
     <Display>
      <Label NLSID="netapp_filer_icmpping">ICMP Ping Test</Label>
    </Display>
    <TableDescriptor>
       <ColumnDescriptor NAME="tcpPing" TYPE="NUMBER">
         <Display>
           <Label NLSID="netapp_filer_resp_tcpPing">TCP Ping, Milliseconds</Label>
         </Display>
       </ColumnDescriptor>
       <!--
       <ColumnDescriptor NAME="Status" TYPE="NUMBER">
         <Display>
           <Label NLSID="netapp_filer_resp_status">Status</Label>
         </Display>
       </ColumnDescriptor>
       -->       
     </TableDescriptor>
     <QueryDescriptor FETCHLET_ID="OSLineToken">
       <Property NAME="perlBin" SCOPE="SYSTEMGLOBAL">perlBin</Property>
       <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property>
       <Property NAME="command" SCOPE="GLOBAL">%perlBin%/perl %scriptsDir%/osresp.pl</Property>
       <Property NAME="ENVEM_TARGET_NAME" SCOPE="INSTANCE">AgentHost</Property>
       <Property NAME="ENVEM_REC_MAX_RESPONSE_TIME" SCOPE="GLOBAL">3</Property>
       <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property>
       <Property NAME="delimiter" SCOPE="GLOBAL">|</Property>
     </QueryDescriptor>
   </Metric>

<!-- ***************************************************************************
********* -->

   <Metric NAME="SNMPPing" TYPE="TABLE" IS_TEST_METRIC="TRUE" USAGE_TYPE="HIDDEN">
     <Display>
       <Label NLSID="netapp_filer_snmpping">SNMP Ping Test</Label>
     </Display>
     <TableDescriptor>
       <ColumnDescriptor NAME="SystemId" TYPE="STRING" TRANSIENT="TRUE">
         <Display>
           <Label NLSID="netapp_filer_sysid">SystemId</Label>
         </Display>
       </ColumnDescriptor>
     </TableDescriptor>
     <QueryDescriptor FETCHLET_ID="Snmp">
       <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
       <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
       <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
       <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
       <Property NAME="TABLE" SCOPE="GLOBAL">FALSE</Property>
       <Property NAME="OIDS" SCOPE="GLOBAL">1.3.6.1.4.1.789.1.1.3.0</Property>
     </QueryDescriptor>
   </Metric>

<!-- ********************* Response Metric ************************************* -->

   <Metric NAME="Response" TYPE="TABLE">
     <Display>
       <Label NLSID="netapp_filer_resp">Response</Label>
     </Display>
     <TableDescriptor>

       <ColumnDescriptor NAME="Status" TYPE="NUMBER">
         <Display>
           <Label NLSID="netapp_filer_resp_status">Status</Label>
         </Display>
       </ColumnDescriptor>

     </TableDescriptor>
     <QueryDescriptor FETCHLET_ID="Snmp">
       <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
       <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
       <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
       <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
       <Property NAME="PINGMODE" SCOPE="GLOBAL">TRUE</Property>
       <Property NAME="OIDS" SCOPE="GLOBAL">1.3.6.1.4.1.789.1.1.3.0</Property>
     </QueryDescriptor>
   </Metric>

<!--   ******* Commented Enabled Software *********

  <Metric NAME="EnabledSoftware" TYPE="TABLE">
    <Display>
      <Label NLSID="netapp_filer_enabled_software">Enabled Software</Label>
    </Display>
    <TableDescriptor>
      <ColumnDescriptor NAME="IsNfsEnabled" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_is_nfs_enabled">NFS</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="IsCifsEnabled" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_is_cifs_enabled">CIFS</Label>
        </Display>
      </ColumnDescriptor>

      <ColumnDescriptor NAME="IsCifsNewConnectionsEnabled" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_is_cifs_new_connections_enabled">CIFS New Connections</Label>
        </Display>
      </ColumnDescriptor>

      <ColumnDescriptor NAME="IsClusteredFailoverEnabled" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_is_clustered_failover_enabled">Clustered Failover</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="IsSnapMirrorEnabled" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_is_snapmirror_enabled">SnapMirror</Label>
        </Display>
      </ColumnDescriptor>
    </TableDescriptor>
    <QueryDescriptor FETCHLET_ID="Snmp">
      <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
      <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
      <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
      <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
      <Property NAME="TABLE"    SCOPE="GLOBAL">FALSE</Property>
      <Property NAME="OIDS"     SCOPE="GLOBAL">1.3.6.1.4.1.789.1.3.3.1.0
                                               1.3.6.1.4.1.789.1.7.1.1.0

                                               1.3.6.1.4.1.789.1.7.1.2.0

                                               1.3.6.1.4.1.789.1.2.3.1.0
                                               1.3.6.1.4.1.789.1.9.1.0
      </Property>
    </QueryDescriptor>
  </Metric>
  -->

<!-- ***************************************************************************
********* -->

  <Metric NAME="Health" TYPE="TABLE">
    <Display>
      <Label NLSID="netapp_filer_health">Appliance Health</Label>
    </Display>
    <TableDescriptor>
      <ColumnDescriptor NAME="TemperatureExceeded" TYPE="NUMBER">
        <Display FOR_SUMMARY_UI="TRUE">
          <Label NLSID="netapp_filer_temperature_exceeded">Temperature Exceeded</Label>
          <ShortName NLSID="temperature_exceeded_short">Temp Exceed</ShortName>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="FansFailed" TYPE="NUMBER">
        <Display FOR_SUMMARY_UI="TRUE">
          <Label NLSID="netapp_filer_fans_failed">Fans Failed</Label>
          <ShortName NLSID="fans_failed_short">Fans Failed</ShortName>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="FansFailedMessage" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_fans_failed_message">Fans Failed Message</Label>
          <ShortName NLSID="fans_failed_msg_short">Fans Failed Message</ShortName>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="PowerSuppliesFailed" TYPE="NUMBER">
        <Display FOR_SUMMARY_UI="TRUE">
          <Label NLSID="netapp_filer_power_supplies_failed">Power Supplies Failed</Label>
          <ShortName NLSID="power_supplies_failed_short">Pwr Sup Failed</ShortName>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="PowerSuppliesFailedMessage" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_power_supplies_failed_message">Power Supplies Failed Message</Label>
          <ShortName NLSID="power_supplies_failed_msg_short">Pwr Sup Failed Message</ShortName>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="NVRAMRealBatteryStatus" TYPE="NUMBER" TRANSIENT="TRUE">
        <Display FOR_SUMMARY_UI="TRUE">
          <Label NLSID="netapp_filer_nvram_real_battery_status">NVRAM Real Battery Status</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="NVRAMBatteryStatus" TYPE="NUMBER" COMPUTE_EXPR="NVRAMRealBatteryStatus > 7 ? 1 : NVRAMRealBatteryStatus">
        <Display FOR_SUMMARY_UI="TRUE">
          <Label NLSID="netapp_filer_nvram_battery_status">NVRAM Battery Status</Label>
          <ShortName NLSID="nvram_battery_status_short">Battery Status</ShortName>
        </Display>
      </ColumnDescriptor>
    </TableDescriptor>
    <QueryDescriptor FETCHLET_ID="Snmp">
      <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
      <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
      <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
      <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
      <Property NAME="TABLE"    SCOPE="GLOBAL">FALSE</Property>
      <Property NAME="OIDS"     SCOPE="GLOBAL">1.3.6.1.4.1.789.1.2.4.1.0
                                               1.3.6.1.4.1.789.1.2.4.2.0
                                               1.3.6.1.4.1.789.1.2.4.3.0
                                               1.3.6.1.4.1.789.1.2.4.4.0
                                               1.3.6.1.4.1.789.1.2.4.5.0
                                               1.3.6.1.4.1.789.1.2.5.1.0
      </Property>
    </QueryDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->

  <Metric NAME="CPU" TYPE="TABLE">
    <Display>
      <Label NLSID="netapp_filer_cpu">CPU</Label>
    </Display>

    <TableDescriptor>
     <ColumnDescriptor NAME="NumCpu" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_numCpu">No. of CPUs</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="UpTimeRaw" TYPE="NUMBER" TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_up_time_raw">CPU Up Time (hundredths of a second)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="PctBusy" TYPE="NUMBER">
        <Display FOR_SUMMARY_UI="TRUE">
          <Label NLSID="netapp_filer_pct_busy">CPU Utilization (%)</Label>
          <ShortName NLSID="pct_busy_short">CPU Utilization (%)</ShortName>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="UpTime" TYPE="NUMBER"  COMPUTE_EXPR="(UpTimeRaw/100.0)">
        <Display>
          <Label NLSID="netapp_filer_up_time">CPU Up Time (Seconds)</Label>
        </Display>
     </ColumnDescriptor>
    </TableDescriptor>

    <QueryDescriptor FETCHLET_ID="Snmp">
      <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
      <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
      <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
      <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
      <Property NAME="TABLE"    SCOPE="GLOBAL">FALSE</Property>
      <Property NAME="OIDS"     SCOPE="GLOBAL">1.3.6.1.4.1.789.1.2.1.6.0
                                               1.3.6.1.4.1.789.1.2.1.1.0
                                               1.3.6.1.4.1.789.1.2.1.3.0
      </Property>
    </QueryDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->
  
  <Metric NAME="FileSystems" TYPE="TABLE" USAGE_TYPE="HIDDEN">
    <Display>
      <Label NLSID="netapp_filer_file_systems">Filesystems</Label>
    </Display>
    <TableDescriptor>
    <ColumnDescriptor NAME="Volume" TYPE="STRING" IS_KEY="TRUE">
      <Display>
        <Label NLSID="netapp_filer_volume">Volume</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="VolumeTotalKb_hi32" TYPE="NUMBER" TRANSIENT="TRUE">
      <Display>
        <Label NLSID="netapp_filer_volume_total_kb_hi32">Total_hi32(KB)</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="VolumeTotalKb_lo32_internal" TYPE="NUMBER" TRANSIENT="TRUE">
      <Display>
        <Label NLSID="netapp_filer_volume_total_kb_lo32_internal">Total_lo32(KB) Internal</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="VolumeUsedKb_hi32" TYPE="NUMBER"  TRANSIENT="TRUE">
      <Display>
        <Label NLSID="netapp_filer_volume_used_kb_hi32">Used_hi32(KB)</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="VolumeUsedKb_lo32_internal" TYPE="NUMBER"  TRANSIENT="TRUE">
      <Display>
        <Label NLSID="netapp_filer_volume_used_kb_lo32_internal">Used_lo32(KB) Internal</Label>
      </Display>
    </ColumnDescriptor>       
    <ColumnDescriptor NAME="VolumeAvailKb_hi32" TYPE="NUMBER"  TRANSIENT="TRUE">
      <Display>
        <Label NLSID="netapp_filer_volume_avail_kb_hi32">Available_hi32(KB)</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="VolumeAvailKb_lo32_internal" TYPE="NUMBER"  TRANSIENT="TRUE">
      <Display>
        <Label NLSID="netapp_filer_volume_avail_kb_lo32_internal">Available_lo32(KB) Internal</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="VolumeMaxFiles" TYPE="NUMBER">
       <Display>
         <Label NLSID="netapp_filer_volume_max_files">Max Files</Label>
       </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="VolumeFilesUsed" TYPE="NUMBER">
      <Display>
        <Label NLSID="netapp_filer_volume_files_used">Files Used</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="VolumeFilesAvailable" TYPE="NUMBER">
      <Display>
        <Label NLSID="netapp_filer_volume_files_available">Files Available</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="VolumePercentFiles" TYPE="NUMBER">
      <Display>
        <Label NLSID="netapp_filer_volume_percent_files">Files Used (%)</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="VolumePercentUsed" TYPE="NUMBER">
      <Display>
        <Label NLSID="netapp_filer_volume_percent_used">Volume Used (%)</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="VolumeTypeNum" TYPE="NUMBER" TRANSIENT="TRUE">
      <Display>
        <Label NLSID="netapp_filer_volume_type_num">Volume Type Internal</Label>
      </Display>
    </ColumnDescriptor>         
    <ColumnDescriptor NAME="VolumeTypeString" TYPE="STRING" COMPUTE_EXPR="VolumeTypeNum==3?'Aggregate':(VolumeTypeNum==2?'Flexible Volume':'Traditional Volume')">
      <Display>
        <Label NLSID="netapp_filer_volume_type_string">Volume Type</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="VolumeTotalKb_lo32" TYPE="NUMBER" TRANSIENT="TRUE" COMPUTE_EXPR="(VolumeTotalKb_lo32_internal &lt; 0  ? ((4*1024*1024*1024 -1 + VolumeTotalKb_lo32_internal)):(VolumeTotalKb_lo32_internal))">
      <Display>
        <Label NLSID="netapp_filer_volume_total_kb_lo32">Total_lo32(KB)</Label>
      </Display>
    </ColumnDescriptor>     
    <ColumnDescriptor NAME="VolumeUsedKb_lo32" TYPE="NUMBER" TRANSIENT="TRUE" COMPUTE_EXPR="VolumeUsedKb_lo32_internal &lt; 0 ? (4*1024*1024*1024 -1 + VolumeUsedKb_lo32_internal) :VolumeUsedKb_lo32_internal">
      <Display>
        <Label NLSID="netapp_filer_volume_used_kb_lo32">Used_lo32(KB)</Label>
      </Display>
    </ColumnDescriptor> 
    <ColumnDescriptor NAME="VolumeAvailKb_lo32" TYPE="NUMBER" TRANSIENT="TRUE" COMPUTE_EXPR="VolumeAvailKb_lo32_internal &lt; 0 ? (4*1024*1024*1024 -1 + VolumeAvailKb_lo32_internal) :VolumeAvailKb_lo32_internal">
      <Display>
        <Label NLSID="netapp_filer_volume_avail_kb_lo32">Available_lo32(KB)</Label>
      </Display>
    </ColumnDescriptor> 
    <ColumnDescriptor NAME="VolumeTotalKb" TYPE="NUMBER" TRANSIENT="TRUE" COMPUTE_EXPR="((VolumeTotalKb_hi32*4294967296)+VolumeTotalKb_lo32)">
      <Display>
        <Label NLSID="netapp_filer_volume_total_kb">Total(KB)</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="VolumeTotalGb" TYPE="NUMBER"  COMPUTE_EXPR="(VolumeTotalKb/(1024.0*1024.0))">
      <Display>
        <Label NLSID="netapp_filer_volume_total_gb">Total (GB)</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="VolumeUsedKb" TYPE="NUMBER" TRANSIENT="TRUE" COMPUTE_EXPR="((VolumeUsedKb_hi32*4294967296)+VolumeUsedKb_lo32)">
       <Display>
         <Label NLSID="netapp_filer_volume_used_kb">Used(KB)</Label>
       </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="VolumeUsedGb" TYPE="NUMBER"  COMPUTE_EXPR="(VolumeUsedKb/(1024.0*1024.0))">
      <Display>
         <Label NLSID="netapp_filer_volume_used_gb">Used (GB)</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="VolumeAvailKb" TYPE="NUMBER" TRANSIENT="TRUE" COMPUTE_EXPR="((VolumeAvailKb_hi32*4294967296)+VolumeAvailKb_lo32)">
      <Display>
        <Label NLSID="netapp_filer_volume_avail_kb">Available(KB)</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="VolumeAvailGb" TYPE="NUMBER"  COMPUTE_EXPR="(VolumeAvailKb/(1024.0*1024.0))">
      <Display>
        <Label NLSID="netapp_filer_volume_avail_gb">Available (GB)</Label>
      </Display>
    </ColumnDescriptor>
    </TableDescriptor>
    
    <QueryDescriptor FETCHLET_ID="Snmp">
       <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
       <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
       <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
       <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
       <Property NAME="TABLE"    SCOPE="GLOBAL">TRUE</Property>
       <Property NAME="OIDS"     SCOPE="GLOBAL">1.3.6.1.4.1.789.1.5.4.1.2
                                                1.3.6.1.4.1.789.1.5.4.1.14
                                                1.3.6.1.4.1.789.1.5.4.1.15
                                                1.3.6.1.4.1.789.1.5.4.1.16
                                                1.3.6.1.4.1.789.1.5.4.1.17
                                                1.3.6.1.4.1.789.1.5.4.1.18
                                                1.3.6.1.4.1.789.1.5.4.1.19
                                                1.3.6.1.4.1.789.1.5.4.1.11
                                                1.3.6.1.4.1.789.1.5.4.1.12
                                                1.3.6.1.4.1.789.1.5.4.1.8
                                                1.3.6.1.4.1.789.1.5.4.1.9
                                                1.3.6.1.4.1.789.1.5.4.1.6
                                                1.3.6.1.4.1.789.1.5.4.1.23
        </Property>
    </QueryDescriptor>
  </Metric> 

  <!-- ***************************************************************************
  ********* -->
  
    
  <Metric NAME="FlexibleVolumes" TYPE="TABLE" USAGE_TYPE="HIDDEN">
    <ValidIf>
      <CategoryProp NAME="Filer_Version" CHOICES="7.X"/>
    </ValidIf>       
    <Display>
      <Label NLSID="netapp_filer_flexible_volumes">Flexible Volumes </Label>
    </Display>    
    <TableDescriptor>
    <ColumnDescriptor NAME="VolumeInternal" TYPE="STRING" IS_KEY="TRUE">
      <Display>
        <Label NLSID="netapp_filer_flexible_volumes_internal">Internal Volume</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="AggName" TYPE="STRING">
      <Display>
        <Label NLSID="netapp_filer_flexible_volumes_name">Aggregate</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="VolumeStatus" TYPE="STRING">
      <Display>
        <Label NLSID="netapp_filer_flexible_volumes_status">Volume status </Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="Volume" TYPE="STRING" COMPUTE_EXPR="'/vol/'+VolumeInternal+'/'">
      <Display>
        <Label NLSID="netapp_filer_flexible_volumes_volume">Volume</Label>
      </Display>
    </ColumnDescriptor>
    </TableDescriptor>
    
    <QueryDescriptor FETCHLET_ID="Snmp">
      <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
      <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
      <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
      <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
      <Property NAME="TABLE"    SCOPE="GLOBAL">TRUE</Property>
      <Property NAME="OIDS"     SCOPE="GLOBAL">1.3.6.1.4.1.789.1.5.8.1.2
                                               1.3.6.1.4.1.789.1.5.8.1.9
                                               1.3.6.1.4.1.789.1.5.8.1.5
      </Property>
    </QueryDescriptor>
  </Metric>  
  
     
  
<!-- ***************************************************************************
********* -->

  <Metric NAME="Volumes" TYPE="TABLE">
    <Display>
      <Label NLSID="netapp_filer_volumes">Volumes</Label>
    </Display>
    <TableDescriptor>
      <ColumnDescriptor NAME="Volume" TYPE="STRING" IS_KEY="TRUE">
        <Display>
         <Label NLSID="netapp_filer_volume">Volume</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumeTotalGb" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_volume_total_gb">Total (GB)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumeUsedGb" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_volume_used_gb">Used (GB)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumeAvailGb" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_volume_avail_gb">Available (GB)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumePercentUsed" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_volume_percent_used">Volume Used (%)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumeMaxFiles" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_volume_max_files">Max Files</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumeFilesUsed" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_volume_files_used">Files Used</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumeFilesAvailable" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_volume_files_available">Files Available</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumePercentFiles" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_volume_percent_files">Files Used (%)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumeTypeString" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_volume_type_string">Volume Type</Label>
        </Display>
      </ColumnDescriptor>
    </TableDescriptor> 
    <ExecutionDescriptor>
      <ValidIf>
        <CategoryProp NAME="Filer_Version" CHOICES="6.X"/>
      </ValidIf>
      <GetTable NAME="FileSystems"/>
      <GetView NAME="Volumes_Usage" FROM_TABLE="FileSystems">
        <Column NAME="Volume"/>
        <Column NAME="VolumeTotalGb"/>
        <Column NAME="VolumeUsedGb"/>
        <Column NAME="VolumeAvailGb"/>
        <Column NAME="VolumePercentUsed"/>
        <Column NAME="VolumeMaxFiles"/>
        <Column NAME="VolumeFilesUsed"/>
        <Column NAME="VolumeFilesAvailable"/>
        <Column NAME="VolumePercentFiles"/>
        <Column NAME="VolumeTypeString"/>
        <Column NAME="VolumeTypeNum"/>
        <Filter COLUMN_NAME="VolumeFilesAvailable" OPERATOR="NE">0</Filter>
        <Filter COLUMN_NAME="VolumeTypeNum" OPERATOR="NE">3</Filter> 
      </GetView>          
    </ExecutionDescriptor>
    <ExecutionDescriptor>
      <ValidIf>
        <CategoryProp NAME="Filer_Version" CHOICES="7.X"/>
      </ValidIf>
      <GetTable NAME="FlexibleVolumes"/>
      <GetView NAME="Flexible_Volumes_Aggregate_Map" FROM_TABLE="FlexibleVolumes">
        <Column NAME="Volume"/>
        <Column NAME="AggName"/>
        <Column NAME="VolumeStatus"/>
        <ComputeColumn NAME="SnapshotName" EXPR="AggName +'/.snapshot'" />
        <Filter COLUMN_NAME="VolumeStatus" OPERATOR="CONTAINS">online</Filter>
        <Filter COLUMN_NAME="AggName" OPERATOR="ISNOTNULL"></Filter>
      </GetView>
      <GetTable NAME="FileSystems"/>
      <GetView NAME="Flexible_Volumes_Used_View" FROM_TABLE="FileSystems">
        <Column NAME="Volume"/>
        <Column NAME="VolumeUsedGb"/>
        <Column NAME="VolumeFilesAvailable"/>
        <Column NAME="VolumeTypeNum"/>
        <Filter COLUMN_NAME="VolumeFilesAvailable" OPERATOR="NE">0</Filter>
        <Filter COLUMN_NAME="VolumeTypeNum" OPERATOR="EQ">2</Filter> 
      </GetView>          
      <JoinTables NAME="Aggregate_Volumes_Used_View" OUTER="FALSE">
        <Table NAME="Flexible_Volumes_Aggregate_Map"/>
        <Table NAME="Flexible_Volumes_Used_View"/>
        <Column NAME="VolumeUsedGb" TABLE_NAME="Flexible_Volumes_Used_View" />
        <Column NAME="AggName" TABLE_NAME="Flexible_Volumes_Aggregate_Map" />
        <Column NAME="SnapshotName" TABLE_NAME="Flexible_Volumes_Aggregate_Map" />
        <Where FROM_TABLE="Flexible_Volumes_Aggregate_Map" 
               FROM_KEY="Volume" 
               OPERATOR="MATCH"
               JOIN_TABLE="Flexible_Volumes_Used_View" 
               JOIN_KEY="Volume"/>
      </JoinTables>
      <GroupBy NAME="Aggregate_Used_View1" FROM_TABLE="Aggregate_Volumes_Used_View">
        <By NAME="AggName"/>
        <By NAME="SnapshotName"/>
        <AggregateColumn NAME="VolumeUsedGb"
                         COLUMN_NAME="VolumeUsedGb"
                         OPERATOR="SUM"/>
      </GroupBy>
      <GetView NAME="Aggregate_Snapshots" FROM_TABLE="FileSystems">
        <Column NAME="SnapshotName" COLUMN_NAME="Volume" />
        <Column NAME="SnapshotUsedGb" COLUMN_NAME="VolumeUsedGb" />
        <Column NAME="VolumeFilesAvailable"/>
        <Column NAME="VolumeTypeNum"/>
        <Filter COLUMN_NAME="VolumeFilesAvailable" OPERATOR="EQ">0</Filter>
        <Filter COLUMN_NAME="VolumeTypeNum" OPERATOR="EQ">3</Filter> 
      </GetView>
      <JoinTables NAME="Aggregate_Used_View" OUTER="FALSE">
        <Table NAME="Aggregate_Used_View1"/>
        <Table NAME="Aggregate_Snapshots"/>
        <Column NAME="AggName" TABLE_NAME="Aggregate_Used_View1" />
        <Column NAME="UsedPart1" COLUMN_NAME="VolumeUsedGb" TABLE_NAME="Aggregate_Used_View1" />
        <Column NAME="UsedPart2" COLUMN_NAME="SnapshotUsedGb" TABLE_NAME="Aggregate_Snapshots" />
        <ComputeColumn NAME="VolumeUsedGb" EXPR="UsedPart1+UsedPart2" />
        <Column NAME="SnapshotName" TABLE_NAME="Aggregate_Used_View1" />
        <Where FROM_TABLE="Aggregate_Used_View1" 
               FROM_KEY="SnapshotName" 
               OPERATOR="MATCH"
               JOIN_TABLE="Aggregate_Snapshots" 
               JOIN_KEY="SnapshotName"/>
      </JoinTables>
      <GetView NAME="Aggregates" FROM_TABLE="FileSystems">
        <Column NAME="Volume"/>
        <Column NAME="VolumeTotalGb"/>
        <Column NAME="VolumeUsedGb"/>
        <Column NAME="VolumeMaxFiles"/>
        <Column NAME="VolumeFilesUsed"/>
        <Column NAME="VolumeFilesAvailable"/>
        <Column NAME="VolumePercentFiles"/>
        <Column NAME="VolumeTypeString"/>
        <Column NAME="VolumeTypeNum"/>
        <Filter COLUMN_NAME="VolumeFilesAvailable" OPERATOR="NE">0</Filter>
        <Filter COLUMN_NAME="VolumeTypeNum" OPERATOR="EQ">3</Filter> 
      </GetView>
<!-- 
Fix for bug#4519111: Formulae are as follows
Aggregate Used Space = Sum of the used space of logical volumes present on the aggregate + Aggregate's Snapshot Used Space
Aggregate Available Space = Aggregate Size - Aggregate Used Space
Aggregate Percent Used = (Aggregate Used Space/Aggregate Size) * 100
-->
      <JoinTables NAME="Aggregates_Usage" OUTER="TRUE">
        <Table NAME="Aggregates"/>
        <Table NAME="Aggregate_Used_View"/>
        <Column NAME="Volume" TABLE_NAME="Aggregates"/>
        <Column NAME="VolumeTotalGb" TABLE_NAME="Aggregates"/>
        <Column NAME="VolumeUsedGb" COLUMN_NAME="VolumeUsedGb" TABLE_NAME="Aggregate_Used_View"/>
        <ComputeColumn NAME="VolumeAvailGb" EXPR="VolumeTotalGb-VolumeUsedGb" />
        <ComputeColumn NAME="VolumePercentUsed" EXPR="VolumeTotalGb > 0 ? ((VolumeUsedGb*100)/VolumeTotalGb) : 0" />
        <Column NAME="VolumeMaxFiles" TABLE_NAME="Aggregates"/>
        <Column NAME="VolumeFilesUsed" TABLE_NAME="Aggregates"/>
        <Column NAME="VolumeFilesAvailable" TABLE_NAME="Aggregates"/>
        <Column NAME="VolumePercentFiles" TABLE_NAME="Aggregates"/>
        <Column NAME="VolumeTypeString" TABLE_NAME="Aggregates"/>
        <Column NAME="VolumeTypeNum" TABLE_NAME="Aggregates"/>
        <Where FROM_TABLE="Aggregates"
               FROM_KEY="Volume"
               OPERATOR="MATCH"
               JOIN_TABLE="Aggregate_Used_View"
               JOIN_KEY="AggName"/>
      </JoinTables>
      <GetView NAME="Volumes_Usage" FROM_TABLE="FileSystems">
        <Column NAME="Volume"/>
        <Column NAME="VolumeTotalGb"/>
        <Column NAME="VolumeUsedGb"/>
        <Column NAME="VolumeAvailGb"/>
        <Column NAME="VolumePercentUsed"/>
        <Column NAME="VolumeMaxFiles"/>
        <Column NAME="VolumeFilesUsed"/>
        <Column NAME="VolumeFilesAvailable"/>
        <Column NAME="VolumePercentFiles"/>
        <Column NAME="VolumeTypeString"/>
        <Column NAME="VolumeTypeNum"/>
        <Filter COLUMN_NAME="VolumeFilesAvailable" OPERATOR="NE">0</Filter>
        <Filter COLUMN_NAME="VolumeTypeNum" OPERATOR="NE">3</Filter> 
      </GetView>          
      <Union NAME="All_Usage">
        <Table NAME="Aggregates_Usage" />
        <Table NAME="Volumes_Usage" />
      </Union>      
    </ExecutionDescriptor>
  </Metric>


<!-- ***************************************************************************
********* -->

  <Metric NAME="VolumesWithAggregate" TYPE="TABLE" USAGE_TYPE="HIDDEN">
    <ValidIf>
      <CategoryProp NAME="Filer_Version" CHOICES="7.X"/>
    </ValidIf>       
    <Display>
      <Label NLSID="netapp_filer_volumes">Volumes</Label>
    </Display>
    <TableDescriptor>
      <ColumnDescriptor NAME="Volume" TYPE="STRING" IS_KEY="TRUE">
        <Display>
         <Label NLSID="netapp_filer_volume">Volume</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumeTotalGb" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_volume_total_gb">Total (GB)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumeUsedGb" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_volume_used_gb">Used (GB)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumeAvailGb" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_volume_avail_gb">Available (GB)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumePercentUsed" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_volume_percent_used">Volume Used (%)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumeMaxFiles" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_volume_max_files">Max Files</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumeFilesUsed" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_volume_files_used">Files Used</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumeFilesAvailable" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_volume_files_available">Files Available</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumePercentFiles" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_volume_percent_files">Files Used (%)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumeTypeString" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_volume_type_string">Volume Type</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="AggName" TYPE="STRING" TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_volume_aggregate">Aggregate</Label>
        </Display>
      </ColumnDescriptor>     
    </TableDescriptor>
    <ExecutionDescriptor>
      <GetTable NAME="FileSystems"/>
      <GetView NAME="Volumes_Usage" FROM_TABLE="FileSystems">
        <Column NAME="Volume"/>
        <Column NAME="VolumeTotalGb"/>
        <Column NAME="VolumeUsedGb"/>
        <Column NAME="VolumeAvailGb"/>
        <Column NAME="VolumePercentUsed"/>
        <Column NAME="VolumeMaxFiles"/>
        <Column NAME="VolumeFilesUsed"/>
        <Column NAME="VolumeFilesAvailable"/>
        <Column NAME="VolumePercentFiles"/>
        <Column NAME="VolumeTypeString"/>
        <Column NAME="VolumeTypeNum"/>
        <Filter COLUMN_NAME="VolumeFilesAvailable" OPERATOR="NE">0</Filter>        
        <!-- <Filter COLUMN_NAME="VolumeTypeNum" OPERATOR="NE">3</Filter> -->
      </GetView>
      <GetTable NAME="FlexibleVolumes"/>
      <GetView NAME="FlexibleVolumes_view" FROM_TABLE="FlexibleVolumes">
        <Column NAME="Volume"/>
        <Column NAME="AggName"/>
        <Column NAME="VolumeStatus"/>
        <Filter COLUMN_NAME="VolumeStatus" OPERATOR="CONTAINS">online</Filter>        
      </GetView>
      <JoinTables NAME="Volumes" OUTER="TRUE">
      <Table NAME="Volumes_Usage"/>
      <Table NAME="FlexibleVolumes_view"/>
        <Column NAME="Volume" TABLE_NAME="Volumes_Usage"/>
        <Column NAME="VolumeTotalGb" TABLE_NAME="Volumes_Usage"/>
        <Column NAME="VolumeUsedGb" TABLE_NAME="Volumes_Usage"/>
        <Column NAME="VolumeAvailGb" TABLE_NAME="Volumes_Usage"/>
        <Column NAME="VolumePercentUsed" TABLE_NAME="Volumes_Usage"/>
        <Column NAME="VolumeMaxFiles" TABLE_NAME="Volumes_Usage"/>
        <Column NAME="VolumeFilesUsed" TABLE_NAME="Volumes_Usage"/>
        <Column NAME="VolumeFilesAvailable" TABLE_NAME="Volumes_Usage"/>
        <Column NAME="VolumePercentFiles" TABLE_NAME="Volumes_Usage"/>
        <Column NAME="VolumeTypeString" TABLE_NAME="Volumes_Usage"/>
        <Column NAME="AggName" TABLE_NAME="FlexibleVolumes_view"/>
        <Where FROM_TABLE="Volumes_Usage" 
             FROM_KEY="Volume" 
             OPERATOR="CONTAINS"
             JOIN_TABLE="FlexibleVolumes_view" 
             JOIN_KEY="Volume"/>
      </JoinTables>
    </ExecutionDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->

  <Metric NAME="Snapshots" TYPE="TABLE">
    <Display>
      <Label NLSID="netapp_filer_snapshots">Snapshots</Label>
    </Display>

    <TableDescriptor>
     <ColumnDescriptor NAME="Snapshot" TYPE="STRING" IS_KEY="TRUE">
        <Display>
          <Label NLSID="netapp_filer_snapshot">Volume</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="SnapshotTotalGb" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_snapshot_total_gb">Reserve Total (GB)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="SnapshotUsedGb" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_snapshot_used_gb">Reserve Used (GB)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="SnapshotAvailGb" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_snapshot_avail_gb">Reserve Available (GB)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="SnapshotPercentUsed" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_snapshot_percent_used">Snapshot Reserve Used (%)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="SnapshotVolumeType" TYPE="STRING">
        <Display>
           <Label NLSID="netapp_filer_volume_type_string">Volume Type</Label>
        </Display>
     </ColumnDescriptor>

    </TableDescriptor>
    <ExecutionDescriptor>
      <GetTable NAME="FileSystems"/>
      <GetView NAME="Snapshots" FROM_TABLE="FileSystems">
        <Column NAME="Snapshot" COLUMN_NAME="Volume"/>
        <Column NAME="SnapshotTotalGb" COLUMN_NAME="VolumeTotalGb"/> 
        <Column NAME="SnapshotUsedGb" COLUMN_NAME="VolumeUsedGb"/>
        <Column NAME="SnapshotAvailGb" COLUMN_NAME="VolumeAvailGb"/>
        <ComputeColumn NAME="SnapshotPercentUsed"
                       EXPR="(SnapshotTotalGb != 0) ? 100.0*(SnapshotUsedGb/SnapshotTotalGb) : 0"/>
        <Column NAME="VolumeFilesAvailable"/>
        <Column NAME="SnapshotVolumeType" COLUMN_NAME="VolumeTypeString"/>
        <Filter COLUMN_NAME="VolumeFilesAvailable">0</Filter>
      </GetView>
    </ExecutionDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->

  <Metric NAME="QtreesRaw" TYPE="TABLE" USAGE_TYPE="HIDDEN">
    <ValidIf>
      <CategoryProp NAME="Filer_Version" CHOICES="6.X"/>
    </ValidIf>
    <Display>
      <Label NLSID="netapp_filer_qtrees_raw">Qtrees (Raw)</Label>
    </Display>

    <TableDescriptor>
     <ColumnDescriptor NAME="PathName" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_path_name">Path Name</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="QuotaType" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_quota_type">Quota Type</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="QtreeName" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_qtree_name">Name</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="QtreeVolume" TYPE="NUMBER" IS_KEY="TRUE">
        <Display>
          <Label NLSID="netapp_filer_qtree_volume">Volume</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="QtreeIndex" TYPE="NUMBER" IS_KEY="TRUE">
        <Display>
          <Label NLSID="netapp_filer_qtree_index">Qtree Index</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="QtreeTotalKb" TYPE="NUMBER" TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_qtree_total_kb">Total(KB)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="QtreeUsedKb" TYPE="NUMBER" TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_qtree_used_kb">Used(KB)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="QtreeTotalGb" TYPE="NUMBER"  COMPUTE_EXPR="(QtreeTotalKb/(1024.0*1024.0))">
        <Display>
          <Label NLSID="netapp_filer_qtree_total_gb">Total (GB)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="QtreeUsedGb" TYPE="NUMBER"  COMPUTE_EXPR="(QtreeUsedKb/(1024.0*1024.0))">
        <Display>
          <Label NLSID="netapp_filer_qtree_used_gb">Used (GB)</Label>
        </Display>
     </ColumnDescriptor>
    </TableDescriptor>

    <QueryDescriptor FETCHLET_ID="Snmp">
      <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
      <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
      <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
      <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
      <Property NAME="TABLE"    SCOPE="GLOBAL">TRUE</Property>
      <Property NAME="OIDS"     SCOPE="GLOBAL">1.3.6.1.4.1.789.1.4.5.1.8
                                               1.3.6.1.4.1.789.1.4.5.1.2
                                               1.3.6.1.4.1.789.1.4.5.1.10
                                               1.3.6.1.4.1.789.1.4.5.1.9
                                               1.3.6.1.4.1.789.1.4.5.1.1
                                               1.3.6.1.4.1.789.1.4.5.1.5
                                               1.3.6.1.4.1.789.1.4.5.1.4
      </Property>
    </QueryDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->

  <Metric NAME="QtreesRaw" TYPE="TABLE" USAGE_TYPE="HIDDEN">
    <ValidIf>
      <CategoryProp NAME="Filer_Version" CHOICES="7.X"/>
    </ValidIf>
    <Display>
      <Label NLSID="netapp_filer_qtrees_raw">Qtrees (Raw)</Label>
    </Display>  
    <TableDescriptor>
    <ColumnDescriptor NAME="PathName" TYPE="STRING">
      <Display>
        <Label NLSID="netapp_filer_path_name">Path Name</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="QuotaType" TYPE="NUMBER">
      <Display>
        <Label NLSID="netapp_filer_quota_type">Quota Type</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="QtreeName" TYPE="STRING">
      <Display>
        <Label NLSID="netapp_filer_qtree_name">Name</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="QtreeVolume" TYPE="NUMBER" IS_KEY="TRUE">
      <Display>
        <Label NLSID="netapp_filer_qtree_volume">Volume</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="QtreeIndex" TYPE="NUMBER" IS_KEY="TRUE">
      <Display>
        <Label NLSID="netapp_filer_qtree_index">Qtree Index</Label>
      </Display>
    </ColumnDescriptor>     
    <ColumnDescriptor NAME="QtreeTotalKb_hi32" TYPE="NUMBER" TRANSIENT="TRUE">
      <Display>
        <Label NLSID="netapp_filer_qtree_total_kb_hi32">Total_hi32(KB)</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="QtreeTotalKb_lo32" TYPE="NUMBER" TRANSIENT="TRUE">
      <Display>
        <Label NLSID="netapp_filer_qtree_total_kb_lo32">Total_lo32(KB)</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="QtreeUsedKb_hi32" TYPE="NUMBER" TRANSIENT="TRUE">
      <Display>
        <Label NLSID="netapp_filer_qtree_used_kb_hi32">Used_hi32(KB)</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="QtreeUsedKb_lo32" TYPE="NUMBER" TRANSIENT="TRUE">
      <Display>
        <Label NLSID="netapp_filer_qtree_used_kb_lo32">Used_lo32(KB)</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="QtreeTotalKb" TYPE="NUMBER" TRANSIENT="TRUE" COMPUTE_EXPR="((QtreeTotalKb_hi32*4294967296)+QtreeTotalKb_lo32)">
      <Display>
        <Label NLSID="netapp_filer_qtree_total_kb">Total(KB)</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="QtreeTotalGb" TYPE="NUMBER"  COMPUTE_EXPR="(QtreeTotalKb/(1024.0*1024.0))">
      <Display>
        <Label NLSID="netapp_filer_qtree_total_gb">Total (GB)</Label>
        </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="QtreeUsedKb" TYPE="NUMBER" TRANSIENT="TRUE" COMPUTE_EXPR="((QtreeUsedKb_hi32*4294967296)+QtreeUsedKb_lo32)">
      <Display>
        <Label NLSID="netapp_filer_qtree_used_kb">Used(KB)</Label>
      </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="QtreeUsedGb" TYPE="NUMBER"  COMPUTE_EXPR="(QtreeUsedKb/(1024.0*1024.0))">
      <Display>
        <Label NLSID="netapp_filer_qtree_used_gb">Used (GB)</Label>
      </Display>
    </ColumnDescriptor>
    </TableDescriptor>

    <QueryDescriptor FETCHLET_ID="Snmp">
      <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
      <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
      <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
      <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
      <Property NAME="TABLE"    SCOPE="GLOBAL">TRUE</Property>
      <Property NAME="OIDS"     SCOPE="GLOBAL">1.3.6.1.4.1.789.1.4.6.1.12
                                               1.3.6.1.4.1.789.1.4.6.1.2
                                               1.3.6.1.4.1.789.1.4.6.1.14
                                               1.3.6.1.4.1.789.1.4.6.1.13
                                               1.3.6.1.4.1.789.1.4.6.1.1
                                               1.3.6.1.4.1.789.1.4.6.1.7
                                               1.3.6.1.4.1.789.1.4.6.1.8
                                               1.3.6.1.4.1.789.1.4.6.1.4
                                               1.3.6.1.4.1.789.1.4.6.1.5
      </Property>
    </QueryDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->

  <Metric NAME="Qtrees" TYPE="TABLE">
    <Display>
      <Label NLSID="netapp_filer_qtrees">Qtrees</Label>
    </Display>

    <TableDescriptor>
     <ColumnDescriptor NAME="PathName" TYPE="STRING" IS_KEY="TRUE">
        <Display>
          <Label NLSID="netapp_filer_path_name">Path Name</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="QuotaType" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_quota_type">Quota Type</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="QtreeName" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_qtree_name">Name</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="QtreeTotalGb" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_qtree_total_gb">Total (GB)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="QtreeUsedGb" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_qtree_used_gb">Used (GB)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="QtreePercentUsed" TYPE="NUMBER"  COMPUTE_EXPR="(QtreeTotalGb != 0) ? 100*(QtreeUsedGb/QtreeTotalGb) : 0">
        <Display>
          <Label NLSID="netapp_filer_qtree_percent_used">Qtree Used (%)</Label>
        </Display>
     </ColumnDescriptor>
    </TableDescriptor>

    <ExecutionDescriptor>
      <GetTable NAME="QtreesRaw"/>
      <GetView NAME="Qtrees_View" FROM_TABLE="QtreesRaw">
        <Column NAME="PathName"/>
        <Column NAME="QuotaType"/>
        <Column NAME="QtreeName"/>
        <Column NAME="QtreeTotalGb"/>
        <Column NAME="QtreeUsedGb"/>
        <Filter COLUMN_NAME="QuotaType">3</Filter>
      </GetView>
    </ExecutionDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->

  <Metric NAME="RaidConfig" TYPE="TABLE">
    <Display>
      <Label NLSID="netapp_filer_raidconfig">RAID Configuration</Label>
    </Display>

    <TableDescriptor>
     <ColumnDescriptor NAME="Diskname" TYPE="STRING" IS_KEY="TRUE">
        <Display>
          <Label NLSID="netapp_filer_diskname">Disk Name</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="RaidVPlex" TYPE="STRING" TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_raid_vol_plex">Plex</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="RaidGroup" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_raid_group">RAID Group</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="RaidStatus" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_disk_status">Disk Status</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="TotalMb" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_total_mb">Total(MB)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="UsedMb" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_used_mb">Used(MB)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="Shelf" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_shelf">Shelf</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="Bay" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_bay">Bay</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="TotalGb" TYPE="NUMBER"  COMPUTE_EXPR="(TotalMb/1024.0)">
        <Display>
          <Label NLSID="netapp_filer_total_gb">Total (GB)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="UsedGb" TYPE="NUMBER"  COMPUTE_EXPR="(UsedMb/1024.0)">
        <Display>
          <Label NLSID="netapp_filer_used_gb">Used (GB)</Label>
        </Display>
     </ColumnDescriptor>
    </TableDescriptor>

    <QueryDescriptor FETCHLET_ID="Snmp">
      <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
      <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
      <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
      <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
      <Property NAME="TABLE"    SCOPE="GLOBAL">TRUE</Property>
      <Property NAME="OIDS"     SCOPE="GLOBAL">1.3.6.1.4.1.789.1.6.2.1.2
                                               1.3.6.1.4.1.789.1.6.2.1.24
                                               1.3.6.1.4.1.789.1.6.2.1.13
                                               1.3.6.1.4.1.789.1.6.2.1.3
                                               1.3.6.1.4.1.789.1.6.2.1.9
                                               1.3.6.1.4.1.789.1.6.2.1.7
                                               1.3.6.1.4.1.789.1.6.2.1.19
                                               1.3.6.1.4.1.789.1.6.2.1.20
      </Property>
    </QueryDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->

  <Metric NAME="Sparedisks" TYPE="TABLE">
    <Display>
      <Label NLSID="netapp_filer_sparedisks">Spare Disks</Label>
    </Display>

    <TableDescriptor>
     <ColumnDescriptor NAME="Index" TYPE="NUMBER" IS_KEY="TRUE">
        <Display>
          <Label NLSID="netapp_filer_spare_disk_index">Sr.</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="Diskname" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_sdiskname">Disk Name</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="SpareStatus" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_sstatus">Spare Status</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="TotalMb" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_stotal_mb">Total(MB)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="SpareShelf" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_sshelf">Spare Shelf</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="SpareBay" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_sbay">Spare Bay</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="TotalGb" TYPE="NUMBER"  COMPUTE_EXPR="(TotalMb/1024.0)">
        <Display>
          <Label NLSID="netapp_filer_stotal_gb">Total (GB)</Label>
        </Display>
     </ColumnDescriptor>
    </TableDescriptor>

    <QueryDescriptor FETCHLET_ID="Snmp">
      <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
      <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
      <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
      <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
      <Property NAME="TABLE"    SCOPE="GLOBAL">TRUE</Property>
      <Property NAME="OIDS"     SCOPE="GLOBAL">1.3.6.1.4.1.789.1.6.3.1.1
                                               1.3.6.1.4.1.789.1.6.3.1.2
                                               1.3.6.1.4.1.789.1.6.3.1.3
                                               1.3.6.1.4.1.789.1.6.3.1.7
                                               1.3.6.1.4.1.789.1.6.3.1.12
                                               1.3.6.1.4.1.789.1.6.3.1.13
      </Property>
    </QueryDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->

  <Metric NAME="DiskSummary" TYPE="TABLE">
    <Display>
      <Label NLSID="netapp_filer_disksummary">Disk Summary</Label>
    </Display>

    <TableDescriptor>
     <ColumnDescriptor NAME="TotalCount" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_totaldisks">Total Disks</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="ActiveDisks" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_activedisks">Active Disks</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="Reconstructing" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_reconstructing">Reconstructing Disks</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="ReconstructingParity" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_reconstructing_parity">Reconstructing Parity Disks</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="VerifyingParity" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_pverify">Verifying Parity Disks</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="Scrubbing" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_scrubbing">Scrubbing Disks</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="Failed" TYPE="NUMBER">
        <Display FOR_SUMMARY_UI="TRUE">
          <Label NLSID="netapp_filer_failed">Disks Failed</Label>
          <ShortName NLSID="failed_short">Disks Failed</ShortName>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="DiskFailedMessage" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_disk_failed_message">Disk Failed Message</Label>
          <ShortName NLSID="disk_failed_msg_short">Disk Failed Message</ShortName>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="SpareTotal" TYPE="NUMBER">
        <Display FOR_SUMMARY_UI="TRUE">
          <Label NLSID="netapp_filer_sparetotal">Spare Disks</Label>
          <ShortName NLSID="sparetotal_short">Spare Disks</ShortName>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="AddingSpare" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_adding_spare">Adding Spare Disks</Label>
        </Display>
     </ColumnDescriptor>
    </TableDescriptor>

    <QueryDescriptor FETCHLET_ID="Snmp">
      <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
      <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
      <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
      <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
      <Property NAME="TABLE"    SCOPE="GLOBAL">FALSE</Property>
      <Property NAME="OIDS"     SCOPE="GLOBAL">1.3.6.1.4.1.789.1.6.4.1.0
                                               1.3.6.1.4.1.789.1.6.4.2.0
                                               1.3.6.1.4.1.789.1.6.4.3.0
                                               1.3.6.1.4.1.789.1.6.4.4.0
                                               1.3.6.1.4.1.789.1.6.4.5.0
                                               1.3.6.1.4.1.789.1.6.4.6.0
                                               1.3.6.1.4.1.789.1.6.4.7.0
                                               1.3.6.1.4.1.789.1.6.4.10.0
                                               1.3.6.1.4.1.789.1.6.4.8.0
                                               1.3.6.1.4.1.789.1.6.4.9.0
      </Property>
    </QueryDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->

  <Metric NAME="NfsOperations" TYPE="TABLE">
    <Display>
      <Label NLSID="netapp_filer_nfs_operations">NFS Operations</Label>
    </Display>

    <TableDescriptor>
<!--
     <ColumnDescriptor NAME="RpcCalls" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_rpc_calls">RPC Calls</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="RpcBadCalls" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_rpc_bad_calls">RPC Bad Calls</Label>
        </Display>
     </ColumnDescriptor>
-->
     <ColumnDescriptor NAME="NfsCalls" TYPE="NUMBER" TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_nfs_calls">NFS Calls (v2 and v3)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NfsServBadCalls" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_nfs_server_bad_calls">NFS Bad Calls</Label>
        </Display>
     </ColumnDescriptor>
<!--
     <ColumnDescriptor NAME="RpcCallsRate" TYPE="NUMBER"  COMPUTE_EXPR="(RpcCalls >= _RpcCalls) ? ((RpcCalls-_RpcCalls)/__interval):((4294967295+RpcCalls-_RpcCalls)/__interval)">
        <Display>
          <Label NLSID="netapp_filer_rpc_calls_rate">RPC Calls Rate</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="RpcBadCallsRate" TYPE="NUMBER"  COMPUTE_EXPR="(RpcBadCalls >= _RpcBadCalls) ? ((RpcBadCalls-_RpcBadCalls)/__interval):((4294967295+RpcBadCalls-_RpcBadCalls)/__interval)">
        <Display>
          <Label NLSID="netapp_filer_rpc_bad_calls_rate">RPC Bad Calls Rate</Label>
        </Display>
     </ColumnDescriptor>
-->
     <ColumnDescriptor NAME="NfsCallsRate" TYPE="NUMBER"  COMPUTE_EXPR="(NfsCalls >= _NfsCalls) ? ((NfsCalls-_NfsCalls)/__interval):((4294967295+NfsCalls-_NfsCalls)/__interval)">
        <Display FOR_SUMMARY_UI="TRUE">
          <Label NLSID="netapp_filer_nfs_calls_rate">NFS Calls per Second (v2 and v3)</Label>
          <ShortName NLSID="nfs_calls_rate_short">NFS Calls per Second</ShortName>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NfsServBadCallsRate" TYPE="NUMBER"  COMPUTE_EXPR="(NfsServBadCalls >= _NfsServBadCalls) ? ((NfsServBadCalls-_NfsServBadCalls)/__interval):((4294967295+NfsServBadCalls-_NfsServBadCalls)/__interval)" TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_nfs_server_bad_calls_rate">NFS Bad Calls Rate (v2 and v3)</Label>
        </Display>
     </ColumnDescriptor>
<!--
     <ColumnDescriptor NAME="RpcPercentBadCalls" TYPE="NUMBER"  COMPUTE_EXPR="(RpcCallsRate != 0) ? 100.0*(RpcBadCallsRate/(RpcCallsRate+RpcBadCallsRate)) : 0">
        <Display>
          <Label NLSID="netapp_filer_rpc_percent_bad_calls">RPC Bad Calls (%)</Label>
        </Display>
     </ColumnDescriptor>
-->
     <ColumnDescriptor NAME="NfsServPercentBadCalls" TYPE="NUMBER"  COMPUTE_EXPR="(NfsCallsRate != 0) ? 100.0*(NfsServBadCallsRate/(NfsCallsRate+NfsServBadCallsRate)) : 0">
        <Display FOR_SUMMARY_UI="TRUE">
          <Label NLSID="netapp_filer_nfs_server_percent_bad_calls">NFS Bad Calls (v2 and v3) (%)</Label>
          <ShortName NLSID="nfs_server_percent_bad_calls_short">NFS Bad Calls (v2 and v3) (%)</ShortName>
        </Display>
     </ColumnDescriptor>
    </TableDescriptor>

    <QueryDescriptor FETCHLET_ID="Snmp">
      <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
      <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
      <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
      <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
      <Property NAME="TABLE"    SCOPE="GLOBAL">FALSE</Property>
      <Property NAME="OIDS"     SCOPE="GLOBAL">
<!--
                                               1.3.6.1.4.1.789.1.3.1.1.1.0
                                               1.3.6.1.4.1.789.1.3.1.1.2.0
-->
                                               1.3.6.1.4.1.789.1.3.1.2.1.0
                                               1.3.6.1.4.1.789.1.3.1.2.2.0
      </Property>
    </QueryDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->

  <Metric NAME="NfsV2Stats" TYPE="TABLE" USAGE_TYPE="HIDDEN">
    <Display>
      <Label NLSID="netapp_filer_nfs_v2_stats">NFS V2 Statistics</Label>
    </Display>

    <TableDescriptor>
     <ColumnDescriptor NAME="v2cNulls" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v2_nulls">V2 Nulls</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v2cGetattrs" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v2_getattrs">V2 Getattrs</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v2cSetattrs" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v2_setattrs">V2 Setattrs</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v2cRoots" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v2_roots">V2 Roots</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v2cLookups" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v2_lookups">V2 Lookups</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v2cReadlinks" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v2_readlinks">V2 Readlinks</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v2cReads" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v2_reads">V2 Reads</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v2cWrcaches" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v2_wrcaches">V2 Wrcaches</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v2cWrites" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v2_writes">V2 Writes</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v2cCreates" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v2_creates">V2 Creates</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v2cRemoves" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v2_removes">V2 Removes</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v2cRenames" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v2_renames">V2 Renames</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v2cLinks" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v2_links">V2 Links</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v2cSymlinks" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v2_symlinks">V2 Symlinks</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v2cMkdirs" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v2_mkdirs">V2 Mkdirs</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v2cRmdirs" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v2_rmdirs">V2 Rmdirs</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v2cReaddirs" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v2_readdirs">V2 Readdirs</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v2cStatfss" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v2_statfss">V2 Statfss</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="TotalNfsV2Calls" TYPE="NUMBER"  COMPUTE_EXPR="(v2cNulls+v2cGetattrs+v2cSetattrs+v2cRoots+v2cLookups+v2cReadlinks+v2cReads+v2cWrcaches+v2cWrites+v2cCreates+v2cRemoves+v2cRenames+v2cLinks+v2cSymlinks+v2cMkdirs+v2cRmdirs+v2cReaddirs+v2cStatfss)" TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_total_nfs_v2_calls">Total NFS Calls (v2)</Label>
        </Display>
     </ColumnDescriptor>
    </TableDescriptor>

    <QueryDescriptor FETCHLET_ID="Snmp">
      <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
      <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
      <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
      <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
      <Property NAME="TABLE"    SCOPE="GLOBAL">FALSE</Property>
      <Property NAME="OIDS"     SCOPE="GLOBAL">1.3.6.1.4.1.789.1.3.1.2.3.1.1.0
                                               1.3.6.1.4.1.789.1.3.1.2.3.1.2.0
                                               1.3.6.1.4.1.789.1.3.1.2.3.1.3.0
                                               1.3.6.1.4.1.789.1.3.1.2.3.1.4.0
                                               1.3.6.1.4.1.789.1.3.1.2.3.1.5.0
                                               1.3.6.1.4.1.789.1.3.1.2.3.1.6.0
                                               1.3.6.1.4.1.789.1.3.1.2.3.1.7.0
                                               1.3.6.1.4.1.789.1.3.1.2.3.1.8.0
                                               1.3.6.1.4.1.789.1.3.1.2.3.1.9.0
                                               1.3.6.1.4.1.789.1.3.1.2.3.1.10.0
                                               1.3.6.1.4.1.789.1.3.1.2.3.1.11.0
                                               1.3.6.1.4.1.789.1.3.1.2.3.1.12.0
                                               1.3.6.1.4.1.789.1.3.1.2.3.1.13.0
                                               1.3.6.1.4.1.789.1.3.1.2.3.1.14.0
                                               1.3.6.1.4.1.789.1.3.1.2.3.1.15.0
                                               1.3.6.1.4.1.789.1.3.1.2.3.1.16.0
                                               1.3.6.1.4.1.789.1.3.1.2.3.1.17.0
                                               1.3.6.1.4.1.789.1.3.1.2.3.1.18.0
      </Property>
    </QueryDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->

  <Metric NAME="NfsV3StatsPartOne" TYPE="TABLE" USAGE_TYPE="HIDDEN">
    <Display>
      <Label NLSID="netapp_filer_nfs_v3_stats_part_one">NFS V3 Statistics (Part 1)</Label>
    </Display>

    <TableDescriptor>
     <ColumnDescriptor NAME="v3cNulls" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v3_nulls">V3 Nulls</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v3cGetattrs" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v3_getattrs">V3 Getattrs</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v3cSetattrs" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v3_setattrs">V3 Setattrs</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v3cLookups" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v3_lookups">V3 Lookups</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v3cAccesss" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v3_accesss">V3 Accesss</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v3cReadlinks" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v3_readlinks">V3 Readlinks</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v3cReads" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v3_reads">V3 Reads</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v3cWrites" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v3_writes">V3 Writes</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v3cCreates" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v3_creates">V3 Creates</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v3cMkdirs" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v3_mkdirs">V3 Mkdirs</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v3cSymlinks" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v3_symlinks">V3 Symlinks</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NfsV3CallsSubTotal1" TYPE="NUMBER"  COMPUTE_EXPR="(v3cNulls+v3cGetattrs+v3cSetattrs+v3cLookups+v3cAccesss+v3cReadlinks+v3cReads+v3cWrites+v3cCreates+v3cMkdirs+v3cSymlinks)" TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_nfs_v3_calls_subtotal1">NFS Calls (v3) SubTotal-1</Label>
        </Display>
     </ColumnDescriptor>
    </TableDescriptor>

    <QueryDescriptor FETCHLET_ID="Snmp">
      <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
      <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
      <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
      <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
      <Property NAME="TABLE"    SCOPE="GLOBAL">FALSE</Property>
      <Property NAME="OIDS"     SCOPE="GLOBAL">1.3.6.1.4.1.789.1.3.1.2.4.1.1.0
                                               1.3.6.1.4.1.789.1.3.1.2.4.1.2.0
                                               1.3.6.1.4.1.789.1.3.1.2.4.1.3.0
                                               1.3.6.1.4.1.789.1.3.1.2.4.1.4.0
                                               1.3.6.1.4.1.789.1.3.1.2.4.1.5.0
                                               1.3.6.1.4.1.789.1.3.1.2.4.1.6.0
                                               1.3.6.1.4.1.789.1.3.1.2.4.1.7.0
                                               1.3.6.1.4.1.789.1.3.1.2.4.1.8.0
                                               1.3.6.1.4.1.789.1.3.1.2.4.1.9.0
                                               1.3.6.1.4.1.789.1.3.1.2.4.1.10.0
                                               1.3.6.1.4.1.789.1.3.1.2.4.1.11.0
      </Property>
    </QueryDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->

  <Metric NAME="NfsV3StatsPartTwo" TYPE="TABLE" USAGE_TYPE="HIDDEN">
    <Display>
      <Label NLSID="netapp_filer_nfs_v3_stats_part_two">NFS V3 Statistics (Part 2)</Label>
    </Display>

    <TableDescriptor>
     <ColumnDescriptor NAME="v3cMknods" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v3_mknods">V3 Mknods</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v3cRemoves" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v3_removes">V3 Removes</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v3cRmdirs" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v3_rmdirs">V3 Rmdirs</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v3cRenames" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v3_renames">V3 Renames</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v3cLinks" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v3_links">V3 Links</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v3cReaddirs" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v3_readdirs">V3 Readdirs</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v3cReaddirPluss" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v3_readdirPluss">V3 ReaddirPluss</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v3cFsstats" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v3_fsstats">V3 Fsstats</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v3cFsinfos" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v3_fsinfos">V3 Fsinfos</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v3cPathconfs" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v3_pathconfs">V3 Pathconfs</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="v3cCommits" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_v3_commits">V3 Commits</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NfsV3CallsSubTotal2" TYPE="NUMBER"  COMPUTE_EXPR="(v3cMknods+v3cRemoves+v3cRmdirs+v3cRenames+v3cLinks+v3cReaddirs+v3cReaddirPluss+v3cFsstats+v3cFsinfos+v3cPathconfs+v3cCommits)" TRANSIENT="TRUE">

        <Display>
          <Label NLSID="netapp_filer_nfs_v3_calls_subtotal2">NFS Calls (v3) Subtotal-2</Label>
        </Display>
     </ColumnDescriptor>
    </TableDescriptor>

    <QueryDescriptor FETCHLET_ID="Snmp">
      <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
      <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
      <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
      <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
      <Property NAME="TABLE"    SCOPE="GLOBAL">FALSE</Property>
      <Property NAME="OIDS"     SCOPE="GLOBAL">1.3.6.1.4.1.789.1.3.1.2.4.1.12.0
                                               1.3.6.1.4.1.789.1.3.1.2.4.1.13.0
                                               1.3.6.1.4.1.789.1.3.1.2.4.1.14.0
                                               1.3.6.1.4.1.789.1.3.1.2.4.1.15.0
                                               1.3.6.1.4.1.789.1.3.1.2.4.1.16.0
                                               1.3.6.1.4.1.789.1.3.1.2.4.1.17.0
                                               1.3.6.1.4.1.789.1.3.1.2.4.1.18.0
                                               1.3.6.1.4.1.789.1.3.1.2.4.1.19.0
                                               1.3.6.1.4.1.789.1.3.1.2.4.1.20.0
                                               1.3.6.1.4.1.789.1.3.1.2.4.1.21.0
                                               1.3.6.1.4.1.789.1.3.1.2.4.1.22.0
      </Property>
    </QueryDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->

  <Metric NAME="CifsOperations" TYPE="TABLE">
    <Display>
      <Label NLSID="netapp_filer_cifs_operations">CIFS Operations</Label>
    </Display>

    <TableDescriptor>
     <ColumnDescriptor NAME="CifsEnabled" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_cifs_enabled">CIFS Enabled ?</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="CifsCalls" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_cifs_calls">CIFS Calls</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="CifsBadCalls" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_cifs_bad_calls">CIFS Bad Calls</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="CifsCallsRate" TYPE="NUMBER"  COMPUTE_EXPR="(CifsCalls >= _CifsCalls) ? ((CifsCalls-_CifsCalls)/__interval):((4294967295+CifsCalls-_CifsCalls)/__interval)">
        <Display FOR_SUMMARY_UI="TRUE">
          <Label NLSID="netapp_filer_cifs_calls_rate">CIFS Calls per Second</Label>
          <ShortName NLSID="cifs_calls_rate_short">CIFS Calls per Second</ShortName>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="CifsBadCallsRate" TYPE="NUMBER"  COMPUTE_EXPR="(CifsBadCalls >= _CifsBadCalls) ? ((CifsBadCalls-_CifsBadCalls)/__interval):((4294967295+CifsBadCalls-_CifsBadCalls)/__interval)">
        <Display>
          <Label NLSID="netapp_filer_cifs_bad_calls_rate">CIFS Bad Calls Rate</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="CifsPercentBadCalls" TYPE="NUMBER"  COMPUTE_EXPR="(CifsCallsRate != 0) ? 100.0*(CifsBadCallsRate/(CifsCallsRate+CifsBadCallsRate)) : 0">
        <Display FOR_SUMMARY_UI="TRUE">
          <Label NLSID="netapp_filer_cifs_percent_bad_calls">CIFS Bad Calls (%)</Label>
          <ShortName NLSID="cifs_percent_bad_calls_short">CIFS Bad Calls (%)</ShortName>
        </Display>
     </ColumnDescriptor>
    </TableDescriptor>

    <QueryDescriptor FETCHLET_ID="Snmp">
      <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
      <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
      <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
      <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
      <Property NAME="TABLE"    SCOPE="GLOBAL">FALSE</Property>
      <Property NAME="OIDS"     SCOPE="GLOBAL">1.3.6.1.4.1.789.1.7.1.1.0
                                               1.3.6.1.4.1.789.1.7.3.1.1.1.0
                                               1.3.6.1.4.1.789.1.7.3.1.1.3.0
      </Property>
    </QueryDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->
<!--
  <Metric NAME="CifsStats" TYPE="TABLE">
    <Display>
      <Label NLSID="netapp_filer_cifs_stats">CIFS Statistics</Label>
    </Display>

    <TableDescriptor>
     <ColumnDescriptor NAME="cifsGetAttrs" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_cifs_getattrs">GetAttrs</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="cifsReads" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_cifs_reads">Reads</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="cifsWrites" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_cifs_writes">Writes</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="cifsLocks" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_cifs_locks">Locks</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="cifsOpens" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_cifs_opens">Opens</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="cifsDirOps" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_cifs_dirops">DirOps</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="cifsOthers" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_cifs_others">Others</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="TotalCifsCalls" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_total_cifs_calls">Total CIFS Calls</Label>
        </Display>
     </ColumnDescriptor>
    </TableDescriptor>

    <QueryDescriptor FETCHLET_ID="Snmp">
      <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
      <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
      <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
      <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
      <Property NAME="TABLE"    SCOPE="GLOBAL">FALSE</Property>
      <Property NAME="OIDS"     SCOPE="GLOBAL">1.3.6.1.4.1.789.1.7.3.1.1.4.0
                                               1.3.6.1.4.1.789.1.7.3.1.1.5.0
                                               1.3.6.1.4.1.789.1.7.3.1.1.6.0
                                               1.3.6.1.4.1.789.1.7.3.1.1.7.0
                                               1.3.6.1.4.1.789.1.7.3.1.1.8.0
                                               1.3.6.1.4.1.789.1.7.3.1.1.9.0
                                               1.3.6.1.4.1.789.1.7.3.1.1.10.0
                                               1.3.6.1.4.1.789.1.7.3.1.1.1.0
      </Property>
    </QueryDescriptor>
  </Metric>
-->
<!-- ***************************************************************************
********* -->

  <Metric NAME="NetworkInterfaces" TYPE="TABLE">
    <ValidIf>
      <CategoryProp NAME="Filer_Version" CHOICES="6.X"/>
    </ValidIf>
    <Display>
      <Label NLSID="netapp_filer_network_interfaces">Network Interfaces</Label>
    </Display>
    <TableDescriptor>
     <ColumnDescriptor NAME="Index" TYPE="NUMBER" IS_KEY="TRUE">
        <Display>
          <Label NLSID="netapp_filer_network_interface_index">Network Interface Index</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="Name" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_name">Name</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="Type" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_type">Type</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="BandwidthRaw" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_bandwidth_raw">Bandwidth (bits/second)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="IpAddress" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_ip_address">IP Address</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="PhysAddress" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_phys_address">MAC Address</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="DesiredStatus" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_desired_status">Desired Status</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="ActualStatus" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_actual_status">Actual Status</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="UCastPktsInRaw" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_ucast_pkts_in_raw">Unicast Pkts (In)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NUCastPktsInRaw" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_n_ucast_pkts_in_raw">Non-Unicast Pkts (In)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="DiscardsInRaw" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_discards_in_raw">Discards (In)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="DiscardsOutRaw" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_discards_out_raw">Discards (Out)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="ErrorsInRaw" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_errors_in_raw">Errors (In)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="ErrorsOutRaw" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_errors_out_raw">Errors (Out)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="UnknownProtoInRaw" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_unknown_proto_in_raw">Unknown Protocol Packets (In)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="Bandwidth" TYPE="NUMBER"  COMPUTE_EXPR="BandwidthRaw/1000000.0">
        <Display>
          <Label NLSID="netapp_filer_bandwidth">Bandwidth (Mbits/second)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="InterfaceStatusError" TYPE="NUMBER"  COMPUTE_EXPR="ActualStatus-DesiredStatus">
        <Display>
          <Label NLSID="netapp_filer_interface_status_error">Network Interface (Actual Status-Desired Status)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="TotalPacketsHistory" TYPE="NUMBER"  COMPUTE_EXPR="(UCastPktsInRaw-_UCastPktsInRaw)+(NUCastPktsInRaw-_NUCastPktsInRaw)" TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_total_packets_history">Historical Total Packets</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="PercentDiscards" TYPE="NUMBER"  COMPUTE_EXPR="((TotalPacketsHistory+(DiscardsInRaw-_DiscardsInRaw)+(DiscardsOutRaw-_DiscardsOutRaw)) != 0) ? (100*((DiscardsInRaw-_DiscardsInRaw)+(DiscardsOutRaw-_DiscardsOutRaw)))/(TotalPacketsHistory+(DiscardsInRaw-_DiscardsInRaw)+(DiscardsOutRaw-_DiscardsOutRaw)) : 0">
        <Display>
          <Label NLSID="netapp_filer_percent_discards">Network Discards (%)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="PercentErrors" TYPE="NUMBER"  COMPUTE_EXPR="((TotalPacketsHistory+(ErrorsInRaw-_ErrorsInRaw)+(ErrorsOutRaw-_ErrorsOutRaw)) != 0) ? (100*((ErrorsInRaw-_ErrorsInRaw)+(ErrorsOutRaw-_ErrorsOutRaw)))/(TotalPacketsHistory+(ErrorsInRaw-_ErrorsInRaw)+(ErrorsOutRaw-_ErrorsOutRaw)) : 0">
        <Display>
          <Label NLSID="netapp_filer_percent_errors">Network Errors (%)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="PercentUnknownProtPackets" TYPE="NUMBER"  COMPUTE_EXPR="((TotalPacketsHistory+UnknownProtoInRaw-_UnknownProtoInRaw) != 0) ? 100*(UnknownProtoInRaw-_UnknownProtoInRaw)/(TotalPacketsHistory+UnknownProtoInRaw-_UnknownProtoInRaw) : 0">
        <Display>
          <Label NLSID="netapp_filer_percent_unknown_prot_packets">Unknown Protocol Packets (%)</Label>
        </Display>
     </ColumnDescriptor>
    </TableDescriptor>

    <QueryDescriptor FETCHLET_ID="Snmp">
      <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
      <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
      <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
      <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
      <Property NAME="TABLE"    SCOPE="GLOBAL">TRUE</Property>
      <Property NAME="OIDS"     SCOPE="GLOBAL"> 1.3.6.1.2.1.2.2.1.1
                                                1.3.6.1.2.1.2.2.1.2
                                                1.3.6.1.2.1.2.2.1.3
                                                1.3.6.1.2.1.2.2.1.5
                                                1.3.6.1.2.1.4.20.1.1*1.3.6.1.2.1.4.20.1.2
                                                1.3.6.1.2.1.2.2.1.6
                                                1.3.6.1.2.1.2.2.1.7
                                                1.3.6.1.2.1.2.2.1.8
                                                1.3.6.1.2.1.2.2.1.11
                                                1.3.6.1.2.1.2.2.1.12
                                                1.3.6.1.2.1.2.2.1.13
                                                1.3.6.1.2.1.2.2.1.19
                                                1.3.6.1.2.1.2.2.1.14
                                                1.3.6.1.2.1.2.2.1.20
                                                1.3.6.1.2.1.2.2.1.15
      </Property>
    </QueryDescriptor>
  </Metric>


<!-- ***************************************************************************
********* -->

  <Metric NAME="NetworkInterfaces" TYPE="TABLE">
    <ValidIf>
      <CategoryProp NAME="Filer_Version" CHOICES="7.X"/>
    </ValidIf>
    <Display>
      <Label NLSID="netapp_filer_network_interfaces">Network Interfaces</Label>
    </Display>
    <TableDescriptor>
      <ColumnDescriptor NAME="Index" TYPE="NUMBER" IS_KEY="TRUE">
        <Display>
          <Label NLSID="netapp_filer_network_interface_index">Network Interface Index</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="Name" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_name">Name</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="Type" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_type">Type</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="BandwidthRaw" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_bandwidth_raw">Bandwidth (bits/second)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="IpAddress" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_ip_address">IP Address</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="PhysAddress" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_phys_address">MAC Address</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="DesiredStatus" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_desired_status">Desired Status</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="ActualStatus" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_actual_status">Actual Status</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="UCastPktsInRaw_hi32" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_ucast_pkts_in_raw_hi32">Unicast Pkts_hi32 (In)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="UCastPktsInRaw_lo32" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_ucast_pkts_in_raw_lo32">Unicast Pkts_lo32 (In)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="NUCastPktsInRaw_hi32" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_n_ucast_pkts_in_raw_hi32">Non-Unicast Pkts_hi32 (In)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="NUCastPktsInRaw_lo32" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_n_ucast_pkts_in_raw_lo32">Non-Unicast Pkts_lo32 (In)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="DiscardsInRaw_hi32" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_discards_in_raw_hi32">Discards_hi32 (In)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="DiscardsInRaw_lo32" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_discards_in_raw_lo32">Discards_lo32 (In)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="DiscardsOutRaw_hi32" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_discards_out_raw_hi32">Discards_hi32 (Out)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="DiscardsOutRaw_lo32" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_discards_out_raw_lo32">Discards_lo32 (Out)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="ErrorsInRaw_hi32" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_errors_in_raw_hi32">Errors_hi32 (In)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="ErrorsInRaw_lo32" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_errors_in_raw_lo32">Errors_lo32 (In)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="ErrorsOutRaw_hi32" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_errors_out_raw_hi32">Errors_hi32 (Out)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="ErrorsOutRaw_lo32" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_errors_out_raw_lo32">Errors_lo32 (Out)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="UnknownProtoInRaw_hi32" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_unknown_proto_in_raw_hi32">Unknown Protocol Packets_hi32 (In)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="UnknownProtoInRaw_lo32" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_unknown_proto_in_raw_lo32">Unknown Protocol Packets_lo32 (In)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="Bandwidth" TYPE="NUMBER"  COMPUTE_EXPR="BandwidthRaw/1000000.0">
        <Display>
          <Label NLSID="netapp_filer_bandwidth">Bandwidth (Mbits/second)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="InterfaceStatusError" TYPE="NUMBER"  COMPUTE_EXPR="ActualStatus-DesiredStatus">
        <Display>
          <Label NLSID="netapp_filer_interface_status_error">Network Interface (Actual Status-Desired Status)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="UCastPktsInRaw" TYPE="NUMBER"  TRANSIENT="TRUE" COMPUTE_EXPR="((UCastPktsInRaw_hi32*4294967296)+UCastPktsInRaw_lo32)">
        <Display>
          <Label NLSID="netapp_filer_ucast_pkts_in_raw">Unicast Pkts (In)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="NUCastPktsInRaw" TYPE="NUMBER"  TRANSIENT="TRUE" COMPUTE_EXPR="((NUCastPktsInRaw_hi32*4294967296)+NUCastPktsInRaw_lo32)">
        <Display>
          <Label NLSID="netapp_filer_n_ucast_pkts_in_raw">Non-Unicast Pkts (In)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="TotalPacketsHistory" TYPE="NUMBER"  COMPUTE_EXPR="(UCastPktsInRaw-_UCastPktsInRaw)+(NUCastPktsInRaw-_NUCastPktsInRaw)" TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_total_packets_history">Historical Total Packets</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="DiscardsInRaw" TYPE="NUMBER"  TRANSIENT="TRUE" COMPUTE_EXPR="((DiscardsInRaw_hi32*4294967296)+DiscardsInRaw_lo32)">
        <Display>
          <Label NLSID="netapp_filer_discards_in_raw">Discards (In)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="DiscardsOutRaw" TYPE="NUMBER"  TRANSIENT="TRUE" COMPUTE_EXPR="((DiscardsOutRaw_hi32*4294967296)+DiscardsOutRaw_lo32)">
        <Display>
          <Label NLSID="netapp_filer_discards_out_raw">Discards (Out)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="PercentDiscards" TYPE="NUMBER"  COMPUTE_EXPR="((TotalPacketsHistory+(DiscardsInRaw-_DiscardsInRaw)+(DiscardsOutRaw-_DiscardsOutRaw)) != 0) ? (100*((DiscardsInRaw-_DiscardsInRaw)+(DiscardsOutRaw-_DiscardsOutRaw)))/(TotalPacketsHistory+(DiscardsInRaw-_DiscardsInRaw)+(DiscardsOutRaw-_DiscardsOutRaw)) : 0">
        <Display>
          <Label NLSID="netapp_filer_percent_discards">Network Discards (%)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="ErrorsInRaw" TYPE="NUMBER"  TRANSIENT="TRUE" COMPUTE_EXPR="((ErrorsInRaw_hi32*4294967296)+ErrorsInRaw_lo32)">
        <Display>
          <Label NLSID="netapp_filer_errors_in_raw">Errors (In)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="ErrorsOutRaw" TYPE="NUMBER"  TRANSIENT="TRUE" COMPUTE_EXPR="((ErrorsOutRaw_hi32*4294967296)+ErrorsOutRaw_lo32)">
        <Display>
          <Label NLSID="netapp_filer_errors_out_raw">Errors (Out)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="PercentErrors" TYPE="NUMBER"  COMPUTE_EXPR="((TotalPacketsHistory+(ErrorsInRaw-_ErrorsInRaw)+(ErrorsOutRaw-_ErrorsOutRaw)) != 0) ? (100*((ErrorsInRaw-_ErrorsInRaw)+(ErrorsOutRaw-_ErrorsOutRaw)))/(TotalPacketsHistory+(ErrorsInRaw-_ErrorsInRaw)+(ErrorsOutRaw-_ErrorsOutRaw)) : 0">
        <Display>
          <Label NLSID="netapp_filer_percent_errors">Network Errors (%)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="UnknownProtoInRaw" TYPE="NUMBER"  TRANSIENT="TRUE" COMPUTE_EXPR="((UnknownProtoInRaw_hi32*4294967296)+UnknownProtoInRaw_lo32)">
        <Display>
          <Label NLSID="netapp_filer_unknown_proto_in_raw">Unknown Protocol Packets (In)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="PercentUnknownProtPackets" TYPE="NUMBER"  COMPUTE_EXPR="((TotalPacketsHistory+UnknownProtoInRaw-_UnknownProtoInRaw) != 0) ? 100*(UnknownProtoInRaw-_UnknownProtoInRaw)/(TotalPacketsHistory+UnknownProtoInRaw-_UnknownProtoInRaw) : 0">
        <Display>
          <Label NLSID="netapp_filer_percent_unknown_prot_packets">Unknown Protocol Packets (%)</Label>
        </Display>
      </ColumnDescriptor>
    </TableDescriptor>

    <QueryDescriptor FETCHLET_ID="Snmp">
      <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
      <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
      <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
      <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
      <Property NAME="TABLE"    SCOPE="GLOBAL">TRUE</Property>
      <Property NAME="OIDS"     SCOPE="GLOBAL"> 1.3.6.1.4.1.789.1.22.1.2.1.1
                                                1.3.6.1.4.1.789.1.22.1.2.1.2
                                                1.3.6.1.2.1.2.2.1.3
                                                1.3.6.1.2.1.2.2.1.5
                                                1.3.6.1.2.1.4.20.1.1*1.3.6.1.2.1.4.20.1.2
                                                1.3.6.1.2.1.2.2.1.6
                                                1.3.6.1.2.1.2.2.1.7
                                                1.3.6.1.2.1.2.2.1.8
                                                1.3.6.1.4.1.789.1.22.1.2.1.5
                                                1.3.6.1.4.1.789.1.22.1.2.1.6
                                                1.3.6.1.4.1.789.1.22.1.2.1.7
                                                1.3.6.1.4.1.789.1.22.1.2.1.8
                                                1.3.6.1.4.1.789.1.22.1.2.1.9
                                                1.3.6.1.4.1.789.1.22.1.2.1.10
                                                1.3.6.1.4.1.789.1.22.1.2.1.21
                                                1.3.6.1.4.1.789.1.22.1.2.1.22
                                                1.3.6.1.4.1.789.1.22.1.2.1.11
                                                1.3.6.1.4.1.789.1.22.1.2.1.12
                                                1.3.6.1.4.1.789.1.22.1.2.1.23
                                                1.3.6.1.4.1.789.1.22.1.2.1.24
                                                1.3.6.1.4.1.789.1.22.1.2.1.13
                                                1.3.6.1.4.1.789.1.22.1.2.1.14
      </Property>
    </QueryDescriptor>
  </Metric>


<!-- ***************************************************************************
********* -->

  <Metric NAME="NetworkInterfaceStats" TYPE="TABLE" USAGE_TYPE="HIDDEN">
    <ValidIf>
      <CategoryProp NAME="Filer_Version" CHOICES="6.X"/>
    </ValidIf>
    <Display>
      <Label NLSID="netapp_filer_network_interface_stats">Network Interface Statistics</Label>
    </Display>
    <TableDescriptor>
      <ColumnDescriptor NAME="Index" TYPE="NUMBER" IS_KEY="TRUE">
        <Display>
          <Label NLSID="netapp_filer_net_int_stats_index">Network Interface Index</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="BandwidthRaw" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_bandwidth_raw">Bandwidth (bits/second)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="ActualStatus" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_actual_status">Actual Status</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="NetworkRecdRaw" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_network_recd_raw">Network Received (octets)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="NetworkSentRaw" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_network_sent_raw">Network Sent (octets)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="Bandwidth" TYPE="NUMBER"  COMPUTE_EXPR="BandwidthRaw/1000000.0">
        <Display>
          <Label NLSID="netapp_filer_bandwidth">Bandwidth (Mbits/second)</Label>
        </Display>
      </ColumnDescriptor>
    </TableDescriptor>

    <QueryDescriptor FETCHLET_ID="Snmp">
      <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
      <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
      <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
      <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
      <Property NAME="TABLE"    SCOPE="GLOBAL">TRUE</Property>
      <Property NAME="OIDS"     SCOPE="GLOBAL"> 1.3.6.1.2.1.2.2.1.1
                                                1.3.6.1.2.1.2.2.1.5
                                                1.3.6.1.2.1.2.2.1.8
                                                1.3.6.1.2.1.2.2.1.10
                                                1.3.6.1.2.1.2.2.1.16
      </Property>
    </QueryDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->

  <Metric NAME="NetworkInterfaceStats" TYPE="TABLE" USAGE_TYPE="HIDDEN">
    <ValidIf>
      <CategoryProp NAME="Filer_Version" CHOICES="7.X"/>
    </ValidIf>
    <Display>
      <Label NLSID="netapp_filer_network_interface_stats">Network Interface Statistics</Label>
    </Display>
    <TableDescriptor>
      <ColumnDescriptor NAME="Index" TYPE="NUMBER" IS_KEY="TRUE">
        <Display>
          <Label NLSID="netapp_filer_net_int_stats_index">Network Interface Index</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="BandwidthRaw" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_bandwidth_raw">Bandwidth (bits/second)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="ActualStatus" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_actual_status">Actual Status</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="NetworkRecdRaw_hi32" TYPE="NUMBER" TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_network_recd_raw_hi32">Network Received_hi32 (octets)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="NetworkRecdRaw_lo32" TYPE="NUMBER" TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_network_recd_raw_lo32">Network Received_lo32 (octets)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="NetworkSentRaw_hi32" TYPE="NUMBER" TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_network_sent_raw_hi32">Network Sent_hi32 (octets)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="NetworkSentRaw_lo32" TYPE="NUMBER" TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_network_sent_raw_lo32">Network Sent_lo32 (octets)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="NetworkRecdRaw" TYPE="NUMBER" COMPUTE_EXPR="((NetworkRecdRaw_hi32*4294967296)+NetworkRecdRaw_lo32)">
        <Display>
          <Label NLSID="netapp_filer_network_recd_raw">Network Received (octets)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="NetworkSentRaw" TYPE="NUMBER" COMPUTE_EXPR="((NetworkSentRaw_hi32*4294967296)+NetworkSentRaw_lo32)">
        <Display>
          <Label NLSID="netapp_filer_network_sent_raw">Network Sent (octets)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="Bandwidth" TYPE="NUMBER"  COMPUTE_EXPR="BandwidthRaw/1000000.0">
        <Display>
          <Label NLSID="netapp_filer_bandwidth">Bandwidth (Mbits/second)</Label>
        </Display>
      </ColumnDescriptor>
    </TableDescriptor>

    <QueryDescriptor FETCHLET_ID="Snmp">
      <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
      <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
      <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
      <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
      <Property NAME="TABLE"    SCOPE="GLOBAL">TRUE</Property>
      <Property NAME="OIDS"     SCOPE="GLOBAL"> 1.3.6.1.2.1.2.2.1.1
                                                1.3.6.1.2.1.2.2.1.5
                                                1.3.6.1.2.1.2.2.1.8
                                                1.3.6.1.4.1.789.1.22.1.2.1.3
                                                1.3.6.1.4.1.789.1.22.1.2.1.4
                                                1.3.6.1.4.1.789.1.22.1.2.1.15
                                                1.3.6.1.4.1.789.1.22.1.2.1.16
      </Property>
    </QueryDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->

  <Metric NAME="GigabitCardStats" TYPE="TABLE">
    <Display>
      <Label NLSID="netapp_filer_gigabit_card_stats">Gigabit Network Cards Statistics</Label>
    </Display>
    <TableDescriptor>
     <ColumnDescriptor NAME="Index" TYPE="NUMBER" IS_KEY="TRUE">
        <Display>
          <Label NLSID="netapp_filer_gbit_card_stats_index">Network Interface Index</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="Bandwidth" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_bandwidth">Bandwidth (Mbits/second)</Label>
        </Display>
     </ColumnDescriptor>
    <ColumnDescriptor NAME="ActualStatus" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_actual_status">Actual Status</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NetworkRecdRaw" TYPE="NUMBER" TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_network_recd_raw">Network Received (octets)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NetworkSentRaw" TYPE="NUMBER" TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_network_sent_raw">Network Sent (octets)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NetworkRecdKbitsHistory" TYPE="NUMBER"  COMPUTE_EXPR="(NetworkRecdRaw >= _NetworkRecdRaw) ? (8*(NetworkRecdRaw - _NetworkRecdRaw)/1000.0) : (8*(4294967295 + NetworkRecdRaw - _NetworkRecdRaw)/1000.0)" TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_network_recd_kbits_history">Historical Network Received (Kilobits)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NetworkSentKbitsHistory" TYPE="NUMBER"  COMPUTE_EXPR="(NetworkSentRaw >= _NetworkSentRaw) ? (8*(NetworkSentRaw - _NetworkSentRaw)/1000.0) : (8*(4294967295 + NetworkSentRaw - _NetworkSentRaw)/1000.0)" TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_network_sent_kbits_History">Historical Network Sent (Kilobits)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NetworkRecdRate" TYPE="NUMBER"  COMPUTE_EXPR="NetworkRecdKbitsHistory/__interval">
        <Display>
          <Label NLSID="netapp_filer_network_recd_rate">Network Received Rate (Kilobits/second)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NetworkSentRate" TYPE="NUMBER"  COMPUTE_EXPR="NetworkSentKbitsHistory/__interval">
        <Display>
          <Label NLSID="netapp_filer_network_sent_rate">Network Sent Rate (Kilobits/second)</Label>
        </Display>
     </ColumnDescriptor>
<!--
     <ColumnDescriptor NAME="PercentBandwidthUsed" TYPE="NUMBER"  COMPUTE_EXPR="(Bandwidth != 0) ? 100*1000.0*(NetworkRecdKbitsHistory+NetworkSentKbitsHistory)/__interval/(Bandwidth*1000000) : 0">
        <Display>
          <Label NLSID="netapp_filer_1gbps_percent_bandwidth_used">Gigabit Card Bandwidth Used (%)</Label>
        </Display>
     </ColumnDescriptor>
-->
    </TableDescriptor>
    <ExecutionDescriptor>
      <GetTable NAME="NetworkInterfaceStats" />
      <GetView NAME="GigabitCardStats" FROM_TABLE="NetworkInterfaceStats">
        <Column NAME="Index" />
        <Column NAME="Bandwidth" />
        <Column NAME="ActualStatus" />
        <Column NAME="NetworkRecdRaw" />
        <Column NAME="NetworkSentRaw" />
        <Filter COLUMN_NAME="Bandwidth">1000</Filter>
        <Filter COLUMN_NAME="ActualStatus" OPERATOR="NE">2</Filter>
      </GetView>
    </ExecutionDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->

  <Metric NAME="GigabitCards" TYPE="TABLE" USAGE_TYPE="HIDDEN">
    <Display>
      <Label NLSID="netapp_filer_gigabit_cards">Gigabit Network Cards</Label>
    </Display>
    <TableDescriptor>
     <ColumnDescriptor NAME="Index" TYPE="NUMBER" IS_KEY="TRUE">
        <Display>
          <Label NLSID="netapp_filer_gbit_card_index">Network Interface Index</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="Name" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_name">Name</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="Type" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_type">Type</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="IpAddress" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_ip_address">IP Address</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="PhysAddress" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_phys_address">MAC Address</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="DesiredStatus" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_desired_status">Desired Status</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="ActualStatus" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_actual_status">Actual Status</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="Bandwidth" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_bandwidth">Bandwidth (Mbits/second)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="InterfaceStatusError" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_interface_status_error">Network Interface (Actual Status-Desired Status)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NetworkRecdRate" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_network_recd_rate">Network Received Rate (Kilobits/second)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NetworkSentRate" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_network_sent_rate">Network Sent Rate (Kilobits/second)</Label>
        </Display>
     </ColumnDescriptor>
<!--
     <ColumnDescriptor NAME="PercentBandwidthUsed" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_1gbps_percent_bandwidth_used">Gigabit Card Bandwidth Used (%)</Label>
        </Display>
     </ColumnDescriptor>
-->
    </TableDescriptor>
    <ExecutionDescriptor>
      <GetTable NAME="NetworkInterfaces" />
      <GetTable NAME="GigabitCardStats" />
      <GetView NAME="NetworkInterfaces_View" FROM_TABLE="NetworkInterfaces">
        <Column NAME="Index" />
        <Column NAME="Name" /> 
        <Column NAME="Type" />
        <Column NAME="IpAddress" />
        <Column NAME="PhysAddress" />
        <Column NAME="DesiredStatus" />
        <Column NAME="ActualStatus" />
        <Column NAME="Bandwidth" />
        <Column NAME="InterfaceStatusError" />
        <Filter COLUMN_NAME="Bandwidth">1000</Filter>
      </GetView>
      <GetView NAME="GigabitCardStats_View" FROM_TABLE="GigabitCardStats">
        <Column NAME="Index" />
        <Column NAME="NetworkRecdRate" />
        <Column NAME="NetworkSentRate" />
<!--
        <Column NAME="PercentBandwidthUsed" />
-->
      </GetView>
      <JoinTables NAME="GigabitCards" OUTER="TRUE">
        <Table NAME="NetworkInterfaces_View"/>
        <Table NAME="GigabitCardStats_View"/>
        <Where FROM_TABLE="NetworkInterfaces_View" 
               FROM_KEY="Index" 
               JOIN_TABLE="GigabitCardStats_View" 
               JOIN_KEY="Index"/>
      </JoinTables>
    </ExecutionDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->

  <Metric NAME="100_MegabitCardStats" TYPE="TABLE">
    <Display>
      <Label NLSID="netapp_filer_100_megabit_card_stats">100 Megabit Network Cards Statistics</Label>
    </Display>
    <TableDescriptor>
     <ColumnDescriptor NAME="Index" TYPE="NUMBER" IS_KEY="TRUE">
        <Display>
          <Label NLSID="netapp_filer_100mbit_card_stats_index">Network Interface Index</Label>
        </Display>
     </ColumnDescriptor>
    <ColumnDescriptor NAME="ActualStatus" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_actual_status">Actual Status</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="Bandwidth" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_bandwidth">Bandwidth (Mbits/second)</Label>
        </Display>
     </ColumnDescriptor>
    <ColumnDescriptor NAME="NetworkRecdRaw" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_network_recd_raw">Network Received (octets)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NetworkSentRaw" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_network_sent_raw">Network Sent (octets)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NetworkRecdKbitsHistory" TYPE="NUMBER"  COMPUTE_EXPR="(NetworkRecdRaw >= _NetworkRecdRaw) ? (8*(NetworkRecdRaw - _NetworkRecdRaw)/1000.0) : (8*(4294967295 + NetworkRecdRaw - _NetworkRecdRaw)/1000.0)" TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_network_recd_kbits_history">Historical Network Received (Kilobits)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NetworkSentKbitsHistory" TYPE="NUMBER"  COMPUTE_EXPR="(NetworkSentRaw >= _NetworkSentRaw) ? (8*(NetworkSentRaw - _NetworkSentRaw)/1000.0) : (8*(4294967295 + NetworkSentRaw - _NetworkSentRaw)/1000.0)" TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_network_sent_kbits_History">Historical Network Sent (Kilobits)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NetworkRecdRate" TYPE="NUMBER"  COMPUTE_EXPR="NetworkRecdKbitsHistory/__interval">
        <Display>
          <Label NLSID="netapp_filer_network_recd_rate">Network Received Rate (Kilobits/second)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NetworkSentRate" TYPE="NUMBER"  COMPUTE_EXPR="NetworkSentKbitsHistory/__interval">
        <Display>
          <Label NLSID="netapp_filer_network_sent_rate">Network Sent Rate (Kilobits/second)</Label>
        </Display>
     </ColumnDescriptor>
<!--
     <ColumnDescriptor NAME="PercentBandwidthUsed" TYPE="NUMBER"  COMPUTE_EXPR="(Bandwidth != 0) ? 100*1000.0*(NetworkRecdKbitsHistory+NetworkSentKbitsHistory)/__interval/(Bandwidth*1000000) : 0">
        <Display>
          <Label NLSID="netapp_filer_100mbps_percent_bandwidth_used">100 Megabit Card Bandwidth Used (%)</Label>
        </Display>
     </ColumnDescriptor>
-->
    </TableDescriptor>
    <ExecutionDescriptor>
      <GetTable NAME="NetworkInterfaceStats" />
      <GetView NAME="100_MegabitCardStats" FROM_TABLE="NetworkInterfaceStats">
        <Column NAME="Index" />
        <Column NAME="Bandwidth" />
        <Column NAME="ActualStatus" />
        <Column NAME="NetworkRecdRaw" />
        <Column NAME="NetworkSentRaw" />
        <Filter COLUMN_NAME="Bandwidth">100</Filter>
        <Filter COLUMN_NAME="ActualStatus" OPERATOR="NE">2</Filter>
      </GetView>
    </ExecutionDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->

  <Metric NAME="100_MegabitCards" TYPE="TABLE" USAGE_TYPE="HIDDEN">
    <Display>
      <Label NLSID="netapp_filer_100_megabit_cards">100 Megabit Network Cards</Label>
    </Display>
    <TableDescriptor>
     <ColumnDescriptor NAME="Index" TYPE="NUMBER" IS_KEY="TRUE">
        <Display>
          <Label NLSID="netapp_filer_100mbit_card_index">Network Interface Index</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="Name" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_name">Name</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="Type" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_type">Type</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="IpAddress" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_ip_address">IP Address</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="PhysAddress" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_phys_address">MAC Address</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="DesiredStatus" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_desired_status">Desired Status</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="ActualStatus" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_actual_status">Actual Status</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="Bandwidth" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_bandwidth">Bandwidth (Mbits/second)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="InterfaceStatusError" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_interface_status_error">Network Interface (Actual Status-Desired Status)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NetworkRecdRate" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_network_recd_rate">Network Received Rate (Kilobits/second)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NetworkSentRate" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_network_sent_rate">Network Sent Rate (Kilobits/second)</Label>
        </Display>
     </ColumnDescriptor>
<!--
     <ColumnDescriptor NAME="PercentBandwidthUsed" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_100mbps_percent_bandwidth_used">100 Megabit Card Bandwidth Used (%)</Label>
        </Display>
     </ColumnDescriptor>
-->
    </TableDescriptor>
    <ExecutionDescriptor>
      <GetTable NAME="NetworkInterfaces" />
      <GetTable NAME="100_MegabitCardStats" />
      <GetView NAME="NetworkInterfaces_View" FROM_TABLE="NetworkInterfaces">
        <Column NAME="Index" />
        <Column NAME="Name" /> 
        <Column NAME="Type" />
        <Column NAME="IpAddress" />
        <Column NAME="PhysAddress" />
        <Column NAME="DesiredStatus" />
        <Column NAME="ActualStatus" />
        <Column NAME="Bandwidth" />
        <Column NAME="InterfaceStatusError" />
        <Filter COLUMN_NAME="Bandwidth">100</Filter>
      </GetView>
      <GetView NAME="100_MegabitCardStats_View" FROM_TABLE="100_MegabitCardStats">
        <Column NAME="Index" />
        <Column NAME="NetworkRecdRate" />
        <Column NAME="NetworkSentRate" />
<!--
        <Column NAME="PercentBandwidthUsed" />
-->
      </GetView>
      <JoinTables NAME="100_MegabitCards" OUTER="TRUE">
        <Table NAME="NetworkInterfaces_View"/>
        <Table NAME="100_MegabitCardStats_View"/>
        <Where FROM_TABLE="NetworkInterfaces_View" 
               FROM_KEY="Index" 
               JOIN_TABLE="100_MegabitCardStats_View" 
               JOIN_KEY="Index"/>
      </JoinTables>
    </ExecutionDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->

  <Metric NAME="10_MegabitCardStats" TYPE="TABLE">
    <Display>
      <Label NLSID="netapp_filer_10_megabit_card_stats">10 Megabit Network Cards Statistics</Label>
    </Display>
    <TableDescriptor>
     <ColumnDescriptor NAME="Index" TYPE="NUMBER" IS_KEY="TRUE">
        <Display>
          <Label NLSID="netapp_filer_10mbit_card_stats_index">Network Interface Index</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="Bandwidth" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_bandwidth">Bandwidth (Mbits/second)</Label>
        </Display>
     </ColumnDescriptor>
    <ColumnDescriptor NAME="ActualStatus" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_actual_status">Actual Status</Label>
        </Display>
     </ColumnDescriptor>
    <ColumnDescriptor NAME="NetworkRecdRaw" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_network_recd_raw">Network Received (octets)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NetworkSentRaw" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_network_sent_raw">Network Sent (octets)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NetworkRecdKbitsHistory" TYPE="NUMBER"  COMPUTE_EXPR="(NetworkRecdRaw >= _NetworkRecdRaw) ? (8*(NetworkRecdRaw - _NetworkRecdRaw)/1000.0) : (8*(4294967295 + NetworkRecdRaw - _NetworkRecdRaw)/1000.0)" TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_network_recd_kbits_history">Historical Network Received (Kilobits)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NetworkSentKbitsHistory" TYPE="NUMBER"  COMPUTE_EXPR="(NetworkSentRaw >= _NetworkSentRaw) ? (8*(NetworkSentRaw - _NetworkSentRaw)/1000.0) : (8*(4294967295 + NetworkSentRaw - _NetworkSentRaw)/1000.0)" TRANSIENT="TRUE">
        <Display>
          <Label NLSID="netapp_filer_network_sent_kbits_History">Historical Network Sent (Kilobits)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NetworkRecdRate" TYPE="NUMBER"  COMPUTE_EXPR="NetworkRecdKbitsHistory/__interval">
        <Display>
          <Label NLSID="netapp_filer_network_recd_rate">Network Received Rate (Kilobits/second)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NetworkSentRate" TYPE="NUMBER"  COMPUTE_EXPR="NetworkSentKbitsHistory/__interval">
        <Display>
          <Label NLSID="netapp_filer_network_sent_rate">Network Sent Rate (Kilobits/second)</Label>
        </Display>
     </ColumnDescriptor>
<!--
     <ColumnDescriptor NAME="PercentBandwidthUsed" TYPE="NUMBER"  COMPUTE_EXPR="(Bandwidth != 0) ? 100*1000.0*(NetworkRecdKbitsHistory+NetworkSentKbitsHistory)/__interval/(Bandwidth*1000000) : 0">
        <Display>
          <Label NLSID="netapp_filer_10mbps_percent_bandwidth_used">10 Megabit Card Bandwidth Used (%)</Label>
        </Display>
     </ColumnDescriptor>
-->
    </TableDescriptor>
    <ExecutionDescriptor>
      <GetTable NAME="NetworkInterfaceStats" />
      <GetView NAME="10_MegabitCardStats" FROM_TABLE="NetworkInterfaceStats">
        <Column NAME="Index" />
        <Column NAME="Bandwidth" />
        <Column NAME="ActualStatus" />
        <Column NAME="NetworkRecdRaw" />
        <Column NAME="NetworkSentRaw" />
        <Filter COLUMN_NAME="Bandwidth">10</Filter>
        <Filter COLUMN_NAME="ActualStatus" OPERATOR="NE">2</Filter>
      </GetView>
    </ExecutionDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->

  <Metric NAME="10_MegabitCards" TYPE="TABLE" USAGE_TYPE="HIDDEN">
    <Display>
      <Label NLSID="netapp_filer_10_megabit_cards">10 Megabit Network Cards</Label>
    </Display>
    <TableDescriptor>
     <ColumnDescriptor NAME="Index" TYPE="NUMBER" IS_KEY="TRUE">
        <Display>
          <Label NLSID="netapp_filer_10mbit_card_index">Network Interface Index</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="Name" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_name">Name</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="Type" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_type">Type</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="IpAddress" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_ip_address">IP Address</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="PhysAddress" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_phys_address">MAC Address</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="DesiredStatus" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_desired_status">Desired Status</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="ActualStatus" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_actual_status">Actual Status</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="Bandwidth" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_bandwidth">Bandwidth (Mbits/second)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="InterfaceStatusError" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_10mbps_interface_status_error">Network Interface (Actual Status-Desired Status)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NetworkRecdRate" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_network_recd_rate">Network Received Rate (Kilobits/second)</Label>
        </Display>
     </ColumnDescriptor>
     <ColumnDescriptor NAME="NetworkSentRate" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_network_sent_rate">Network Sent Rate (Kilobits/second)</Label>
        </Display>
     </ColumnDescriptor>
<!--
     <ColumnDescriptor NAME="PercentBandwidthUsed" TYPE="NUMBER">
        <Display>
          <Label NLSID="netapp_filer_10mbps_percent_bandwidth_used">10 Megabit Card Bandwidth Used (%)</Label>
        </Display>
     </ColumnDescriptor>
-->
    </TableDescriptor>
    <ExecutionDescriptor>
      <GetTable NAME="NetworkInterfaces" />
      <GetTable NAME="10_MegabitCardStats" />
      <GetView NAME="NetworkInterfaces_View" FROM_TABLE="NetworkInterfaces">
        <Column NAME="Index" />
        <Column NAME="Name" /> 
        <Column NAME="Type" />
        <Column NAME="IpAddress" />
        <Column NAME="PhysAddress" />
        <Column NAME="DesiredStatus" />
        <Column NAME="ActualStatus" />
        <Column NAME="Bandwidth" />
        <Column NAME="InterfaceStatusError" />
        <Filter COLUMN_NAME="Bandwidth">10</Filter>
      </GetView>
      <GetView NAME="10_MegabitCardStats_View" FROM_TABLE="10_MegabitCardStats">
        <Column NAME="Index" />
        <Column NAME="NetworkRecdRate" />
        <Column NAME="NetworkSentRate" />
<!--
        <Column NAME="PercentBandwidthUsed" />
-->
      </GetView>
      <JoinTables NAME="10_MegabitCards" OUTER="TRUE">
        <Table NAME="NetworkInterfaces_View"/>
        <Table NAME="10_MegabitCardStats_View"/>
        <Where FROM_TABLE="NetworkInterfaces_View" 
               FROM_KEY="Index" 
               JOIN_TABLE="10_MegabitCardStats_View" 
               JOIN_KEY="Index"/>
      </JoinTables>
    </ExecutionDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->
<!--
  <Metric NAME="ClusterSetting" TYPE="TABLE">
    <Display>
      <Label NLSID="netapp_filer_cluster_setting">Cluster Setting</Label>
    </Display>
    <TableDescriptor>
      <ColumnDescriptor NAME="ConfigSetting" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_config_setting">Cluster Configuration Setting</Label>
        </Display>
      </ColumnDescriptor>
    </TableDescriptor>
    <QueryDescriptor FETCHLET_ID="Snmp">
      <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
      <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
      <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
      <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
      <Property NAME="TABLE"    SCOPE="GLOBAL">FALSE</Property>
      <Property NAME="OIDS"     SCOPE="GLOBAL">1.3.6.1.4.1.789.1.2.3.1.0
      </Property>
    </QueryDescriptor>
  </Metric>
-->
<!-- ***************************************************************************
********* -->

  <Metric NAME="Cluster" TYPE="TABLE">
     <ValidIf>
       <CategoryProp NAME="IsClusterEnabled" CHOICES="2"/>
     </ValidIf>
     
    <Display>
      <Label NLSID="netapp_filer_cluster">Cluster</Label>
    </Display>
    <TableDescriptor>
      <ColumnDescriptor NAME="State" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_cluster_state">State</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="ReasonCantTakeover" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_reason_cant_takeover">Reason Can't Takeover?</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="PartnerName" TYPE="STRING">
        <Display>
         <Label NLSID="netapp_filer_partner_name">Partner Name</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="PartnerSysId" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_partner_sys_id">Partner System ID</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="PartnerStatus" TYPE="NUMBER">
        <Display FOR_SUMMARY_UI="TRUE">
         <Label NLSID="netapp_filer_partner_status">Cluster Partner Status</Label>
          <ShortName NLSID="partner_status_short">Partner Status</ShortName>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="InterconnectStatus" TYPE="NUMBER">
        <Display FOR_SUMMARY_UI="TRUE">
         <Label NLSID="netapp_filer_interconnect_status">Cluster Interconnect Status</Label>
          <ShortName NLSID="interconnect_status_short">Interconn Status</ShortName>
        </Display>
      </ColumnDescriptor>
    </TableDescriptor>
    <QueryDescriptor FETCHLET_ID="Snmp">
      <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
      <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
      <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
      <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
      <Property NAME="TABLE"    SCOPE="GLOBAL">FALSE</Property>
      <Property NAME="OIDS"     SCOPE="GLOBAL">1.3.6.1.4.1.789.1.2.3.2.0
                                               1.3.6.1.4.1.789.1.2.3.3.0
                                               1.3.6.1.4.1.789.1.2.3.6.0
                                               1.3.6.1.4.1.789.1.2.3.7.0
                                               1.3.6.1.4.1.789.1.2.3.4.0
                                               1.3.6.1.4.1.789.1.2.3.8.0
      </Property>
    </QueryDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->

<!--
  <Metric NAME="NfsClients" TYPE="TABLE">
    <Display>
      <Label NLSID="netapp_filer_nfs_clients">NFS Client Hosts</Label>
    </Display>
    <TableDescriptor>
      <ColumnDescriptor NAME="NfsClientHostname" TYPE="STRING" IS_KEY="TRUE">
        <Display>
         <Label NLSID="netapp_filer_nfs_client_hostname">NFS Client Hostname</Label>
        </Display>
      </ColumnDescriptor>
    </TableDescriptor>
    <QueryDescriptor FETCHLET_ID="OSLineToken">
      <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property>
      <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
      <Property NAME="command" SCOPE="GLOBAL">%scriptsDir%/netappNfsClients.sh %hostname%</Property>
      <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property>
      <Property NAME="delimiter" SCOPE="GLOBAL">|</Property>
    </QueryDescriptor>
  </Metric>
-->

<!-- ***************************************************************************
********* -->

  <Metric NAME="FilerCapacity" TYPE="TABLE">
    <ValidIf>
      <CategoryProp NAME="Filer_Version" CHOICES="6.X"/>
    </ValidIf>
    <Display>
      <Label NLSID="netapp_filer_filer_capacity">Filer Capacity</Label>
    </Display>
    <TableDescriptor>
      <ColumnDescriptor NAME="VolumeCapacityTotalGb" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_volume_capacity_total_gb">Traditional Volume Capacity Total (GB)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumeCapacityUsedGb" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_volume_capacity_used_gb">Traditional Volume Capacity Used (GB)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumeCapacityPercentUsed" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_volume_capacity_percent_used">Traditional Volume Capacity Used (%)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="QtreeCapacityLimitGb" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_qtree_capacity_limit_gb">Qtree Capacity Limit (GB)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="QtreeCapacityUsedGb" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_qtree_capacity_used_gb">Qtree Capacity Used (GB)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="QtreeCapacityPercentUsed" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_qtree_capacity_percent_used">Qtree Capacity Used (%)</Label>
        </Display>
      </ColumnDescriptor>
    </TableDescriptor>
    <ExecutionDescriptor>
      <GetTable NAME="FileSystems"/>
      <GetView NAME="FileSystems_View" FROM_TABLE="FileSystems">
        <Column NAME="VolumeTotalGb"/>
        <Column NAME="VolumeUsedGb"/>
      </GetView>
      <GroupBy NAME="Volume_Capacity" FROM_TABLE="FileSystems_View">
        <AggregateColumn NAME="VolumeCapacityTotalGb"
                         COLUMN_NAME="VolumeTotalGb"
                         OPERATOR="SUM"/>
        <AggregateColumn NAME="VolumeCapacityUsedGb"
                         COLUMN_NAME="VolumeUsedGb"
                         OPERATOR="SUM"/>
        <ComputeColumn   NAME="VolumeCapacityPercentUsed" 
                         EXPR="(VolumeCapacityTotalGb != 0) ? 100.0*(VolumeCapacityUsedGb/VolumeCapacityTotalGb) : 0"/>
      </GroupBy>
      <GetTable NAME="Qtrees"/>
      <GetView NAME="Qtrees_View" FROM_TABLE="Qtrees">
        <Column NAME="QtreeTotalGb"/>
        <Column NAME="QtreeUsedGb"/>
        <Column NAME="QuotaType"/>
      </GetView>
      <GroupBy NAME="Qtree_Capacity" FROM_TABLE="Qtrees_View">
        <AggregateColumn NAME="QtreeCapacityLimitGb"
                         COLUMN_NAME="QtreeTotalGb"
                         OPERATOR="SUM"/>
        <AggregateColumn NAME="QtreeCapacityUsedGb"
                         COLUMN_NAME="QtreeUsedGb"
                         OPERATOR="SUM"/>
        <ComputeColumn   NAME="QtreeCapacityPercentUsed"
                         EXPR="(QtreeCapacityLimitGb != 0) ? 100.0*(QtreeCapacityUsedGb/QtreeCapacityLimitGb) : 0"/>
      </GroupBy>
      <JoinTables NAME="Filer_Capacity" OUTER="TRUE">
        <Table NAME="Volume_Capacity"/>
        <Table NAME="Qtree_Capacity"/>
      </JoinTables>
    </ExecutionDescriptor>
  </Metric>


<!-- ***************************************************************************
********* -->


  <Metric NAME="FilerCapacity" TYPE="TABLE">
    <ValidIf>
      <CategoryProp NAME="Filer_Version" CHOICES="7.X"/>
    </ValidIf>
    <Display>
      <Label NLSID="netapp_filer_filer_capacity">Filer Capacity</Label>
    </Display>
    <TableDescriptor>
      <ColumnDescriptor NAME="AggregateCapacityTotalGb" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_Aggregate_capacity_total_gb">Aggregate Capacity Total (GB)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="AggregateCapacityAllocatedGb" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_Aggregate_capacity_allocated_gb">Aggregate Capacity Allocated (GB)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="AggregateCapacityPercentAllocated" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_Aggregate_capacity_percent_allocated">Aggregate Capacity Allocated (%)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="FlexibleVolumeCapacityTotalGb" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_flexible_volume_capacity_total_gb">Flexible Volumes Capacity Total (GB)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="FlexibleVolumeCapacityUsedGb" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_flexible_volume_capacity_used_gb">Flexible Volumes Capacity Allocated (GB)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="FlexibleVolumeCapacityPercentUsed" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_flexible_volume_capacity_percent_used">Flexible Volumes Capacity Allocated (%)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumeCapacityTotalGb" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_volume_capacity_total_gb">Traditional Volume Capacity Total (GB)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumeCapacityUsedGb" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_volume_capacity_used_gb">Traditional Volume Capacity Used (GB)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumeCapacityPercentUsed" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_volume_capacity_percent_used">Traditional Volume Capacity Used (%)</Label>
        </Display>
      </ColumnDescriptor>
        <ColumnDescriptor NAME="QtreeCapacityLimitGb" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_qtree_capacity_limit_gb">Qtree Capacity Limit (GB)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="QtreeCapacityUsedGb" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_qtree_capacity_used_gb">Qtree Capacity Used (GB)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="QtreeCapacityPercentUsed" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_qtree_capacity_percent_used">Qtree Capacity Used (%)</Label>
        </Display>
      </ColumnDescriptor>
    </TableDescriptor>
    <ExecutionDescriptor>
      <GetTable NAME="FileSystems"/>
      <GetView NAME="Volumes_View" FROM_TABLE="FileSystems">
        <Column NAME="VolumeTotalGb"/>
        <Column NAME="VolumeUsedGb"/>
        <Column NAME="VolumeTypeString"/>
        <Column NAME="VolumeFilesAvailable"/>
         <Filter COLUMN_NAME="VolumeFilesAvailable" OPERATOR="NE">0</Filter>
         <Filter COLUMN_NAME="VolumeTypeString" OPERATOR="CONTAINS">Aggregate</Filter>

        
      </GetView>
      <GroupBy NAME="Volume_Capacity" FROM_TABLE="Volumes_View">
        <AggregateColumn NAME="AggregateCapacityTotalGb"
                         COLUMN_NAME="VolumeTotalGb"
                         OPERATOR="SUM"/>
        <AggregateColumn NAME="AggregateCapacityAllocatedGb"
                         COLUMN_NAME="VolumeUsedGb"
                         OPERATOR="SUM"/>
        <ComputeColumn   NAME="AggregateCapacityPercentAllocated" 
                         EXPR="(AggregateCapacityTotalGb != 0) ? 100.0*(AggregateCapacityAllocatedGb/AggregateCapacityTotalGb) : 0"/>
      </GroupBy>      
      
      <!--GetTable NAME="FileSystems"/-->
      <GetView NAME="Flexible_View" FROM_TABLE="FileSystems">
        <Column NAME="VolumeTotalGb"/>
        <Column NAME="VolumeUsedGb"/>
        <Column NAME="VolumeTypeString"/>
        <Column NAME="VolumeFilesAvailable"/>
        <Filter COLUMN_NAME="VolumeFilesAvailable" OPERATOR="NE">0</Filter>
        <Filter COLUMN_NAME="VolumeTypeString" OPERATOR="CONTAINS">Flexible</Filter>
        
      </GetView>
      <GroupBy NAME="Flexible_Capacity" FROM_TABLE="Flexible_View">
        <AggregateColumn NAME="FlexibleVolumeCapacityTotalGb"
                         COLUMN_NAME="VolumeTotalGb"
                         OPERATOR="SUM"/>
        <AggregateColumn NAME="FlexibleVolumeCapacityUsedGb"
                         COLUMN_NAME="VolumeUsedGb"
                         OPERATOR="SUM"/>
        <ComputeColumn   NAME="FlexibleVolumeCapacityPercentUsed" 
                         EXPR="(FlexibleVolumeCapacityTotalGb != 0) ? 100.0*(FlexibleVolumeCapacityUsedGb/FlexibleVolumeCapacityTotalGb) : 0"/>
      </GroupBy>      
      
      
      <!--GetTable NAME="FileSystems"/-->
      <GetView NAME="Traditional_View" FROM_TABLE="FileSystems">
        <Column NAME="VolumeTotalGb"/>
        <Column NAME="VolumeUsedGb"/>
        <Column NAME="VolumeTypeString"/>
        <Column NAME="VolumeFilesAvailable"/>
        <Filter COLUMN_NAME="VolumeFilesAvailable" OPERATOR="NE">0</Filter>
        <Filter COLUMN_NAME="VolumeTypeString" OPERATOR="CONTAINS">Traditional</Filter>
        
      </GetView>
      <GroupBy NAME="Traditional_Capacity" FROM_TABLE="Traditional_View">
        <AggregateColumn NAME="VolumeCapacityTotalGb"
                         COLUMN_NAME="VolumeTotalGb"
                         OPERATOR="SUM"/>
        <AggregateColumn NAME="VolumeCapacityUsedGb"
                         COLUMN_NAME="VolumeUsedGb"
                         OPERATOR="SUM"/>
        <ComputeColumn   NAME="VolumeCapacityPercentUsed" 
                         EXPR="(VolumeCapacityTotalGb != 0) ? 100.0*(VolumeCapacityUsedGb/VolumeCapacityTotalGb) : 0"/>
      </GroupBy>
      
      
      <GetTable NAME="Qtrees"/>
      <GetView NAME="Qtrees_View" FROM_TABLE="Qtrees">
        <Column NAME="QtreeTotalGb"/>
        <Column NAME="QtreeUsedGb"/>
        <Column NAME="QuotaType"/>
      </GetView>
      <GroupBy NAME="Qtree_Capacity" FROM_TABLE="Qtrees_View">
        <AggregateColumn NAME="QtreeCapacityLimitGb"
                         COLUMN_NAME="QtreeTotalGb"
                         OPERATOR="SUM"/>
        <AggregateColumn NAME="QtreeCapacityUsedGb"
                         COLUMN_NAME="QtreeUsedGb"
                         OPERATOR="SUM"/>
        <ComputeColumn   NAME="QtreeCapacityPercentUsed"
                         EXPR="(QtreeCapacityLimitGb != 0) ? 100.0*(QtreeCapacityUsedGb/QtreeCapacityLimitGb) : 0"/>
      </GroupBy>
      <JoinTables NAME="Filer_Capacity" OUTER="TRUE">
        <Table NAME="Volume_Capacity"/>
        <Table NAME="Flexible_Capacity"/>
        <Table NAME="Traditional_Capacity"/>        
        <Table NAME="Qtree_Capacity"/>
      </JoinTables>
    </ExecutionDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->

  <Metric NAME="VolumeAllocation" TYPE="TABLE">
    <Display>
      <Label NLSID="netapp_filer_volume_allocation">Volume Allocation</Label>
    </Display>
    <TableDescriptor>
      <ColumnDescriptor NAME="Volume" TYPE="STRING" IS_KEY="TRUE">
        <Display>
          <Label NLSID="netapp_filer_volume">Volume</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumeTypeString" TYPE="STRING">
        <Display>
          <Label NLSID="netapp_filer_volume_type_string">Volume Type</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumeTotalGb" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_volume_total_gb">Total (GB)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumeAllocGb" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_volume_alloc_gb">Allocated (GB)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumeUnallocGb" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_volume_unalloc_gb">Unallocated (GB)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="VolumePercentAllocated" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_volume_percent_allocated">Volume Allocated (%)</Label>
        </Display>
      </ColumnDescriptor>
    </TableDescriptor>
    <ExecutionDescriptor>
      <GetTable NAME="FileSystems"/>
      <GetView NAME="FileSystems_View" FROM_TABLE="FileSystems">
        <Column NAME="Volume"/>
        <Column NAME="VolumeTypeString"/>
        <Column NAME="VolumeTotalGb" COLUMN_NAME="VolumeTotalGb"/>
        <Column NAME="VolumeFilesUsed"/>
        <Column NAME="VolumeFilesAvailable"/>
        <Column NAME="VolumeTypeNum"/>
        <Filter COLUMN_NAME="VolumeFilesAvailable" OPERATOR="NE">0</Filter>
        <Filter COLUMN_NAME="VolumeTypeNum" OPERATOR="NE">3</Filter>
      </GetView>
      <GetView NAME="FileSystemsAgg_View" FROM_TABLE="FileSystems">
        <Column NAME="Volume" /> 
        <Column NAME="VolumeTypeString" />
        <Column NAME="VolumeTotalGb" />
        <Column NAME="VolumeAllocGb" COLUMN_NAME="VolumeUsedGb"/>
        <Column NAME="VolumeUnallocGb" COLUMN_NAME="VolumeAvailGb"/>
        <ComputeColumn NAME="VolumePercentAllocated"
                       EXPR="(VolumeTotalGb != 0) ? 100.0*(VolumeAllocGb/VolumeTotalGb) : 0"/>
        <Column NAME="VolumeFilesAvailable"/>       
        <Filter COLUMN_NAME="VolumeTypeString" OPERATOR="CONTAINS">Aggregate</Filter>
        <Filter COLUMN_NAME="VolumeFilesAvailable" OPERATOR="NE">0</Filter>
      </GetView>
        
      <GetTable NAME="Qtrees"/>
      <GetView NAME="Qtrees_View" FROM_TABLE="Qtrees">
        <Column NAME="Qtrees_PathName" COLUMN_NAME="PathName"/>
        <Column NAME="QtreeTotalGb"/>
      </GetView>
      <JoinTables NAME="Qtrees_Volumes_View">
        <Table NAME="Qtrees_View"/>
        <Table NAME="FileSystems_View"/>
        <Column NAME="Qtrees_Volumes_Volume" COLUMN_NAME="Volume" TABLE_NAME="FileSystems_View"/>
        <Column NAME="Qtrees_Volumes_VolumeTypeString" COLUMN_NAME="VolumeTypeString" TABLE_NAME="FileSystems_View"/>
        <Column NAME="Qtrees_Volumes_VolumeTotalGb" COLUMN_NAME="VolumeTotalGb" TABLE_NAME="FileSystems_View"/>
        <Column NAME="Qtrees_Volumes_QtreeTotalGb" COLUMN_NAME="QtreeTotalGb" TABLE_NAME="Qtrees_View"/>
        <Where FROM_TABLE="Qtrees_View" 
               FROM_KEY="Qtrees_PathName" 
               OPERATOR="CONTAINS"
               JOIN_TABLE="FileSystems_View" 
               JOIN_KEY="Volume"/>
      </JoinTables>
      <GroupBy NAME="Qtree_Allocation" FROM_TABLE="Qtrees_Volumes_View">
        <By NAME="Qtrees_Volumes_Volume"/>
        <AggregateColumn NAME="VolumeAllocGb"
                         COLUMN_NAME="Qtrees_Volumes_QtreeTotalGb"
                         OPERATOR="SUM"/>
      </GroupBy>
      <JoinTables NAME="VolumeAllocation" OUTER="TRUE">
        <Table NAME="FileSystems_View"/>
        <Table NAME="Qtree_Allocation"/>
        
        <Column NAME="Volume" COLUMN_NAME="Volume" TABLE_NAME="FileSystems_View"/>
        <Column NAME="VolumeTypeString" COLUMN_NAME="VolumeTypeString" TABLE_NAME="FileSystems_View"/>
        <Column NAME="VolumeTotalGb" COLUMN_NAME="VolumeTotalGb" TABLE_NAME="FileSystems_View"/>
        <Column NAME="VolumeAllocGb" COLUMN_NAME="VolumeAllocGb" TABLE_NAME="Qtree_Allocation"/>
        <ComputeColumn NAME="VolumeUnallocGb"
                       EXPR="(VolumeTotalGb-VolumeAllocGb)"/>
        <ComputeColumn NAME="VolumePercentAllocated"
                       EXPR="(VolumeTotalGb != 0) ? 100.0*(VolumeAllocGb/VolumeTotalGb) : 0"/>
         <Column NAME="VolumeFilesAvailable" COLUMN_NAME="VolumeFilesAvailable" TABLE_NAME="FileSystems_View"/>
        <Where FROM_TABLE="FileSystems_View" 
               FROM_KEY="Volume" 
               OPERATOR="CONTAINS"
               JOIN_TABLE="Qtree_Allocation" 
               JOIN_KEY="Qtrees_Volumes_Volume"/>       
      </JoinTables>
      <Union NAME="all_volumes_allocated">
        <Table NAME="FileSystemsAgg_View" />
        <Table NAME="VolumeAllocation" />
      </Union>      
    </ExecutionDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->

  <Metric NAME="SnapMirrorLoad" TYPE="TABLE">
    <ValidIf>
      <CategoryProp NAME="IsSnapLicensed" CHOICES="2"/>
    </ValidIf>
    <Display>
      <Label NLSID="netapp_filer_snap_mirror_load">SnapMirror Load</Label>
    </Display>
    <TableDescriptor>
      <ColumnDescriptor NAME="SMReadMbytesRaw" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
         <Label NLSID="netapp_filer_sm_read_mbytes_raw">SnapMirror Read Raw (Mbytes)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="SMWrittenMbytesRaw" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
         <Label NLSID="netapp_filer_sm_written_mbytes_raw">SnapMirror Written Raw (Mbytes)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="SMReadRate" TYPE="NUMBER"  COMPUTE_EXPR="(SMReadMbytesRaw >= _SMReadMbytesRaw) ? 1024*(SMReadMbytesRaw-_SMReadMbytesRaw)/__interval:1024*(4294967295+SMReadMbytesRaw-_SMReadMbytesRaw)/__interval">
        <Display>
         <Label NLSID="netapp_filer_sm_read_rate">SnapMirror Read Rate (Kbytes/second)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="SMWriteRate" TYPE="NUMBER"  COMPUTE_EXPR="(SMWrittenMbytesRaw >= _SMWrittenMbytesRaw) ? 1024*(SMWrittenMbytesRaw-_SMWrittenMbytesRaw)/__interval:1024*(4294967295+SMWrittenMbytesRaw-_SMWrittenMbytesRaw)/__interval">
        <Display>
         <Label NLSID="netapp_filer_sm_write_rate">SnapMirror Write Rate (Kbytes/second)</Label>
        </Display>
      </ColumnDescriptor>
    </TableDescriptor>
    <QueryDescriptor FETCHLET_ID="Snmp">
      <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
      <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
      <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
      <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
      <Property NAME="TABLE"    SCOPE="GLOBAL">FALSE</Property>
      <Property NAME="OIDS"     SCOPE="GLOBAL">1.3.6.1.4.1.789.1.9.11.0
                                               1.3.6.1.4.1.789.1.9.10.0
      </Property>
    </QueryDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->

  <Metric NAME="SnapMirror" TYPE="TABLE">
    <ValidIf>
      <CategoryProp NAME="IsSnapLicensed" CHOICES="2"/>
    </ValidIf>
    <Display>
      <Label NLSID="netapp_filer_snap_mirror">SnapMirror</Label>
    </Display>
    <TableDescriptor>
      <ColumnDescriptor NAME="SMStatusIndex" TYPE="NUMBER" IS_KEY="TRUE">
        <Display>
         <Label NLSID="netapp_filer_sm_status_index">Index</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="SMSource" TYPE="STRING" IS_KEY="TRUE">
        <Display>
         <Label NLSID="netapp_filer_sm_source">Source</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="SMDestination" TYPE="STRING" IS_KEY="TRUE">
        <Display>
         <Label NLSID="netapp_filer_sm_destination">Destination</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="SMStatus" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_sm_status">Status</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="SMState" TYPE="NUMBER">
        <Display>
         <Label NLSID="netapp_filer_sm_state">State</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="SMTimeLagRaw" TYPE="NUMBER"  TRANSIENT="TRUE">
        <Display>
         <Label NLSID="netapp_filer_sm_time_lag_raw">Time Lag Raw (hundredths of a second)</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="SMTimeLag" TYPE="NUMBER"  COMPUTE_EXPR="((SMTimeLagRaw/100.0)/60.0)">
        <Display>
         <Label NLSID="netapp_filer_sm_time_lag">SnapMirror Time Lag (Min)</Label>
        </Display>
      </ColumnDescriptor>
    </TableDescriptor>
    <QueryDescriptor FETCHLET_ID="Snmp">
      <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
      <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
      <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
      <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
      <Property NAME="TABLE"    SCOPE="GLOBAL">TRUE</Property>
      <Property NAME="OIDS"     SCOPE="GLOBAL">1.3.6.1.4.1.789.1.9.20.1.1
                                               1.3.6.1.4.1.789.1.9.20.1.2
                                               1.3.6.1.4.1.789.1.9.20.1.3
                                               1.3.6.1.4.1.789.1.9.20.1.4
                                               1.3.6.1.4.1.789.1.9.20.1.5
                                               1.3.6.1.4.1.789.1.9.20.1.6
      </Property>
    </QueryDescriptor>
  </Metric>

<!-- ***************************************************************************
********* -->

  <Metric NAME="SystemLoad" TYPE="TABLE">
    <Display>
      <Label NLSID="netapp_filer_system_load">System Load</Label>
    </Display>
    <TableDescriptor>
      <ColumnDescriptor NAME="TotalNetworkRecdBytesHi32" TYPE="NUMBER" TRANSIENT="TRUE">
        <Display>
         <Label NLSID="netapp_filer_total_network_recd_bytes_hi32">Total Network Received Bytes Hi32</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="TotalNetworkRecdBytesLo32" TYPE="NUMBER" TRANSIENT="TRUE">
        <Display>
         <Label NLSID="netapp_filer_total_network_recd_bytes_lo32">Total Network Received Bytes Lo32</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="TotalNetworkSentBytesHi32" TYPE="NUMBER" TRANSIENT="TRUE">
        <Display>
         <Label NLSID="netapp_filer_total_network_sent_bytes_hi32">Total Network Sent Bytes Hi32</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="TotalNetworkSentBytesLo32" TYPE="NUMBER" TRANSIENT="TRUE">
        <Display>
         <Label NLSID="netapp_filer_total_network_sent_bytes_lo32">Total Network Sent Bytes Lo32</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="TotalDiskReadBytesHi32" TYPE="NUMBER" TRANSIENT="TRUE">
        <Display>
         <Label NLSID="netapp_filer_total_disk_read_bytes_hi32">Total Disk Read Bytes Hi32</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="TotalDiskReadBytesLo32" TYPE="NUMBER" TRANSIENT="TRUE">
        <Display>
         <Label NLSID="netapp_filer_total_disk_read_bytes_lo32">Total Disk Read Bytes Lo32</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="TotalDiskWrittenBytesHi32" TYPE="NUMBER" TRANSIENT="TRUE">
        <Display>
         <Label NLSID="netapp_filer_total_disk_written_bytes_hi32">Total Disk Written Bytes Hi32</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="TotalDiskWrittenBytesLo32" TYPE="NUMBER" TRANSIENT="TRUE">
        <Display>
         <Label NLSID="netapp_filer_total_disk_written_bytes_lo32">Total Disk Written Bytes Lo32</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="CacheAge" TYPE="NUMBER" IS_KEY="FALSE">
        <Display FOR_SUMMARY_UI="TRUE">
         <Label NLSID="netapp_filer_cache_age">Cache Age (Minutes)</Label>
         <ShortName NLSID="netapp_filer_cache_age_short">Cache Age (Minutes)</ShortName>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="HttpOpsHi32" TYPE="NUMBER" TRANSIENT="TRUE">
        <Display>
         <Label NLSID="netapp_filer_http_ops_hi32">Http Ops Received Hi32</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="HttpOpsLo32" TYPE="NUMBER" TRANSIENT="TRUE">
        <Display>
         <Label NLSID="netapp_filer_http_ops_lo32">Http Ops Received Lo32</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="TotalNetworkRecdBytes" TYPE="NUMBER" TRANSIENT="TRUE" COMPUTE_EXPR="((TotalNetworkRecdBytesHi32 * 4294967296) + TotalNetworkRecdBytesLo32)">
        <Display>
         <Label NLSID="netapp_filer_total_network_recd_bytes">Total Network Received Bytes</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="TotalNetworkRecdRate" TYPE="NUMBER" COMPUTE_EXPR="(TotalNetworkRecdBytes >= _TotalNetworkRecdBytes) ? ((TotalNetworkRecdBytes - _TotalNetworkRecdBytes)/(__interval*1024.0)) : _TotalNetworkRecdRate">
        <Display FOR_SUMMARY_UI="TRUE">
         <Label NLSID="netapp_filer_total_network_recd_rate">Total Network Received Rate (KBytes/second)</Label>
         <ShortName NLSID="netapp_filer_total_network_recd_rate_short">Total Network Received Rate (KBytes/second)</ShortName>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="TotalNetworkSentBytes" TYPE="NUMBER" TRANSIENT="TRUE" COMPUTE_EXPR="((TotalNetworkSentBytesHi32 * 4294967296) + TotalNetworkSentBytesLo32)">
        <Display>
         <Label NLSID="netapp_filer_total_network_sent_bytes">Total Network Sent Bytes</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="TotalNetworkSentRate" TYPE="NUMBER" COMPUTE_EXPR="(TotalNetworkSentBytes >= _TotalNetworkSentBytes) ? ((TotalNetworkSentBytes - _TotalNetworkSentBytes)/(__interval*1024.0)) : _TotalNetworkSentRate">
        <Display FOR_SUMMARY_UI="TRUE">
         <Label NLSID="netapp_filer_total_network_sent_rate">Total Network Sent Rate (KBytes/second)</Label>
         <ShortName NLSID="netapp_filer_total_network_sent_rate_short">Total Network Sent Rate (KBytes/second)</ShortName>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="TotalNetworkIORate" TYPE="NUMBER" COMPUTE_EXPR="(TotalNetworkRecdRate+TotalNetworkSentRate)">
        <Display FOR_SUMMARY_UI="TRUE">
         <Label NLSID="netapp_filer_total_network_io_rate">Total Network I/O Rate (KBytes/second)</Label>
         <ShortName NLSID="netapp_filer_total_network_io_rate_short">Total Network I/O Rate (KBytes/second)</ShortName>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="TotalDiskReadBytes" TYPE="NUMBER" TRANSIENT="TRUE" COMPUTE_EXPR="((TotalDiskReadBytesHi32 * 4294967296) + TotalDiskReadBytesLo32)">
        <Display>
         <Label NLSID="netapp_filer_total_disk_read_bytes">Total Disk Read Bytes</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="TotalDiskReadRate" TYPE="NUMBER" COMPUTE_EXPR="(TotalDiskReadBytes >= _TotalDiskReadBytes) ? ((TotalDiskReadBytes - _TotalDiskReadBytes)/(__interval*1024.0)) : _TotalDiskReadRate">
        <Display FOR_SUMMARY_UI="TRUE">
         <Label NLSID="netapp_filer_total_disk_read_rate">Total Disk Read Rate (KBytes/second)</Label>
         <ShortName NLSID="netapp_filer_total_disk_read_rate_short">Total Disk Read Rate (KBytes/second)</ShortName>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="TotalDiskWrittenBytes" TYPE="NUMBER" TRANSIENT="TRUE" COMPUTE_EXPR="((TotalDiskWrittenBytesHi32 * 4294967296) + TotalDiskWrittenBytesLo32)">
        <Display>
         <Label NLSID="netapp_filer_total_disk_written_bytes">Total Disk Written Bytes</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="TotalDiskWrittenRate" TYPE="NUMBER" COMPUTE_EXPR="(TotalDiskWrittenBytes >= _TotalDiskWrittenBytes) ? ((TotalDiskWrittenBytes - _TotalDiskWrittenBytes)/(__interval*1024.0)) : _TotalDiskWrittenRate">
        <Display FOR_SUMMARY_UI="TRUE">
         <Label NLSID="netapp_filer_total_disk_written_rate">Total Disk Written Rate (KBytes/second)</Label>
         <ShortName NLSID="netapp_filer_total_disk_written_rate_short">Total Disk Written Rate (KBytes/second)</ShortName>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="TotalDiskIORate" TYPE="NUMBER" COMPUTE_EXPR="(TotalDiskReadRate+TotalDiskWrittenRate)">
        <Display FOR_SUMMARY_UI="TRUE">
         <Label NLSID="netapp_filer_total_disk_io_rate">Total Disk I/O Rate (KBytes/second)</Label>
         <ShortName NLSID="netapp_filer_total_disk_io_rate_short">Total Disk I/O Rate (KBytes/second)</ShortName>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="TotalHttpOpsReceived" TYPE="NUMBER" TRANSIENT="TRUE" COMPUTE_EXPR="((HttpOpsHi32 * 4294967296) + HttpOpsLo32)">
        <Display>
         <Label NLSID="netapp_filer_total_http_ops_received">Total Http Ops Received</Label>
        </Display>
      </ColumnDescriptor>
      <ColumnDescriptor NAME="TotalHttpOpsReceivedRate" TYPE="NUMBER" COMPUTE_EXPR="(TotalHttpOpsReceived >= _TotalHttpOpsReceived) ? ((TotalHttpOpsReceived - _TotalHttpOpsReceived)/(__interval*1024.0)) : _TotalHttpOpsReceivedRate">
        <Display FOR_SUMMARY_UI="TRUE">
         <Label NLSID="netapp_filer_total_http_ops_recd_rate">Total Http Operations Received Rate (Ops/second)</Label>
        </Display>
      </ColumnDescriptor>
    </TableDescriptor>
    <QueryDescriptor FETCHLET_ID="Snmp">
      <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
      <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
      <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
      <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
      <Property NAME="TABLE"    SCOPE="GLOBAL">FALSE</Property>
      <Property NAME="OIDS"     SCOPE="GLOBAL">1.3.6.1.4.1.789.1.2.2.11.0
                                               1.3.6.1.4.1.789.1.2.2.12.0
                                               1.3.6.1.4.1.789.1.2.2.13.0
                                               1.3.6.1.4.1.789.1.2.2.14.0  
                                               1.3.6.1.4.1.789.1.2.2.15.0
                                               1.3.6.1.4.1.789.1.2.2.16.0
                                               1.3.6.1.4.1.789.1.2.2.17.0
                                               1.3.6.1.4.1.789.1.2.2.18.0
                                               1.3.6.1.4.1.789.1.2.2.23.0
                                               1.3.6.1.4.1.789.1.2.2.9.0
                                               1.3.6.1.4.1.789.1.2.2.10.0
      </Property>
    </QueryDescriptor>
  </Metric>


   <InstanceProperties>

   <DynamicProperties NAME="ClusterConfig" FORMAT="ROW"
                       PROP_LIST="IsClusterEnabled">
     <QueryDescriptor FETCHLET_ID="Snmp">
       <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
       <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
       <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
       <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
       <Property NAME="TABLE"    SCOPE="GLOBAL">FALSE</Property>
       <Property NAME="OIDS"     SCOPE="GLOBAL">1.3.6.1.4.1.789.1.2.3.1.0</Property>
     </QueryDescriptor>
   </DynamicProperties>
   
   <DynamicProperties NAME="VersionConfig" FORMAT="ROW" 
                      PROP_LIST="Filer_Version">
    <ExecutionDescriptor>
       <GetTable NAME="Product"/>
       <GetView NAME="Config" FROM_TABLE="Product">     
          <Column NAME="prodVersionBucket"/>
        </GetView>
     </ExecutionDescriptor>
   </DynamicProperties>

   <DynamicProperties NAME="SnapMirrorConfig" FORMAT="ROW"
                       PROP_LIST="IsSnapLicensed">
     <QueryDescriptor FETCHLET_ID="Snmp">
       <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
       <Property NAME="hostname" SCOPE="INSTANCE">AgentHost</Property>
       <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
       <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
       <Property NAME="TABLE"    SCOPE="GLOBAL">FALSE</Property>
       <Property NAME="OIDS"     SCOPE="GLOBAL">1.3.6.1.4.1.789.1.9.19.0</Property>
     </QueryDescriptor>
   </DynamicProperties>

    <InstanceProperty NAME="AgentHost" CREDENTIAL="FALSE" OPTIONAL="FALSE">
      <Display>
        <Label NLSID="netapp_filer_agent_host">Hostname or IP Address</Label>
      </Display>
    </InstanceProperty>
    <InstanceProperty NAME="CommunityString" CREDENTIAL="TRUE" OPTIONAL="TRUE">
      <Display>
        <Label NLSID="netapp_filer_community_string">SNMP Read Community String (Default: public)</Label>
      </Display>
      public
    </InstanceProperty>
    <InstanceProperty NAME="Timeout" CREDENTIAL="FALSE" OPTIONAL="TRUE">
      <Display>
        <Label NLSID="netapp_filer_timeout">SNMP Timeout (Default: 5 seconds)</Label>
      </Display>
      5
    </InstanceProperty>
  </InstanceProperties>

</TargetMetadata>

<!--
  Copy this block into your targets.xml and replace values for strings with
  %% to get a target instance. For rate calculations to work , collections
  need to be set up. For the collected values to get uploaded, the property
  TRANSIENT=TRUE should be removed and collections need to be setup. 
  Currently, for some of the collectors above, TRANSIENT is set to TRUE.

  <Target TYPE="netapp_filer" NAME="%NAME%" VERSION="1.0">
  <Property NAME="AgentHost" VALUE="%Hostname or IP Address%"/>
  <Property NAME="CommunityString" CREDENTIAL="TRUE" VALUE="%SNMP Community String%"/>
  <Property NAME="Timeout" VALUE="%SNMP Timeout%"/>
  </Target>
-->
