<?xml version="1.0" ?>
<!--
# Filename : oracle_cell.xml
# 
# Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved. 
#
#    NAME
#      oracle_cell.xml - Metadata file for Oracle DBControl 11.2.
#
#    DESCRIPTION
#      Describe the metrics and collection methods for Oracle Cell plug-in.
#
#    NOTES
#
#    MODIFIED   (MM/DD/YY)
#         ystein 04/12/11 - Created DynamicProperties, added 3 formats SNMP
#         ystein 03/01/11 - Added cell upper/lower temperature threshold. 
#                         - added diskType, corrected OPTIONAL attribute for MgmtIPAddr2.
#       spalapud 12/11/09 - change TestVersion metric collection script to call
#                           oracle_cell_test.pl
#       spalapud 12/10/09 - add cl_memut metric
#       spalapud 11/23/09 - add flashcache metric
#       spalapud 11/04/09 - Merge all the metrics into one metric
#       spalapud 11/04/09 - add filesystem metric
#       spalapud 11/04/09 - add filesystem metrics
#       spalapud 07/22/09 - bump up the meta_version number to 1.2
#       ysun     05/05/09 - remove resource bundle
#       spalapud 03/25/09 - add michelle's change for resource bundle
#       spalapud 03/23/09 - remove colon and change drop_time to dropped_time
#       spalapud 03/11/09 - remove username/pwd
#       spalapud 03/05/09 - Add SeverityCode line to the 1st push descriptor.
#       spalapud 03/04/09 - remove BMC Configured
#       spalapud 02/26/09 - Change Severity Code to make stateful alerts
#                           possible
#       spalapud 01/30/09 - change KeySeqOID to KeyseqidOID for multiple alerts
#                           to work
#       spalapud 09/16/08 - remove obsolete columns
#       spalapud 09/12/08 - add host_interconnect_metrics
#       spalapud 09/12/08 - change Exadata Cell to Exadata Server and also
#                           HostCreds to StorageHostCreds
#       spalapud 09/08/08 - change captions for chart metrics
#       spalapud 09/03/08 - add iormboost metric
#       spalapud 08/29/08 - change OSS version to Cell Server Version
#       spalapud 08/29/08 - change celldisk script name to include cell
#       spalapud 07/15/08 - add offload metric and change dbuser,asm to
#                           availableto
#       loliu    06/20/08 - Bug 7191165, 7157542, 7191050: fixed IORM metrics
#       loliu    06/18/08 - Bug 7175163: fixed reads, writes, and # requests in
#                           Cell_Summary_Statistics
#       loliu    06/18/08 - Bug 7172844: added offload efficiency to cell
#                           configuration metadata and report
#       spalapud 05/23/08 - incorporate the ossTimestamp and iormTimestamp and
#                           make some metrics transient
#       spalapud 05/16/08 - change time to timestamp. missed a few the last
#                           time.
#       spalapud 05/08/08 - Change collection time to timestamp
#       spalapud 05/01/08 - remove duplicate metrichistorydays column
#       spalapud 04/28/08 - change read_request_requests to read_requests
#       spalapud 04/17/08 - Add Metrics for Database to separate LG and Small
#                           IOs
#       spalapud 04/14/08 - Fix Cell bugs for categories
#       spalapud 04/03/08 - Fix Category Metric to remove unneccesary fields
#       spalapud 03/21/08 - add griddisk metrics
#    spalapud 10/07/08 	Created the file.
-->

<!DOCTYPE TargetMetadata SYSTEM "../dtds/TargetMetadata.dtd">
<TargetMetadata META_VER="1.4" TYPE="oracle_cell" CATEGORY_PROPERTIES="VersionCategory">

<Display>
  <Label NLSID="oracle_cell">Oracle Exadata Storage Server</Label>
</Display>
 
<MonitoringMode MEDIATOR="OMSMediated" CLUSTERDESCRIPTOR="">
</MonitoringMode>

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

   <Metric NAME="Response" TYPE="TABLE">
     <Display>
       <Label NLSID="oracle_cell_resp">Response</Label>
     </Display>
     <TableDescriptor>
       <ColumnDescriptor NAME="Status" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cell_resp_status">Response 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="cell_ip_addr1" SCOPE="INSTANCE">MgmtIPAddr1</Property>
       <Property NAME="cell_ip_addr2" SCOPE="INSTANCE" OPTIONAL="TRUE">MgmtIPAddr2</Property>
       <Property NAME="command" SCOPE="GLOBAL">%perlBin%/perl %scriptsDir%/emx/oracle_cell/oracle_cell_resp.pl %cell_ip_addr1% %cell_ip_addr2% </Property>
       <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property>
       <Property NAME="delimiter" SCOPE="GLOBAL">|</Property>
     </QueryDescriptor>
   </Metric>

<!-- ********************* Test Metric ************************************* -->
 <!-- 
**********************************************************************
       This metric is only retrieved when user hits "Test Connection" 
button
       on "Monitoring Configuration" page.  It has hardcoded version in 
command.
       
**********************************************************************-->
     <Metric NAME="TestVersion" IS_TEST_METRIC="TRUE" TYPE="TABLE" 
USAGE_TYPE="HIDDEN">
    <TableDescriptor>
      <ColumnDescriptor NAME="Version" TYPE="STRING" IS_KEY="FALSE" />
    </TableDescriptor>
     <QueryDescriptor FETCHLET_ID="OSLineToken">
       <Property NAME="perlBin" SCOPE="SYSTEMGLOBAL">perlBin</Property>
       <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property>
       <Property NAME="cell_ip_addr1" SCOPE="INSTANCE">MgmtIPAddr1</Property>
       <Property NAME="cell_ip_addr2" SCOPE="INSTANCE" OPTIONAL="TRUE">MgmtIPAddr2</Property>
       <Property NAME="command" SCOPE="GLOBAL">%perlBin%/perl %scriptsDir%/emx/oracle_cell/oracle_cell_resp.pl -test %cell_ip_addr1% %cell_ip_addr2%   </Property>
       <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property>
       <Property NAME="delimiter" SCOPE="GLOBAL">|</Property>
    </QueryDescriptor>
  </Metric>

<!-- ********************* CELL Configuration (Derived from oracle_cell_config)************************************* -->
  <Metric NAME="CELL_CONFIG" TYPE="RAW" CONFIG="TRUE">
     <Display>
       <Label NLSID="cell_config">Cell  Configuration</Label>
     </Display>
     <TableDescriptor TABLE_NAME="MGMT_EMX_CELL_C_CONFIG">
       <ColumnDescriptor NAME="name" COLUMN_NAME="name" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_name">Cell Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="status" COLUMN_NAME="status" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cell_status">Cell Status</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="realmname" COLUMN_NAME="realmname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_realm_name">Realm Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="id" COLUMN_NAME="id" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cell_id">Id</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="makemodel" COLUMN_NAME="makemodel" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cell_makemodel">Make Model</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="location" COLUMN_NAME="location" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cell_location">Location</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="bmctype" COLUMN_NAME="bmctype" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cell_bmc_type">BMC Type</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="ipblock" COLUMN_NAME="ipblock" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cell_ip_block">IP Block</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="fancount" COLUMN_NAME="fancount" TYPE="NUMBER">
         <Display>
           <Label NLSID="oracle_cell_fan_count">Fan Count</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="powercount" COLUMN_NAME="powercount" TYPE="NUMBER">
         <Display>
           <Label NLSID="oracle_cell_power_count">Power Count </Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="metrichistorydays" COLUMN_NAME="metrichistorydays" TYPE="NUMBER">
         <Display>
           <Label NLSID="oracle_cell_metric_historydays">Metric Retention</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="snmpsubscriber" COLUMN_NAME="snmpsubscriber" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cell_snmp_subscriber">SNMP Subscriber</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="smtpserver" COLUMN_NAME="smtpserver" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cell_smtp_server">SMTP Server</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="smtpport" COLUMN_NAME="smtpport" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cell_smtp_port">SMTP Port</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="ipaddress1" COLUMN_NAME="ipaddress1" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cell_ip_address1">IP Address 1</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="ipaddress2" COLUMN_NAME="ipaddress2" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cell_ip_address2">IP Address 2</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="ipaddress3" COLUMN_NAME="ipaddress3" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cell_ip_address3">IP Address 3</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="ipaddress4" COLUMN_NAME="ipaddress4" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cell_ip_address4">IP Address 4</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="kernelversion" COLUMN_NAME="kernelversion" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cell_kernel_version">Kernel Version</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="ossversion" COLUMN_NAME="ossversion" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cell_oss_version">OSS Version</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="interconnectcount" COLUMN_NAME="interconnectcount" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cell_interconnect_count">Interconnect Count</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="cpucount" COLUMN_NAME="cpucount" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cell_cpu_count">CPU Count</Label>
         </Display>
       </ColumnDescriptor>
     </TableDescriptor>
     <QueryDescriptor FETCHLET_ID="OSLineToken">
       <Property NAME="perlBin" SCOPE="SYSTEMGLOBAL">perlBin</Property>
       <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property>
       <Property NAME="cell_ip_addr1" SCOPE="INSTANCE">MgmtIPAddr1</Property>
       <Property NAME="cell_ip_addr2" SCOPE="INSTANCE" OPTIONAL="TRUE">MgmtIPAddr2</Property>
       <Property NAME="command" SCOPE="GLOBAL">%perlBin%/perl %scriptsDir%/emx/oracle_cell/oracle_cell_config.pl  %cell_ip_addr1% %cell_ip_addr2%   </Property>
       <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property>
       <Property NAME="delimiter" SCOPE="GLOBAL">|</Property>
     </QueryDescriptor>
   </Metric>


<!-- ********************* Oracle CELL GRID DISK Configuration ************************************* -->
  <Metric NAME="CELL_GRIDDISK_CONFIG" TYPE="RAW" CONFIG="TRUE">
     <Display>
       <Label NLSID="cell_griddisk_config">CELL Grid Disk Configuration</Label>
     </Display>
     <TableDescriptor TABLE_NAME="MGMT_EMX_CELL_GD_CONFIG">
       <ColumnDescriptor NAME="name" COLUMN_NAME="name" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_name">Griddisk Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="cellname" COLUMN_NAME="cellname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_griddisk_cellname">Cell Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="realmname" COLUMN_NAME="realmname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
          <Label NLSID="oracle_cell_griddisk_realmname">Realm Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="status" COLUMN_NAME="status" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_griddisk_status">Griddisk Status</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="gdsize" COLUMN_NAME="gdsize" TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_griddisk_size">Size (MB)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="creationtime" COLUMN_NAME="creationtime" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_griddisk_creationtime">Creation Time</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="celldisk" COLUMN_NAME="celldisk" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_griddisk_celldisk">Cell Disk</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="offset" COLUMN_NAME="offset" TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_griddisk_offset"> Lowest Offset</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="errorcount" COLUMN_NAME="errorcount" TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_griddisk_errorcount">Error Count</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="availableto" COLUMN_NAME="availableto" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_griddisk_availableto">Available To</Label>
         </Display>
       </ColumnDescriptor>
<!-- ***********
       <ColumnDescriptor NAME="asmname" COLUMN_NAME="asmname" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_griddisk_asmname">ASM Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="dbclient" COLUMN_NAME="dbclient" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_griddisk_dbclient">DB Client</Label>
         </Display>
       </ColumnDescriptor>
***** -->
     </TableDescriptor>
     <QueryDescriptor FETCHLET_ID="OSLineToken">
       <Property NAME="perlBin" SCOPE="SYSTEMGLOBAL">perlBin</Property>
       <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property>
       <Property NAME="cell_ip_addr1" SCOPE="INSTANCE">MgmtIPAddr1</Property>
       <Property NAME="cell_ip_addr2" SCOPE="INSTANCE" OPTIONAL="TRUE">MgmtIPAddr2</Property>
       <Property NAME="command" SCOPE="GLOBAL">%perlBin%/perl %scriptsDir%/emx/oracle_cell/oracle_cell_griddisk_config.pl  %cell_ip_addr1% %cell_ip_addr2%  </Property>
       <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property>
       <Property NAME="delimiter" SCOPE="GLOBAL">|</Property>
     </QueryDescriptor>
   </Metric>


<!-- ********************* Oracle CELL CELLDISK Configuration ************************************* -->
  <Metric NAME="CELL_CELLDISK_CONFIG" TYPE="RAW" CONFIG="TRUE">
     <Display>
       <Label NLSID="cell_celldisk_config">CELL CellDisk Configuration</Label>
     </Display>
     <TableDescriptor TABLE_NAME="MGMT_EMX_CELL_CD_CONFIG">
       <ColumnDescriptor NAME="name" COLUMN_NAME="name" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_celldisk_name">Celldisk Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="cellname" COLUMN_NAME="cellname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_celldisk_cellname">Cell Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="realmname" COLUMN_NAME="realmname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_celldisk_realmname">Realm Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="status" COLUMN_NAME="status" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_status">Celldisk Status</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="cdsize" COLUMN_NAME="cdsize" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_cdsize">Celldisk Size (MB)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="lun" COLUMN_NAME="lun" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_lun">Lun</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="errorcount" COLUMN_NAME="errorcount" TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_errorcount">Error Count</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="freespace" COLUMN_NAME="freespace" TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_freespace">Free Space (MB)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="devicepartition" COLUMN_NAME="devicepartition" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_devicepartition">Device Partition</Label>
         </Display>
       </ColumnDescriptor>
     </TableDescriptor>
     <QueryDescriptor FETCHLET_ID="OSLineToken">
       <Property NAME="perlBin" SCOPE="SYSTEMGLOBAL">perlBin</Property>
       <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property>
       <Property NAME="cell_ip_addr1" SCOPE="INSTANCE">MgmtIPAddr1</Property>
       <Property NAME="cell_ip_addr2" SCOPE="INSTANCE" OPTIONAL="TRUE">MgmtIPAddr2</Property>
       <Property NAME="command" SCOPE="GLOBAL">%perlBin%/perl %scriptsDir%/emx/oracle_cell/oracle_cell_celldisk_config.pl %cell_ip_addr1% %cell_ip_addr2% </Property>
       <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property>
       <Property NAME="delimiter" SCOPE="GLOBAL">|</Property>
     </QueryDescriptor>
   </Metric>
<!-- ********************* Oracle CELL LUN Configuration ************************************* -->
  <Metric NAME="CELL_LUN_CONFIG" TYPE="RAW" CONFIG="TRUE">
     <Display>
       <Label NLSID="cell_lun_config">CELL Lun Configuration</Label>
     </Display>
     <TableDescriptor TABLE_NAME="MGMT_EMX_CELL_L_CONFIG">
       <ColumnDescriptor NAME="name" COLUMN_NAME="name" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_lunname">LUN Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="cellname" COLUMN_NAME="cellname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_lun_cellname">Cell Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="realmname" COLUMN_NAME="realmname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_lun_realmname">Realm Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="id" COLUMN_NAME="id" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_lun_id">Id</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="status" COLUMN_NAME="status" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_lun_status">LUN Status</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="celldisk" COLUMN_NAME="celldisk" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_lun_celldisk">Cell Disk</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="errorcount" COLUMN_NAME="errorcount" TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_lun_errorcount">Error Count</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="raidlevel" COLUMN_NAME="raidlevel" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_lun_raidlevel">Raid Level</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="devicename" COLUMN_NAME="devicename" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_lun_devicename">Device Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="lunsize" COLUMN_NAME="lunsize" TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_lun_lunsize">Lun Size (MB)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="lunautocreate" COLUMN_NAME="lunautocreate" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_lun_autocreate">Lun AutoCreate</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="physicaldisks" COLUMN_NAME="physicaldisks" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_lun_physicaldisks">Physical Disks</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="lunuid" COLUMN_NAME="lunuid" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_lun_lunuid">Lun Uid</Label>
         </Display>
       </ColumnDescriptor>
     </TableDescriptor>
     <QueryDescriptor FETCHLET_ID="OSLineToken">
       <Property NAME="perlBin" SCOPE="SYSTEMGLOBAL">perlBin</Property>
       <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property>
       <Property NAME="cell_ip_addr1" SCOPE="INSTANCE">MgmtIPAddr1</Property>
       <Property NAME="cell_ip_addr2" SCOPE="INSTANCE" OPTIONAL="TRUE">MgmtIPAddr2</Property>
       <Property NAME="command" SCOPE="GLOBAL">%perlBin%/perl %scriptsDir%/emx/oracle_cell/oracle_cell_lun_config.pl %cell_ip_addr1% %cell_ip_addr2% </Property>
       <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property>
       <Property NAME="delimiter" SCOPE="GLOBAL">|</Property>
     </QueryDescriptor>
   </Metric>

<!-- ********************* Oracle CELL DISK Configuration ************************************* -->
  <Metric NAME="CELL_DISK_CONFIG" TYPE="RAW" CONFIG="TRUE">
     <Display>
       <Label NLSID="cell_disk_config">CELL Physical Disk Configuration</Label>
     </Display>
     <TableDescriptor TABLE_NAME="MGMT_EMX_CELL_PD_CONFIG">
       <ColumnDescriptor NAME="name" COLUMN_NAME="name" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_name">Physicaldisk Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="cellname" COLUMN_NAME="cellname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_disk_cellname">Cell Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="realmname" COLUMN_NAME="realmname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_disk_realmname">Realm Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="status" COLUMN_NAME="status" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_disk_status">Physical Disk Status</Label>
         </Display>
      </ColumnDescriptor>
       <ColumnDescriptor NAME="disktype" COLUMN_NAME="disktype" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_disk_disktype">Physical Disk Type</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="physsize" COLUMN_NAME="physsize" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_disk_physsize">Size (GB)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="id" COLUMN_NAME="id" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_disk_id">Id</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="makemodel" COLUMN_NAME="makemodel" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_disk_makemodel">Make Model</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="luns" COLUMN_NAME="luns" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_disk_luns">Lun</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="errorcount" COLUMN_NAME="errorcount" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_disk_errorcount">Error Count</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="physinserttime" COLUMN_NAME="physinserttime" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_disk_physinserttime">Insert Time</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="ctrlfirmware" COLUMN_NAME="ctrlfirmware" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_disk_ctrlfirmware">Controller Firmware</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="ctrlhwversion" COLUMN_NAME="ctrlhwversion" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_disk_ctrlhwversion">Controller HW Version</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="physinterface" COLUMN_NAME="physinterface" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_disk_physinterface">Physical Interface</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="physfirmware" COLUMN_NAME="physfirmware" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_disk_physfirmware">Physical Firmware</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="physserial" COLUMN_NAME="physserial" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_disk_physserial">Serial Number</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="physusetype" COLUMN_NAME="physusetype" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_disk_physusetype">Usage Type</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="physport" COLUMN_NAME="physport" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_disk_physport">Port</Label>
         </Display>
       </ColumnDescriptor>
     </TableDescriptor>
     <QueryDescriptor FETCHLET_ID="OSLineToken">
       <Property NAME="perlBin" SCOPE="SYSTEMGLOBAL">perlBin</Property>
       <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property>
       <Property NAME="cell_ip_addr1" SCOPE="INSTANCE">MgmtIPAddr1</Property>
       <Property NAME="cell_ip_addr2" SCOPE="INSTANCE" OPTIONAL="TRUE">MgmtIPAddr2</Property>
       <Property NAME="command" SCOPE="GLOBAL">%perlBin%/perl %scriptsDir%/emx/oracle_cell/oracle_cell_disk_config.pl  %cell_ip_addr1% %cell_ip_addr2% </Property>
       <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property>
       <Property NAME="delimiter" SCOPE="GLOBAL">|</Property>
     </QueryDescriptor>
   </Metric>

<!-- ********************* Oracle CELL IORM Plan Configuration ************************************* -->
  <Metric NAME="CELL_IORM_CONFIG" TYPE="RAW" CONFIG="TRUE">
     <Display>
       <Label NLSID="cell_iorm_config">CELL IORM Configuration</Label>
     </Display>
     <TableDescriptor TABLE_NAME="MGMT_EMX_CELL_IORM_CONFIG">
       <ColumnDescriptor NAME="name" COLUMN_NAME="name" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_iorm_name">IO Resource Plan Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="cellname" COLUMN_NAME="cellname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_iorm_cellname">Cell Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="realmname" COLUMN_NAME="realmname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_iorm_realmname">Realm Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="status" COLUMN_NAME="status" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_iorm_status">IORM Status</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="directivetype" COLUMN_NAME="directivetype" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_iorm_directivetype">Directive Type (CAT/DB)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="dbcatname" COLUMN_NAME="dbcatname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_iorm_dbcatname">Directive Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="level1" COLUMN_NAME="level1" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_iorm_level1">Priority Level 1</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="level2" COLUMN_NAME="level2" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_iorm_level2">Level 2</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="level3" COLUMN_NAME="level3" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_iorm_level3">Level 3</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="level4" COLUMN_NAME="level4" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_iorm_level4">Level 4</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="level5" COLUMN_NAME="level5" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_iorm_level5">Level 5</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="level6" COLUMN_NAME="level6" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_iorm_level6">Level 6</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="level7" COLUMN_NAME="level7" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_iorm_level7">Level 7</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="level8" COLUMN_NAME="level8" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_iorm_level8">Level 8</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="role" COLUMN_NAME="role" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_iorm_role">Role</Label>
         </Display>
       </ColumnDescriptor>
     </TableDescriptor>
     <QueryDescriptor FETCHLET_ID="OSLineToken">
       <Property NAME="perlBin" SCOPE="SYSTEMGLOBAL">perlBin</Property>
       <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property>
       <Property NAME="cell_ip_addr1" SCOPE="INSTANCE">MgmtIPAddr1</Property>
       <Property NAME="cell_ip_addr2" SCOPE="INSTANCE" OPTIONAL="TRUE">MgmtIPAddr2</Property>
       <Property NAME="command" SCOPE="GLOBAL">%perlBin%/perl %scriptsDir%/emx/oracle_cell/oracle_cell_iorm_config.pl %cell_ip_addr1% %cell_ip_addr2% </Property>
       <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property>
       <Property NAME="delimiter" SCOPE="GLOBAL">|</Property>
     </QueryDescriptor>
   </Metric>

<!-- ********************* Oracle CELL Celldisk Metric Configuration ************************************* -->
  <Metric NAME="CellDisk_Statistics" TYPE="TABLE" >
    <Display>
      <Label NLSID="cell_celldisks">CellDisk Statistics</Label>
    </Display>
    <TableDescriptor>
       <ColumnDescriptor NAME="name" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_celldisk_name">Celldisk Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="cellname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_celldisk_cellname">Cell Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="realmname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_celldisk_realmname">Realm Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="osstimestamp" TRANSIENT="TRUE" TYPE="STRING" >
         <Display>
           <Label NLSID="oracle_cell_osstimestamp">Oss Timestamp</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="reads"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_read">Reads</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="read_time"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_read_time">Read Timestamp</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="writes"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_write_large">Writes</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="write_time"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_write_time">Write Timestamp</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="read_requests"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_rq_read">Read Requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="read_request_time"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_rq_read_time">Read Request Timestamp</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="write_requests"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_rq_write">Write Requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="write_request_time"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_rq_write_time">Write Request Timestamp</Label>
         </Display>
       </ColumnDescriptor>
<!-- Add Latency Metrics *** -->
       <ColumnDescriptor NAME="small_read_requests"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_sm_rq_read">Small Read Requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="small_read_latency"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_sm_rq_read_latency">Small Read Latency</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="small_write_requests"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_sm_rq_write">Small Write Requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="small_write_latency"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_sm_rq_write_latency">Small Write Latency</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="large_read_requests"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_lg_rq_read">Large Read Requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="large_read_latency"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_lg_rq_read_latency">Large Read Latency</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="large_write_requests"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_lg_rq_write">Large Write Requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="large_write_latency"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_lg_rq_write_latency">Large Write Latency</Label>
         </Display>
       </ColumnDescriptor>
<!-- ***
       <ColumnDescriptor NAME="c_read_throughput" TYPE="NUMBER"  COMPUTE_EXPR="(reads __delta 4294967295)/(read_time - _read_time)">
-->
       <ColumnDescriptor NAME="c_read_throughput" TYPE="NUMBER"  COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (reads / (read_time - osstimestamp)) : ((reads __delta 4294967295)/(read_time - _read_time)))">
        <Display>
          <Label NLSID="oracle_cell_read_throughput">Celldisk Read Throughput/Sec (MB)</Label>
        </Display>
     </ColumnDescriptor>
<!--       <ColumnDescriptor NAME="c_write_throughput" TYPE="NUMBER"  COMPUTE_EXPR="(writes __delta 4294967295)/(write_time - _write_time)">
-->
       <ColumnDescriptor NAME="c_write_throughput" TYPE="NUMBER"  COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (writes / (write_time - osstimestamp)) : ((writes __delta 4294967295)/(write_time - _write_time)))">
        <Display>
          <Label NLSID="oracle_cell_write_throughput">Celldisk Write Throughput/Sec (MB)</Label>
        </Display>
     </ColumnDescriptor>
<!--       <ColumnDescriptor NAME="c_read_requests" TYPE="NUMBER"  COMPUTE_EXPR="(read_requests __delta 4294967295)/(read_request_time - _read_request_time)">
-->
       <ColumnDescriptor NAME="c_read_requests" TYPE="NUMBER"  COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (read_requests / (read_request_time - osstimestamp)) : ((read_requests __delta 4294967295)/(read_request_time - _read_request_time)))">
        <Display>
          <Label NLSID="oracle_cell_read_requests">Celldisk Read Requests/Sec</Label>
        </Display>
     </ColumnDescriptor>
<!--       <ColumnDescriptor NAME="c_write_requests" TYPE="NUMBER"  COMPUTE_EXPR="(write_requests __delta 4294967295)/(write_request_time - _write_request_time)">
-->
       <ColumnDescriptor NAME="c_write_requests" TYPE="NUMBER"  COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (write_requests / (write_request_time - osstimestamp)) : ((write_requests __delta 4294967295)/(write_request_time - _write_request_time)))">
        <Display>
          <Label NLSID="oracle_cell_write_requests">Celldisk Write Requests/Sec</Label>
        </Display>
     </ColumnDescriptor>
<!-- Add Computed Latency Metrics *** -->
<!--       <ColumnDescriptor NAME="c_sm_read_latency" TYPE="NUMBER"  COMPUTE_EXPR="(small_read_latency __delta 4294967295)/(small_read_requests __delta 4294967295)">
-->
       <ColumnDescriptor NAME="c_sm_read_latency" TYPE="NUMBER"  COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (small_read_latency / small_read_requests ) : ((small_read_latency __delta 4294967295)/(small_read_requests __delta 4294967295)))">
        <Display>
          <Label NLSID="oracle_cell_sm_read_latency">Celldisk Small Read Latency/Req (msec) </Label>
        </Display>
     </ColumnDescriptor>
       <ColumnDescriptor NAME="c_sm_write_latency" TYPE="NUMBER"  COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (small_write_latency / small_write_requests ) : ((small_write_latency __delta 4294967295)/(small_write_requests __delta 4294967295)))">
        <Display>
          <Label NLSID="oracle_cell_sm_write_latency">Celldisk Small Write Latency/Req (msec) </Label>
        </Display>
     </ColumnDescriptor>
       <ColumnDescriptor NAME="c_lg_read_latency" TYPE="NUMBER"  COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (large_read_latency / large_read_requests ) : ((large_read_latency __delta 4294967295)/(large_read_requests __delta 4294967295)))">
        <Display>
          <Label NLSID="oracle_cell_lg_read_latency">Celldisk Large Read Latency/Req (msec) </Label>
        </Display>
     </ColumnDescriptor>
       <ColumnDescriptor NAME="c_lg_write_latency" TYPE="NUMBER"  COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (large_write_latency / large_write_requests ) : ((large_write_latency __delta 4294967295)/(large_write_requests __delta 4294967295)))">
        <Display>
          <Label NLSID="oracle_cell_lg_write_latency">Celldisk Large Write Latency/Req (msec) </Label>
        </Display>
     </ColumnDescriptor>
<!-- *** -->
    </TableDescriptor>
     <QueryDescriptor FETCHLET_ID="OSLineToken">
       <Property NAME="perlBin" SCOPE="SYSTEMGLOBAL">perlBin</Property>
       <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property>
       <Property NAME="cell_ip_addr1" SCOPE="INSTANCE">MgmtIPAddr1</Property>
       <Property NAME="cell_ip_addr2" SCOPE="INSTANCE" OPTIONAL="TRUE">MgmtIPAddr2</Property>
       <Property NAME="command" SCOPE="GLOBAL">%perlBin%/perl %scriptsDir%/emx/oracle_cell/oracle_cell_celldisk_metrics.pl %cell_ip_addr1% %cell_ip_addr2% </Property>
       <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property>
       <Property NAME="delimiter" SCOPE="GLOBAL">|</Property>
     </QueryDescriptor>
 </Metric>

<!-- ********************* Oracle CELL Filesystem Metric Configuration ************************************* -->
  <Metric NAME="Filesystem_Utilization" TYPE="TABLE" >
    <Display>
      <Label NLSID="cell_filesystems">Filesystem Utilization</Label>
    </Display>
    <TableDescriptor>
       <ColumnDescriptor NAME="name" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_filesystem_name">Filesystem Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="cellname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_filesystem_cellname">Cell Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="realmname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_filesystem_realmname">Realm Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="utilization"   TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_fs_utilization">Filesystem Utilization %</Label>
         </Display>
       </ColumnDescriptor>
    </TableDescriptor>
     <QueryDescriptor FETCHLET_ID="OSLineToken">
       <Property NAME="perlBin" SCOPE="SYSTEMGLOBAL">perlBin</Property>
       <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property>
       <Property NAME="cell_ip_addr1" SCOPE="INSTANCE">MgmtIPAddr1</Property>
       <Property NAME="cell_ip_addr2" SCOPE="INSTANCE" OPTIONAL="TRUE">MgmtIPAddr2</Property>
       <Property NAME="command" SCOPE="GLOBAL">%perlBin%/perl %scriptsDir%/emx/oracle_cell/oracle_cell_fs_metrics.pl %cell_ip_addr1% %cell_ip_addr2% </Property>
       <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property>
       <Property NAME="delimiter" SCOPE="GLOBAL">|</Property>
     </QueryDescriptor>
 </Metric>
<!-- ********************* Oracle CELL Flashcache Metric Configuration ************************************* -->
  <Metric NAME="Flashcache_Statistics" TYPE="TABLE" >
    <Display>
      <Label NLSID="cell_flashcache">Flashcache Statistics</Label>
    </Display>
    <TableDescriptor>
       <ColumnDescriptor NAME="name" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_flashcache_name">Flashcache Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="cellname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_flashcache_cellname">Cell Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="realmname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_flashcache_realmname">Realm Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="osstimestamp" TRANSIENT="TRUE" TYPE="STRING" >
         <Display>
           <Label NLSID="oracle_cell_osstimestamp">Oss Timestamp</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="fc_bykeep_overwrite"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_fcbykeep_overwrite">Keep Overwrite(MBs)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="fc_bykeep_used"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_fc_bykeep_used">Keep Used (MBs)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="fc_used"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_fc_used">Used (MBs)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="fc_io_bykeep_r"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_fc_io_bykeep_r">Keep Read Throughput(MBs)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="fc_io_bykeep_w"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_fc_io_bykeep_w">Keep Write Throughput(MBs)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="fc_io_r"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_fc_io_r">Read Throughput(MBs)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="fc_io_r_miss"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_fc_io_r_miss">Reads Missed Throughput(MBs)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="fc_io_r_skip"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_fc_io_r_skip">Reads Skipped Throughput(MBs)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="fc_io_w"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_fc_io_w">Write Throughput(MBs)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="fc_io_errs"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_fc_io_errs">IO Errors</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="fc_io_rqkeep_r"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_fc_rqkeep_r">Keep Read Requests </Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="fc_io_rqkeep_r_miss"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_fc_rqkeep_r_miss">Keep Read Requests Missed</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="fc_io_rqkeep_r_skip"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_fc_rqkeep_r_skip">Keep Read Requests Skipped</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="fc_io_rqkeep_w"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_fc_rqkeep_w">Keep Write Requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="fc_io_req_r"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_fc_req_r">Read  Requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="fc_io_req_r_miss"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_fc_req_r_miss">Read  Requests Missed</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="fc_io_req_r_skip"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_fc_req_r_skip">Read  Requests Skipped</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="fc_io_req_w"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_fc_req_w">Write  Requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="fc_collection_time"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_fc_collection_time">Collection Timestamp</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="c_fc_bykeep_overwrite" TYPE="NUMBER" COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (fc_bykeep_overwrite / (fc_collection_time - osstimestamp)) : ((fc_bykeep_overwrite __delta 4294967295)/(fc_collection_time - _fc_collection_time)))" >
         <Display>
           <Label NLSID="oracle_c_fc_bykeep_overwrite">Keep Overwrite(MB/sec)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="c_fc_bykeep_used" TYPE="NUMBER" COMPUTE_EXPR="fc_bykeep_used" >
         <Display>
           <Label NLSID="oracle_c_fcbykeep_used">Keep Used(MB)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="c_fc_used" TYPE="NUMBER" COMPUTE_EXPR="fc_used" >
         <Display>
           <Label NLSID="oracle_c_fc_used">Flashcache Used (MB)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="c_fc_io_bykeep_r" TYPE="NUMBER" COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (fc_io_bykeep_r / (fc_collection_time - osstimestamp)) : ((fc_io_bykeep_r __delta 4294967295)/(fc_collection_time - _fc_collection_time)))" >
         <Display>
           <Label NLSID="oracle_c_fc_io_bykeep_r">Keep Read Throughput(MB/sec)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="c_fc_io_bykeep_w" TYPE="NUMBER" COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (fc_io_bykeep_w / (fc_collection_time - osstimestamp)) : ((fc_io_bykeep_w __delta 4294967295)/(fc_collection_time - _fc_collection_time)))" >
         <Display>
           <Label NLSID="oracle_c_fc_io_bykeep_w">Keep Write Throughput(MB/sec)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="c_fc_io_r" TYPE="NUMBER" COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (fc_io_r / (fc_collection_time - osstimestamp)) : ((fc_io_r __delta 4294967295)/(fc_collection_time - _fc_collection_time)))" >
         <Display>
           <Label NLSID="oracle_fc_io_r">Read Throughput(MB/sec)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="c_fc_io_r_miss" TYPE="NUMBER" COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (fc_io_r_miss / (fc_collection_time - osstimestamp)) : ((fc_io_r_miss __delta 4294967295)/(fc_collection_time - _fc_collection_time)))" >
         <Display>
           <Label NLSID="oracle_c_fc_io_r_miss">Reads Missed Throughput(MB/sec)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="c_fc_io_r_skip" TYPE="NUMBER" COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (fc_io_r_skip / (fc_collection_time - osstimestamp)) : ((fc_io_r_skip __delta 4294967295)/(fc_collection_time - _fc_collection_time)))" >
         <Display>
           <Label NLSID="oracle_c_fc_io_r_skip">Reads Skipped Throughput(MB/sec)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="c_fc_io_w" TYPE="NUMBER" COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (fc_io_w / (fc_collection_time - osstimestamp)) : ((fc_io_w __delta 4294967295)/(fc_collection_time - _fc_collection_time)))" >
         <Display>
           <Label NLSID="oracle_c_fc_io_w">Write Throughput(MB/sec)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="c_fc_io_errs" TYPE="NUMBER" COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (fc_io_errs / (fc_collection_time - osstimestamp)) : ((fc_io_errs __delta 4294967295)/(fc_collection_time - _fc_collection_time)))" >
         <Display>
           <Label NLSID="oracle_c_fc_io_errs">IO Errors/sec</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="c_fc_io_rqkeep_r" TYPE="NUMBER" COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (fc_io_rqkeep_r / (fc_collection_time - osstimestamp)) : ((fc_io_rqkeep_r __delta 4294967295)/(fc_collection_time - _fc_collection_time)))" >
         <Display>
           <Label NLSID="oracle_c_fc_rqkeep_r">Keep Read Requests/sec </Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="c_fc_io_rqkeep_r_miss" TYPE="NUMBER" COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (fc_io_rqkeep_r_miss / (fc_collection_time - osstimestamp)) : ((fc_io_rqkeep_r_miss __delta 4294967295)/(fc_collection_time - _fc_collection_time)))" >
         <Display>
           <Label NLSID="oracle_c_fc_rqkeep_r_miss">Keep Read Requests Missed/sec</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="c_fc_io_rqkeep_r_skip" TYPE="NUMBER" COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (fc_io_rqkeep_r_skip / (fc_collection_time - osstimestamp)) : ((fc_io_rqkeep_r_skip __delta 4294967295)/(fc_collection_time - _fc_collection_time)))" >
         <Display>
           <Label NLSID="oracle_c_fc_rqkeep_r_skip">Keep Read Requests Skipped/sec</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="c_fc_io_rqkeep_w" TYPE="NUMBER" COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (fc_io_rqkeep_w / (fc_collection_time - osstimestamp)) : ((fc_io_rqkeep_w __delta 4294967295)/(fc_collection_time - _fc_collection_time)))" >
         <Display>
           <Label NLSID="oracle_c_fc_rqkeep_w">Keep Write Request/sec</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="c_fc_io_req_r" TYPE="NUMBER" COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (fc_io_req_r / (fc_collection_time - osstimestamp)) : ((fc_io_req_r __delta 4294967295)/(fc_collection_time - _fc_collection_time)))" >
         <Display>
           <Label NLSID="oracle_c_fc_req_r">Read  Requests/sec</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="c_fc_io_req_r_miss" TYPE="NUMBER" COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (fc_io_req_r_miss / (fc_collection_time - osstimestamp)) : ((fc_io_req_r_miss __delta 4294967295)/(fc_collection_time - _fc_collection_time)))" >
         <Display>
           <Label NLSID="oracle_c_fc_req_r_miss">Read  Requests Missed/sec</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="c_fc_io_req_r_skip" TYPE="NUMBER" COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (fc_io_req_r_skip / (fc_collection_time - osstimestamp)) : ((fc_io_req_r_skip __delta 4294967295)/(fc_collection_time - _fc_collection_time)))" >
         <Display>
           <Label NLSID="oracle_c_fc_req_r_skip">Read  Requests Skipped/sec</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="c_fc_io_req_w" TYPE="NUMBER" COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (fc_io_req_w / (fc_collection_time - osstimestamp)) : ((fc_io_req_w __delta 4294967295)/(fc_collection_time - _fc_collection_time)))" >
         <Display>
           <Label NLSID="oracle_c_fc_req_w">Write  Requests/sec</Label>
         </Display>
       </ColumnDescriptor>
    </TableDescriptor>
     <QueryDescriptor FETCHLET_ID="OSLineToken">
       <Property NAME="perlBin" SCOPE="SYSTEMGLOBAL">perlBin</Property>
       <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property>
       <Property NAME="cell_ip_addr1" SCOPE="INSTANCE">MgmtIPAddr1</Property>
       <Property NAME="cell_ip_addr2" SCOPE="INSTANCE" OPTIONAL="TRUE">MgmtIPAddr2</Property>
       <Property NAME="command" SCOPE="GLOBAL">%perlBin%/perl %scriptsDir%/emx/oracle_cell/oracle_cell_flashcache_metrics.pl %cell_ip_addr1% %cell_ip_addr2% </Property>
       <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property>
       <Property NAME="delimiter" SCOPE="GLOBAL">|</Property>
     </QueryDescriptor>
 </Metric>
<!-- ********************* Oracle CELL Griddisk Metric Configuration ************************************* -->
  <Metric NAME="GridDisk_Statistics" TYPE="TABLE" >
    <Display>
      <Label NLSID="cell_griddisks">GridDisk Statistics</Label>
    </Display>
    <TableDescriptor>
       <ColumnDescriptor NAME="name" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_griddisk_name">Griddisk Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="cellname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_griddisk_cellname">Cell Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="realmname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_griddisk_realmname">Realm Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="osstimestamp" TRANSIENT="TRUE" TYPE="STRING" >
         <Display>
           <Label NLSID="oracle_cell_osstimestamp">Oss Timestamp</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="reads"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_read">Reads</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="read_time"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_read_time">Read Timestamp</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="writes"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_write_large">Writes</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="write_time"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_write_time">Write Timestamp</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="read_requests"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_rq_read">Read Requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="read_request_time"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_rq_read_time">Read Request Timestamp</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="write_requests"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_rq_write">Write Requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="write_request_time"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_rq_write_time">Write Request Timestamp</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="c_read_throughput" TYPE="NUMBER"  COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (reads / (read_time - osstimestamp)) : ((reads __delta 4294967295)/(read_time - _read_time)))">
        <Display>
          <Label NLSID="oracle_cell_read_throughput">Read Throughput Per Sec (MB)</Label>
        </Display>
     </ColumnDescriptor>
       <ColumnDescriptor NAME="c_write_throughput" TYPE="NUMBER"  COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (writes / (write_time - osstimestamp)) : ((writes __delta 4294967295)/(write_time - _write_time)))">
        <Display>
          <Label NLSID="oracle_cell_write_throughput">Write Throughput Per Sec (MB)</Label>
        </Display>
     </ColumnDescriptor>
       <ColumnDescriptor NAME="c_read_requests" TYPE="NUMBER"  COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (read_requests / (read_request_time - osstimestamp)) : ((read_requests __delta 4294967295)/(read_request_time - _read_request_time)))">
        <Display>
          <Label NLSID="oracle_cell_read_requests">Read Requests Per Sec</Label>
        </Display>
     </ColumnDescriptor>
       <ColumnDescriptor NAME="c_write_requests" TYPE="NUMBER"  COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (write_requests / (write_request_time - osstimestamp)) : ((write_requests __delta 4294967295)/(write_request_time - _write_request_time)))">
        <Display>
          <Label NLSID="oracle_cell_write_requests">Write Requests Per Sec</Label>
        </Display>
     </ColumnDescriptor>
    </TableDescriptor>
     <QueryDescriptor FETCHLET_ID="OSLineToken">
       <Property NAME="perlBin" SCOPE="SYSTEMGLOBAL">perlBin</Property>
       <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property>
       <Property NAME="cell_ip_addr1" SCOPE="INSTANCE">MgmtIPAddr1</Property>
       <Property NAME="cell_ip_addr2" SCOPE="INSTANCE" OPTIONAL="TRUE">MgmtIPAddr2</Property>
       <Property NAME="command" SCOPE="GLOBAL">%perlBin%/perl %scriptsDir%/emx/oracle_cell/oracle_cell_griddisk_metrics.pl %cell_ip_addr1% %cell_ip_addr2% </Property>
       <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property>
       <Property NAME="delimiter" SCOPE="GLOBAL">|</Property>
     </QueryDescriptor>
 </Metric>
<!-- ********************* Oracle CELL HOST_INTERCONNECT Metric Configuration ************************************* -->
  <Metric NAME="HostInterConnect_Statistics" TYPE="TABLE" >
    <Display>
      <Label NLSID="cell_interconnect">Host Interconnect Statistics</Label>
    </Display>
    <TableDescriptor>
       <ColumnDescriptor NAME="name" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_host_name">Host Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="cellname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_griddisk_cellname">Cell Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="realmname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_griddisk_realmname">Realm Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="osstimestamp" TRANSIENT="TRUE" TYPE="STRING" >
         <Display>
           <Label NLSID="oracle_cell_osstimestamp">Oss Timestamp</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="mb_sent"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_host_mb_sent">Host MB Sent</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="mb_sent_time"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_nmbsent_time">Host MB Sent Timestamp</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="mb_dropped"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_host_mb_drop">Host MB Dropped</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="mb_dropped_time"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_mbdropped_time">Host MB Dropped Timestamp</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="mb_resent"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_host_mb_resent">Host MB Resent</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="mb_resent_time"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_nmbresent_time">Host MB Resent Timestamp</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="mb_received"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_host_mb_received">Host MB Received</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="mb_received_time"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_nmbreceived_time">Host MB Received Timestamp</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="mb_rdma_dropped"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_host_mb_rdmadropped">Host RDMA MB Dropped</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="mb_rdma_dropped_time"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_nmbrdmadropped_time">Host RDMA MB Dropped Timestamp</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="rdma_retry"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_host_rdma_retry">Host Retry Latency (msec)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="rdma_retry_time"  TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_rdmaretry_time">Host Retry Latency Timestamp</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="c_mb_sent" TYPE="NUMBER"  COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (mb_sent / (mb_sent_time - osstimestamp)) : ((mb_sent __delta 4294967295)/(mb_sent_time - _mb_sent_time)))">
        <Display>
          <Label NLSID="oracle_cell_host_mb_sent">Host MB Sent Per Sec</Label>
        </Display>
     </ColumnDescriptor>
       <ColumnDescriptor NAME="c_mb_resent" TYPE="NUMBER"  COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (mb_resent / (mb_resent_time - osstimestamp)) : ((mb_resent __delta 4294967295)/(mb_resent_time - _mb_resent_time)))">
        <Display>
          <Label NLSID="oracle_cell_host_mb_resent">Host MB Resent Per Sec</Label>
        </Display>
     </ColumnDescriptor>
       <ColumnDescriptor NAME="c_mb_dropped" TYPE="NUMBER"  COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (mb_dropped / (mb_dropped_time - osstimestamp)) : ((mb_dropped __delta 4294967295)/(mb_dropped_time - _mb_dropped_time)))">
        <Display>
          <Label NLSID="oracle_cell_host_mb_dropped">Host MB Dropped Per Sec</Label>
        </Display>
     </ColumnDescriptor>
       <ColumnDescriptor NAME="c_mb_received" TYPE="NUMBER"  COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (mb_received / (mb_received_time - osstimestamp)) : ((mb_received __delta 4294967295)/(mb_received_time - _mb_received_time)))">
        <Display>
          <Label NLSID="oracle_cell_host_mb_received">Host MB Received Per Sec</Label>
        </Display>
     </ColumnDescriptor>
       <ColumnDescriptor NAME="c_mb_rdma_dropped" TYPE="NUMBER"  COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (mb_rdma_dropped / (mb_rdma_dropped_time - osstimestamp)) : ((mb_rdma_dropped __delta 4294967295)/(mb_rdma_dropped_time - _mb_rdma_dropped_time)))">
        <Display>
          <Label NLSID="oracle_cell_host_mb_rdma_dropped">Host RDMA MB Dropped Per Sec</Label>
        </Display>
     </ColumnDescriptor>
       <ColumnDescriptor NAME="c_rdma_retry_latency" TYPE="NUMBER"  COMPUTE_EXPR="((osstimestamp != _osstimestamp) ? (rdma_retry / (rdma_retry_time - osstimestamp)) : ((rdma_retry __delta 4294967295)/(rdma_retry_time - _rdma_retry_time)))">
        <Display>
          <Label NLSID="oracle_cell_host_retry_latency">Host RDMA Retry Latency (msec)</Label>
        </Display>
     </ColumnDescriptor>
    </TableDescriptor>
     <QueryDescriptor FETCHLET_ID="OSLineToken">
       <Property NAME="perlBin" SCOPE="SYSTEMGLOBAL">perlBin</Property>
       <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property>
       <Property NAME="cell_ip_addr1" SCOPE="INSTANCE">MgmtIPAddr1</Property>
       <Property NAME="cell_ip_addr2" SCOPE="INSTANCE" OPTIONAL="TRUE">MgmtIPAddr2</Property>
       <Property NAME="command" SCOPE="GLOBAL">%perlBin%/perl %scriptsDir%/emx/oracle_cell/oracle_cell_interconnect_metrics.pl %cell_ip_addr1% %cell_ip_addr2% </Property>
       <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property>
       <Property NAME="delimiter" SCOPE="GLOBAL">|</Property>
     </QueryDescriptor>
 </Metric>
<!-- ********************* Oracle CELL LUN Metric Configuration ************************************* -->
  <Metric NAME="LUN_Statistics" TYPE="TABLE" >
    <Display>
      <Label NLSID="cell_luns">LUN Statistics</Label>
    </Display>
    <TableDescriptor>
       <ColumnDescriptor NAME="name" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_lun_name">LUN Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="cellname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_lun_cellname">Cell Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="realmname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_lun_realmname">Realm Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="LUN_Status" TYPE="STRING" >
         <Display>
           <Label NLSID="oracle_cell_lun_status">LUN 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="cell_ip_addr1" SCOPE="INSTANCE">MgmtIPAddr1</Property>
       <Property NAME="cell_ip_addr2" SCOPE="INSTANCE" OPTIONAL="TRUE">MgmtIPAddr2</Property>
       <Property NAME="command" SCOPE="GLOBAL">%perlBin%/perl %scriptsDir%/emx/oracle_cell/oracle_cell_lun_metrics.pl %cell_ip_addr1% %cell_ip_addr2% </Property>
       <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property>
       <Property NAME="delimiter" SCOPE="GLOBAL">|</Property>
     </QueryDescriptor>
 </Metric>
<!-- ********************* Oracle CELL PhysicalDisk Metric Configuration ************************************* -->
  <Metric NAME="PhysicalDisk_Statistics" TYPE="TABLE" >
    <Display>
      <Label NLSID="cell_physicaldisks">PhysicalDisk Statistics</Label>
    </Display>
    <TableDescriptor>
       <ColumnDescriptor NAME="name" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_physicaldisk_name">Physical Disk Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="cellname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_physicaldisk_cellname">Cell Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="realmname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_physicaldisk_realmname">Realm Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="PhysicalDisk_Status" TYPE="STRING" >
         <Display>
           <Label NLSID="oracle_cell_physicaldisk_status">PhysicalDisk 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="cell_ip_addr1" SCOPE="INSTANCE">MgmtIPAddr1</Property>
       <Property NAME="cell_ip_addr2" SCOPE="INSTANCE" OPTIONAL="TRUE">MgmtIPAddr2</Property>
       <Property NAME="command" SCOPE="GLOBAL">%perlBin%/perl %scriptsDir%/emx/oracle_cell/oracle_cell_disk_metrics.pl %cell_ip_addr1% %cell_ip_addr2% </Property>
       <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property>
       <Property NAME="delimiter" SCOPE="GLOBAL">|</Property>
     </QueryDescriptor>
 </Metric>
<!-- ********************* Oracle Cell Metric Configuration ************************************* -->
  <Metric NAME="Cell_Statistics" TYPE="TABLE" >
    <Display>
      <Label NLSID="cell_statistics">Cell Statistics</Label>
    </Display>
    <TableDescriptor>
       <ColumnDescriptor NAME="cellname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_celldisk_cellname">Cell Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="realmname"  TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_celldisk_realmname">Realm Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="cl_cput" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_cl_cput">CPU Busy (%)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="cl_memut" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_cl_memut">Memory Utilization (%)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="cl_fans" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_cl_fans">Fan Count</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="cl_runq" TYPE="NUMBER" >
         <Display>
           <Label NLSID="cl_runq">Run Queue Length</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="cl_temp" TYPE="NUMBER" >
         <Display>
           <Label NLSID="cl_temp">Temperature</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="nic_non_working_count" TYPE="NUMBER" >
         <Display>
           <Label NLSID="cl_nic_non_working_count">NIC Non-Working Count</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="nic_io_recv_req" TYPE="NUMBER" >
         <Display>
           <Label NLSID="cl_nic_io_recv_req">NIC IO Recv Req/Sec</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="nic_io_trans_req" TYPE="NUMBER" >
         <Display>
           <Label NLSID="cl_nic_io_trans_req">NIC IO Trans Req/Sec</Label>
         </Display>
       </ColumnDescriptor>
<!-- add for upper/lower temperature threshold-->
       <ColumnDescriptor NAME="c_cl_upper_temp" TYPE="NUMBER"  COMPUTE_EXPR="cl_temp">
        <Display>
          <Label NLSID="oracle_cell_cl_upper_temp">Temperature Upper Threshold</Label>
        </Display>
     </ColumnDescriptor> 
       <ColumnDescriptor NAME="c_cl_lower_temp" TYPE="NUMBER"  COMPUTE_EXPR="cl_temp">
        <Display>
          <Label NLSID="oracle_cell_cl_lower_temp">Temperature Lower Threshold</Label>
        </Display>
     </ColumnDescriptor>  
    </TableDescriptor>
     <QueryDescriptor FETCHLET_ID="OSLineToken">
       <Property NAME="perlBin" SCOPE="SYSTEMGLOBAL">perlBin</Property>
       <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property>
       <Property NAME="cell_ip_addr1" SCOPE="INSTANCE">MgmtIPAddr1</Property>
       <Property NAME="cell_ip_addr2" SCOPE="INSTANCE" OPTIONAL="TRUE">MgmtIPAddr2</Property>
       <Property NAME="command" SCOPE="GLOBAL">%perlBin%/perl %scriptsDir%/emx/oracle_cell/oracle_cell_metrics.pl %cell_ip_addr1% %cell_ip_addr2% </Property>
       <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property>
       <Property NAME="delimiter" SCOPE="GLOBAL">|</Property>
     </QueryDescriptor>
 </Metric>

<!-- ********************* Oracle Cell IORMBoost Metrics  ************************************* -->
  <Metric NAME="CellIORMBoost_Statistics" TYPE="TABLE" >
    <Display>
      <Label NLSID="cell_iorm_boost">Cell IORM Boost</Label>
    </Display>
    <TableDescriptor>
       <ColumnDescriptor NAME="cellname" TYPE="STRING"  IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_celldisk_cellname">Cell Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="realmname"  TYPE="STRING"  IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_celldisk_realmname">Realm Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="cl_iormboost" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_cl_iorm_boost">IORM Boost</Label>
         </Display>
       </ColumnDescriptor>
    </TableDescriptor>
     <QueryDescriptor FETCHLET_ID="OSLineToken">
       <Property NAME="perlBin" SCOPE="SYSTEMGLOBAL">perlBin</Property>
       <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property>
       <Property NAME="cell_ip_addr1" SCOPE="INSTANCE">MgmtIPAddr1</Property>
       <Property NAME="cell_ip_addr2" SCOPE="INSTANCE" OPTIONAL="TRUE">MgmtIPAddr2</Property>
       <Property NAME="command" SCOPE="GLOBAL">%perlBin%/perl %scriptsDir%/emx/oracle_cell/oracle_cell_iormboost_metrics.pl %cell_ip_addr1% %cell_ip_addr2% </Property>
       <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property>
       <Property NAME="delimiter" SCOPE="GLOBAL">|</Property>
     </QueryDescriptor>
 </Metric>
<!-- ********************* Oracle Cell iormboost Metrics  For Charts ************************************* -->
  <Metric NAME="CellIORMBoost_Statistics_Charts" TYPE="TABLE" >
    <Display>
      <Label NLSID="cell_iormboost_efficiency">Cell IORM Boost Efficiency Charts</Label>
    </Display>
    <TableDescriptor>
       <ColumnDescriptor NAME="cl_iormboost" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_cl_iormboost">IORM Boost</Label>
         </Display>
       </ColumnDescriptor>
    </TableDescriptor>
    <ExecutionDescriptor>
       <GetTable NAME="CellIORMBoost_Statistics" USE_CACHE="TRUE_IF_COLLECT"/>
       <GetView NAME="CellIORMBoost_Statistics_Charts" FROM_TABLE="CellIORMBoost_Statistics">
          <Column NAME="cl_iormboost"/>
       </GetView>
    </ExecutionDescriptor>
 </Metric>
<!-- ********************* Oracle Cell Offload Metrics  ************************************* -->
  <Metric NAME="CellOffload_Statistics" TYPE="TABLE" >
    <Display>
      <Label NLSID="cell_offload_efficiency">Cell Offload Efficiency</Label>
    </Display>
    <TableDescriptor>
       <ColumnDescriptor NAME="cellname" TYPE="STRING"  IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_celldisk_cellname">Cell Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="realmname"  TYPE="STRING"  IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_celldisk_realmname">Realm Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="cl_offloadefficiency" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_cl_offload_efficiency">Offload Efficiency</Label>
         </Display>
       </ColumnDescriptor>
    </TableDescriptor>
     <QueryDescriptor FETCHLET_ID="OSLineToken">
       <Property NAME="perlBin" SCOPE="SYSTEMGLOBAL">perlBin</Property>
       <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property>
       <Property NAME="cell_ip_addr1" SCOPE="INSTANCE">MgmtIPAddr1</Property>
       <Property NAME="cell_ip_addr2" SCOPE="INSTANCE" OPTIONAL="TRUE">MgmtIPAddr2</Property>
       <Property NAME="command" SCOPE="GLOBAL">%perlBin%/perl %scriptsDir%/emx/oracle_cell/oracle_cell_offload_metrics.pl %cell_ip_addr1% %cell_ip_addr2% </Property>
       <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property>
       <Property NAME="delimiter" SCOPE="GLOBAL">|</Property>
     </QueryDescriptor>
 </Metric>
<!-- ********************* Oracle Cell Offload Metrics  For Charts ************************************* -->
  <Metric NAME="CellOffload_Statistics_Charts" TYPE="TABLE" >
    <Display>
      <Label NLSID="cell_offload_efficiency">Cell Offload Efficiency Charts</Label>
    </Display>
    <TableDescriptor>
       <ColumnDescriptor NAME="cl_offloadefficiency" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_cl_offload_efficiency">Offload Efficiency</Label>
         </Display>
       </ColumnDescriptor>
</TableDescriptor>
<ExecutionDescriptor>
   <GetTable NAME="CellOffload_Statistics" USE_CACHE="TRUE_IF_COLLECT"/>
   <GetView NAME="CellOffload_Statistics_Charts" FROM_TABLE="CellOffload_Statistics"        >
   <Column NAME="cl_offloadefficiency"/>
              </GetView>
    </ExecutionDescriptor>
</Metric>

<!-- ********************* Oracle CELL IORM Consumer Group Metric ************************************* -->
  <Metric NAME="ConsumerGroup_Statistics" TYPE="TABLE" >
    <Display>
      <Label NLSID="cell_iorm_consumergroup">Consumer Group Statistics</Label>
    </Display>
    <TableDescriptor>
       <ColumnDescriptor NAME="name" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_consumergroup">Consumer Group</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="cellname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_consumergroup_cellname">Cell Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="realmname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_consumergroup_realmname">Realm Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="iormtimestamp" TRANSIENT="TRUE" TYPE="STRING" >
         <Display>
           <Label NLSID="oracle_cell_iormtimestamp">IORM Timestamp</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="metriccolumn" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_consumergroup_metriccolumn">Metric Column</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="plantype" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_consumergroup_plantype">Plan Type</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="io_sm_requests" TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_iosmrequests">CG Small IO requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="io_sm_wait_time" TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_iosmwaittime">CG Small IO Wait Time (msec)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="io_lg_requests" TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_iolgrequests">CG Large IO requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="io_wait_lg_time" TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_iolgwaittime">CG Large IO Wait Time (msec)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="io_requests_time" TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_iorequests_time">CG IO requests Timestamp</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="c_io_sm_requests" TYPE="NUMBER"  COMPUTE_EXPR="((iormtimestamp != _iormtimestamp) ? (io_sm_requests/(io_requests_time - iormtimestamp)) : ((io_sm_requests __delta 4294967295)/(io_requests_time - _io_requests_time)))">
        <Display>
          <Label NLSID="oracle_cell_io_sm_requests">Consumer Group Small IO Requests/Sec</Label>
        </Display>
     </ColumnDescriptor>
       <ColumnDescriptor NAME="c_wait_time_per_sm_request" TYPE="NUMBER"  COMPUTE_EXPR="(io_sm_wait_time __delta 4294967295)/(io_sm_requests __delta 4294967295)">
        <Display>
          <Label NLSID="oracle_cell_wait_time_per_small_request">Consumer Group Small IO Wait/Request (msec)</Label>
        </Display>
     </ColumnDescriptor>
       <ColumnDescriptor NAME="c_io_lg_requests" TYPE="NUMBER"  COMPUTE_EXPR="((iormtimestamp != _iormtimestamp) ? (io_lg_requests/(io_requests_time - iormtimestamp)) : ((io_lg_requests __delta 4294967295)/(io_requests_time - _io_requests_time)))">
        <Display>
          <Label NLSID="oracle_cell_io_lg_requests">Consumer Group Large IO Requests/Sec</Label>
        </Display>
     </ColumnDescriptor>
       <ColumnDescriptor NAME="c_wait_time_per_lg_request" TYPE="NUMBER"  COMPUTE_EXPR="(io_wait_lg_time __delta 4294967295)/(io_lg_requests __delta 4294967295)">
        <Display>
          <Label NLSID="oracle_cell_wait_time_per_large_request">Consumer Group Large IO Wait/Request (msec)</Label>
        </Display>
     </ColumnDescriptor>
    </TableDescriptor>
     <QueryDescriptor FETCHLET_ID="OSLineToken">
       <Property NAME="perlBin" SCOPE="SYSTEMGLOBAL">perlBin</Property>
       <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property>
       <Property NAME="cell_ip_addr1" SCOPE="INSTANCE">MgmtIPAddr1</Property>
       <Property NAME="cell_ip_addr2" SCOPE="INSTANCE" OPTIONAL="TRUE">MgmtIPAddr2</Property>
       <Property NAME="command" SCOPE="GLOBAL">%perlBin%/perl %scriptsDir%/emx/oracle_cell/oracle_cell_consumergroup_metrics.pl %cell_ip_addr1% %cell_ip_addr2% </Property>
       <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property>
       <Property NAME="delimiter" SCOPE="GLOBAL">|</Property>
     </QueryDescriptor>
 </Metric>

<!-- ********************* Oracle Cell Statistics Summary *************************************  -->
  <Metric NAME="Cell_Summary_Statistics" TYPE="TABLE" >
    <Display>
      <Label NLSID="cell_summary_cell">Cell Summary Statistics</Label>
    </Display>
    <TableDescriptor>
       <ColumnDescriptor NAME="cellname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_celldisk_cellname">Cell Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="realmname"  TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_celldisk_realmname">Realm Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="max_celldisk_reads"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_max_reads">Max Celldisk Reads (MB)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="avg_celldisk_reads"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_avg_reads">Avg Celldisk Reads (MB)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="sum_celldisk_reads"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_sum_reads">Total Celldisk Reads (MB)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="max_celldisk_writes"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_max_writes">Max Celldisk Writes (MB)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="avg_celldisk_writes"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_avg_writes">Avg Celldisk Writes (MB)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="sum_celldisk_writes"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_sum_writes">Total Celldisk Writes (MB)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="max_celldisk_read_requests"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_max_read_requests">Max Celldisk Read Requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="avg_celldisk_read_requests"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_avg_read_requests">Avg Celldisk Read Requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="sum_celldisk_read_requests"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_sum_read_requests">Total Celldisk Read Requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="max_celldisk_write_requests"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_max_write_requests">Max Celldisk Write Requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="avg_celldisk_write_requests"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_avg_write_requests">Avg Celldisk Write_Requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="sum_celldisk_write_requests"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_sum_write_requests">Total Celldisk Write Requests</Label>
         </Display>
       </ColumnDescriptor>
<!-- Add Latency Metrics *** -->
       <ColumnDescriptor NAME="max_celldisk_small_read_latency"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_max_small_read_latency">Max Celldisk Small Read Latency (msec)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="avg_celldisk_small_read_latency"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_avg_small_read_latency">Avg Celldisk Small Read Latency (msec)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="sum_celldisk_small_read_latency"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_sum_small_read_latency">Total Celldisk Small Read Latency (msec)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="max_celldisk_small_write_latency"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_max_small_write_latency">Max Celldisk Small Write Latency  (msec)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="avg_celldisk_small_write_latency"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_avg_small_write_latency">Avg Celldisk Small Write Latency (msec)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="sum_celldisk_small_write_latency"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_sum_small_write_latency">Total Celldisk Small Write Latency (msec)</Label>
         </Display>
       </ColumnDescriptor>
<!-- *** -->
</TableDescriptor>
<ExecutionDescriptor>
      <GetTable NAME="CellDisk_Statistics" USE_CACHE="TRUE_IF_COLLECT"/>
      <GetView NAME="cell_summary_view" FROM_TABLE="CellDisk_Statistics">
        <Column NAME="cellname"/>
        <Column NAME="realmname"/>
        <Column NAME="c_read_throughput"/>
        <Column NAME="c_write_throughput"/>
        <Column NAME="c_read_requests"/>
        <Column NAME="c_write_requests"/>
        <Column NAME="c_sm_write_latency"/>
        <Column NAME="c_sm_read_latency"/>
      </GetView>
      <GroupBy NAME="Cell_Summary_Statistics" FROM_TABLE="CellDisk_Statistics">
        <By NAME="cellname"/>
        <By NAME="realmname"/>
        <AggregateColumn NAME="max_celldisk_reads"
                         COLUMN_NAME="c_read_throughput"
                         OPERATOR="MAX"/>
        <AggregateColumn NAME="avg_celldisk_reads"
                         COLUMN_NAME="c_read_throughput"
                         OPERATOR="AVG"/>
        <AggregateColumn NAME="sum_celldisk_reads"
                         COLUMN_NAME="c_read_throughput"
                         OPERATOR="SUM"/>
        <AggregateColumn NAME="max_celldisk_writes"
                         COLUMN_NAME="c_write_throughput"
                         OPERATOR="MAX"/>
        <AggregateColumn NAME="avg_celldisk_writes"
                         COLUMN_NAME="c_write_throughput"
                         OPERATOR="AVG"/>
        <AggregateColumn NAME="sum_celldisk_writes"
                         COLUMN_NAME="c_write_throughput"
                         OPERATOR="SUM"/>
        <AggregateColumn NAME="max_celldisk_read_requests"
                         COLUMN_NAME="c_read_requests"
                         OPERATOR="MAX"/>
        <AggregateColumn NAME="avg_celldisk_read_requests"
                         COLUMN_NAME="c_read_requests"
                         OPERATOR="AVG"/>
        <AggregateColumn NAME="sum_celldisk_read_requests"
                         COLUMN_NAME="c_read_requests"
                         OPERATOR="SUM"/>
        <AggregateColumn NAME="max_celldisk_write_requests"
                         COLUMN_NAME="c_write_requests"
                         OPERATOR="MAX"/>
        <AggregateColumn NAME="avg_celldisk_write_requests"
                         COLUMN_NAME="c_write_requests"
                         OPERATOR="AVG"/>
        <AggregateColumn NAME="sum_celldisk_write_requests"
                         COLUMN_NAME="c_write_requests"
                         OPERATOR="SUM"/>
<!-- Add Latency Metrics *** -->
        <AggregateColumn NAME="avg_celldisk_small_read_latency"
                         COLUMN_NAME="c_sm_read_latency"
                         OPERATOR="AVG"/>
        <AggregateColumn NAME="max_celldisk_small_read_latency"
                         COLUMN_NAME="c_sm_read_latency"
                         OPERATOR="MAX"/>
        <AggregateColumn NAME="sum_celldisk_small_read_latency"
                         COLUMN_NAME="c_sm_read_latency"
                         OPERATOR="SUM"/>
        <AggregateColumn NAME="avg_celldisk_small_write_latency"
                         COLUMN_NAME="c_sm_write_latency"
                         OPERATOR="AVG"/>
        <AggregateColumn NAME="max_celldisk_small_write_latency"
                         COLUMN_NAME="c_sm_write_latency"
                         OPERATOR="MAX"/>
        <AggregateColumn NAME="sum_celldisk_small_write_latency"
                         COLUMN_NAME="c_sm_write_latency"
                         OPERATOR="SUM"/>
<!-- *** -->
      </GroupBy>
    </ExecutionDescriptor>
</Metric>
<!-- *********** -->
<!-- ********************* Oracle Cell Statistics For Charts *************************************  -->
<!-- *****  <Metric NAME="Cell_Summary_Statistics_Charts" TYPE="TABLE" USAGE_TYPE="COLLECT_UPLOAD"> ************ -->
<Metric NAME="Cell_Summary_Statistics_Charts" TYPE="TABLE" > 
    <Display>
      <Label NLSID="cell_summary_cell">Cell Summary Statistics Charts</Label>
    </Display>
    <TableDescriptor>
       <ColumnDescriptor NAME="cellname" TYPE="STRING"  IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_cellname">Cell Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="realmname"  TYPE="STRING"  IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_realmname">Realm Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="max_celldisk_reads"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_max_reads">Max Celldisk Reads (MB)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="avg_celldisk_reads"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_avg_reads">Avg Celldisk Reads (MB)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="sum_celldisk_reads"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_sum_reads">Total Celldisk Reads (MB)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="max_celldisk_writes"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_max_writes">Max Celldisk Writes (MB)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="avg_celldisk_writes"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_avg_writes">Avg Celldisk Writes (MB)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="sum_celldisk_writes"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_sum_writes">Total Celldisk Writes (MB)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="max_celldisk_read_requests"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_max_read_requests">Max Celldisk Read Requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="avg_celldisk_read_requests"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_avg_read_requests">Avg Celldisk Read Requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="sum_celldisk_read_requests"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_sum_read_requests">Total Celldisk Read Requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="max_celldisk_write_requests"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_max_write_requests">Max Celldisk Write Requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="avg_celldisk_write_requests"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_avg_write_requests">Avg Celldisk Write_Requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="sum_celldisk_write_requests"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_sum_write_requests">Total Celldisk Write Requests</Label>
         </Display>
       </ColumnDescriptor>
<!-- Add Latency Metrics *** -->
       <ColumnDescriptor NAME="max_celldisk_small_read_latency"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_max_small_read_latency">Max Celldisk Small Read Latency (msec)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="avg_celldisk_small_read_latency"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_avg_small_read_latency">Avg Celldisk Small Read Latency (msec)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="sum_celldisk_small_read_latency"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_sum_small_read_latency">Total Celldisk Small Read Latency (msec)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="max_celldisk_small_write_latency"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_max_small_write_latency">Max Celldisk Small Write Latency  (msec)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="avg_celldisk_small_write_latency"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_avg_small_write_latency">Avg Celldisk Small Write Latency (msec)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="sum_celldisk_small_write_latency"  TYPE="NUMBER" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_celldisk_sum_small_write_latency">Total Celldisk Small Write Latency (msec)</Label>
         </Display>
       </ColumnDescriptor>
<!-- *** -->
</TableDescriptor>
<ExecutionDescriptor>
      <GetTable NAME="CellDisk_Statistics" USE_CACHE="TRUE_IF_COLLECT"/>
      <GetView NAME="cell_summary_view" FROM_TABLE="CellDisk_Statistics">
        <Column NAME="cellname"/>
        <Column NAME="realmname"/>
        <Column NAME="c_read_throughput"/>
        <Column NAME="c_write_throughput"/>
        <Column NAME="c_read_requests"/>
        <Column NAME="c_write_requests"/>
        <Column NAME="c_sm_write_latency"/>
        <Column NAME="c_sm_read_latency"/>
      </GetView>
      <GroupBy NAME="Cell_Summary_Statistics" FROM_TABLE="CellDisk_Statistics">
        <By NAME="cellname"/>
        <By NAME="realmname"/>
        <AggregateColumn NAME="max_celldisk_reads"
                         COLUMN_NAME="c_read_throughput"
                         OPERATOR="MAX"/>
        <AggregateColumn NAME="avg_celldisk_reads"
                         COLUMN_NAME="c_read_throughput"
                         OPERATOR="AVG"/>
        <AggregateColumn NAME="sum_celldisk_reads"
                         COLUMN_NAME="c_read_throughput"
                         OPERATOR="SUM"/>
        <AggregateColumn NAME="max_celldisk_writes"
                         COLUMN_NAME="c_write_throughput"
                         OPERATOR="MAX"/>
        <AggregateColumn NAME="avg_celldisk_writes"
                         COLUMN_NAME="c_write_throughput"
                         OPERATOR="AVG"/>
        <AggregateColumn NAME="sum_celldisk_writes"
                         COLUMN_NAME="c_write_throughput"
                         OPERATOR="SUM"/>
        <AggregateColumn NAME="max_celldisk_read_requests"
                         COLUMN_NAME="c_read_requests"
                         OPERATOR="MAX"/>
        <AggregateColumn NAME="avg_celldisk_read_requests"
                         COLUMN_NAME="c_read_requests"
                         OPERATOR="AVG"/>
        <AggregateColumn NAME="sum_celldisk_read_requests"
                         COLUMN_NAME="c_read_requests"
                         OPERATOR="SUM"/>
        <AggregateColumn NAME="max_celldisk_write_requests"
                         COLUMN_NAME="c_write_requests"
                         OPERATOR="MAX"/>
        <AggregateColumn NAME="avg_celldisk_write_requests"
                         COLUMN_NAME="c_write_requests"
                         OPERATOR="AVG"/>
        <AggregateColumn NAME="sum_celldisk_write_requests"
                         COLUMN_NAME="c_write_requests"
                         OPERATOR="SUM"/>
<!-- Add Latency Metrics *** -->
        <AggregateColumn NAME="avg_celldisk_small_read_latency"
                         COLUMN_NAME="c_sm_read_latency"
                         OPERATOR="AVG"/>
        <AggregateColumn NAME="max_celldisk_small_read_latency"
                         COLUMN_NAME="c_sm_read_latency"
                         OPERATOR="MAX"/>
        <AggregateColumn NAME="sum_celldisk_small_read_latency"
                         COLUMN_NAME="c_sm_read_latency"
                         OPERATOR="SUM"/>
        <AggregateColumn NAME="avg_celldisk_small_write_latency"
                         COLUMN_NAME="c_sm_write_latency"
                         OPERATOR="AVG"/>
        <AggregateColumn NAME="max_celldisk_small_write_latency"
                         COLUMN_NAME="c_sm_write_latency"
                         OPERATOR="MAX"/>
        <AggregateColumn NAME="sum_celldisk_small_write_latency"
                         COLUMN_NAME="c_sm_write_latency"
                         OPERATOR="SUM"/>
<!-- *** -->
      </GroupBy>
    </ExecutionDescriptor>
</Metric>
<!-- ********************* Oracle CELL IORM Category Metric ************************************* -->
  <Metric NAME="Category_Statistics" TYPE="TABLE" >
    <Display>
      <Label NLSID="cell_iorm_category">Category Statistics</Label>
    </Display>
    <TableDescriptor>
       <ColumnDescriptor NAME="IORM_Category" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_category">Category</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="cellname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cellname">Cell Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="realmname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_realmname">Realm Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="iormtimestamp" TRANSIENT="TRUE" TYPE="STRING" >
         <Display>
           <Label NLSID="oracle_cell_iormtimestamp">IORM Timestamp</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="metriccolumn" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_category_metriccolumn">Metric Column</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="plantype" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_category_plantype">Plan Type</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="io_sm_requests" TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_iosmrequests">Category Small IO requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="io_sm_wait_time" TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_iosmwaittime">Category Small IO Wait Time (msec)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="io_lg_requests" TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_iolgrequests">Category Large IO requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="io_wait_lg_time" TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_iolgwaittime">Category Large IO Wait Time (msec)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="io_requests_time" TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_iorequests_time">Category IO requests Timestamp</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="c_io_sm_requests" TYPE="NUMBER"  COMPUTE_EXPR="((iormtimestamp != _iormtimestamp) ? (io_sm_requests/(io_requests_time - iormtimestamp)) : ((io_sm_requests __delta 4294967295)/(io_requests_time - _io_requests_time)))">
         <Display>
           <Label NLSID="oracle_cell_io_sm_requests">Category Small IO Requests/Sec</Label>
         </Display>
     </ColumnDescriptor>
       <ColumnDescriptor NAME="c_wait_time_per_sm_request" TYPE="NUMBER"  COMPUTE_EXPR="(io_sm_wait_time __delta 4294967295)/(io_sm_requests __delta 4294967295)">
        <Display>
          <Label NLSID="oracle_cell_wait_time_per_small_request">Category Small IO Wait/Request (msec)</Label>
        </Display>
     </ColumnDescriptor>
       <ColumnDescriptor NAME="c_io_lg_requests" TYPE="NUMBER"  COMPUTE_EXPR="((iormtimestamp != _iormtimestamp) ? (io_lg_requests / (io_requests_time - iormtimestamp)) : ((io_lg_requests __delta 4294967295)/(io_requests_time - _io_requests_time)))">
        <Display>
          <Label NLSID="oracle_cell_io_lg_requests">Category Large IO Requests/Sec</Label>
        </Display>
     </ColumnDescriptor>
       <ColumnDescriptor NAME="c_wait_time_per_lg_request" TYPE="NUMBER"  COMPUTE_EXPR="(io_wait_lg_time __delta 4294967295)/(io_lg_requests __delta 4294967295)">
        <Display>
          <Label NLSID="oracle_cell_wait_time_per_large_request">Category Large IO Wait/Request (msec)</Label>
        </Display>
     </ColumnDescriptor>
    </TableDescriptor>
     <QueryDescriptor FETCHLET_ID="OSLineToken">
       <Property NAME="perlBin" SCOPE="SYSTEMGLOBAL">perlBin</Property>
       <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property>
       <Property NAME="cell_ip_addr1" SCOPE="INSTANCE">MgmtIPAddr1</Property>
       <Property NAME="cell_ip_addr2" SCOPE="INSTANCE" OPTIONAL="TRUE">MgmtIPAddr2</Property>
       <Property NAME="command" SCOPE="GLOBAL">%perlBin%/perl %scriptsDir%/emx/oracle_cell/oracle_cell_category_metrics.pl %cell_ip_addr1% %cell_ip_addr2% </Property>
       <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property>
       <Property NAME="delimiter" SCOPE="GLOBAL">|</Property>
     </QueryDescriptor>
 </Metric>
<!-- ********************* Oracle CELL IORM Database Metric ************************************* -->
<Metric NAME="Database_Statistics" TYPE="TABLE" >
    <Display>
      <Label NLSID="cell_iorm_category">Database Statistics</Label>
    </Display>
    <TableDescriptor>
       <ColumnDescriptor NAME="IORM_Category" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_category">Database</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="cellname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cellname">Cell Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="realmname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_realmname">Realm Name</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="iormtimestamp" TRANSIENT="TRUE" TYPE="STRING" >
         <Display>
           <Label NLSID="oracle_cell_iormtimestamp">IORM Timestamp</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="metriccolumn" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_database_metriccolumn">Metric Column</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="plantype" TYPE="STRING" IS_KEY="FALSE">
         <Display>
           <Label NLSID="oracle_cell_database_plantype">Plan Type</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="io_sm_requests" TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_iosmrequests">Database Small IO requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="io_sm_wait_time" TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_iosmwaittime">Database Small IO Wait Time (msec)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="io_lg_requests" TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_iolgrequests">Database Large IO requests</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="io_wait_lg_time" TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_iolgwaittime">Database Large IO Wait Time (msec)</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="io_requests_time" TRANSIENT="TRUE" TYPE="NUMBER" >
         <Display>
           <Label NLSID="oracle_cell_iorequests_time">Database IO requests Timestamp</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="c_io_sm_requests" TYPE="NUMBER"  COMPUTE_EXPR="((iormtimestamp != _iormtimestamp) ? (io_sm_requests/(io_requests_time - iormtimestamp)) : ((io_sm_requests __delta 4294967295)/(io_requests_time - _io_requests_time)))">
        <Display>
          <Label NLSID="oracle_cell_io_sm_requests">Database Small IO Requests/Sec</Label>
        </Display>
     </ColumnDescriptor>
       <ColumnDescriptor NAME="c_wait_time_per_sm_request" TYPE="NUMBER"  COMPUTE_EXPR="(io_sm_wait_time __delta 4294967295)/(io_sm_requests __delta 4294967295)">
        <Display>
          <Label NLSID="oracle_cell_wait_time_per_small_request">Database Small IO Wait/Request (msec)</Label>
        </Display>
     </ColumnDescriptor>
       <ColumnDescriptor NAME="c_io_lg_requests" TYPE="NUMBER"  COMPUTE_EXPR="((iormtimestamp != _iormtimestamp) ? (io_lg_requests/(io_requests_time - iormtimestamp)) : ((io_lg_requests __delta 4294967295)/(io_requests_time - _io_requests_time)))">
        <Display>
          <Label NLSID="oracle_cell_io_lg_requests">Database Large IO Requests/Sec</Label>
        </Display>
     </ColumnDescriptor>
       <ColumnDescriptor NAME="c_wait_time_per_lg_request" TYPE="NUMBER"  COMPUTE_EXPR="(io_wait_lg_time __delta 4294967295)/(io_lg_requests __delta 4294967295)">
        <Display>
          <Label NLSID="oracle_cell_wait_time_per_large_request">Database Large IO Wait/Request (msec)</Label>
        </Display>
     </ColumnDescriptor>
    </TableDescriptor>
     <QueryDescriptor FETCHLET_ID="OSLineToken">
       <Property NAME="perlBin" SCOPE="SYSTEMGLOBAL">perlBin</Property>
       <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property>
       <Property NAME="cell_ip_addr1" SCOPE="INSTANCE">MgmtIPAddr1</Property>
       <Property NAME="cell_ip_addr2" SCOPE="INSTANCE" OPTIONAL="TRUE">MgmtIPAddr2</Property>
       <Property NAME="command" SCOPE="GLOBAL">%perlBin%/perl %scriptsDir%/emx/oracle_cell/oracle_cell_database_metrics.pl %cell_ip_addr1% %cell_ip_addr2% </Property>
       <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property>
       <Property NAME="delimiter" SCOPE="GLOBAL">|</Property>
     </QueryDescriptor>
 </Metric>

<!-- ********** Real-time metrics to receive CELL SNMP trap ******** -->
<!-- 3 Metrics match with the different SNMP trap in 3 different Exadata cell versions. -->
<!-- A metric should always have the same set of columns marked as key columns. -->
<!-- Here, always use keys=(alertshortname,seqid), which started from the first release. -->
<!-- the 1st SNMP trap for Exadata 11.2.1.2.6;11.2.1.3.1 and defaultRange -->
  <Metric NAME="cell_alert" TYPE="TABLE">
     <ValidIf>
	<CategoryProp NAME="VersionCategory" CHOICES="DefaultRange;11gVer1"/>
     </ValidIf>
     <Display>
      <Label NLSID="oracle_cell_alert">Cell Alert</Label>
    </Display>
    <TableDescriptor>
       <ColumnDescriptor NAME="alertshortname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_alertshortname">Alert Type</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="seqid" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_seqid">Alert Sequence</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="alerttype" TYPE="STRING" STATELESS_ALERTS="TRUE" >
         <Display>
           <Label NLSID="oracle_cellalerttype">Cell Alert</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="seqbegintime" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cellseqbegintime">Seqeuence Begin Time</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="alertbegintime" TYPE="STRING" >
	 <Display>
           <Label NLSID="oracle_cellalertbegintime">Alert Begin Time</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="severity" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cellseverity">Severity</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="msg" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cellmsg">Msg</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="notif" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cellnotif">Notification</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="examinedby" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cellexaminedby">Examined By</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="action" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cellaction">Action</Label>
         </Display>
       </ColumnDescriptor>
    </TableDescriptor>
    <PushDescriptor RECVLET_ID="SNMPTrap">
           <Property NAME="MatchEnterprise" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.2</Property>
           <Property NAME="MatchGenericTrap" SCOPE="GLOBAL">6</Property>
           <Property NAME="MatchSpecificTrap" SCOPE="GLOBAL">1</Property>
           <Property NAME="MatchAgentAddr" SCOPE="INSTANCE">MgmtIPAddr1</Property>
	   <Property NAME="KeyalertshortnameOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.7</Property>
	   <Property NAME="KeyseqidOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.1</Property>
           <Property NAME="Eventalerttype" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.10</Property>
           <Property NAME="ContextseqbegintimeOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.2</Property>
           <Property NAME="ContextalertbegintimeOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.3</Property>
           <Property NAME="ContextseverityOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.5</Property>
           <Property NAME="ContextmsgOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.6</Property>
           <Property NAME="ContextnotifOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.8</Property>
           <Property NAME="ContextexaminedbyOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.9</Property>
           <Property NAME="ContextactionOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.11</Property>
           <Property NAME="SeverityCodeOID"  SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.5;critical=CRITICAL,warning=WARNING,clear=CLEAR,info=WARNING</Property>
    </PushDescriptor>
    <PushDescriptor RECVLET_ID="SNMPTrap">
           <Property NAME="MatchEnterprise" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.2</Property>
           <Property NAME="MatchGenericTrap" SCOPE="GLOBAL">6</Property>
           <Property NAME="MatchSpecificTrap" SCOPE="GLOBAL">1</Property>
           <Property NAME="MatchAgentAddr" SCOPE="INSTANCE" OPTIONAL="TRUE">MgmtIPAddr2</Property>
	   <Property NAME="KeyalertshortnameOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.7</Property>
	   <Property NAME="KeyseqidOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.1</Property>
           <Property NAME="Eventalerttype" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.10</Property>
           <Property NAME="ContextseqbegintimeOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.2</Property>
           <Property NAME="ContextalertbegintimeOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.3</Property>
           <Property NAME="ContextseverityOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.5</Property>
           <Property NAME="ContextmsgOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.6</Property>
           <Property NAME="ContextnotifOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.8</Property>
           <Property NAME="ContextexaminedbyOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.9</Property>
           <Property NAME="ContextactionOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.11</Property>
           <Property NAME="SeverityCodeOID"  SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.5;critical=CRITICAL,warning=WARNING,clear=CLEAR,info=WARNING</Property>
    </PushDescriptor>
  </Metric>

<!-- the 2nd SNMP trap for Exadata 11.2.2.1.1;11.2.2.2.0;11.2.2.2.2 -->
<!-- added alertobject; keep keys=(alertshortname,seqid)-->
  <Metric NAME="cell_alert" TYPE="TABLE">
     <ValidIf>
	<CategoryProp NAME="VersionCategory" CHOICES="11gVer2"/>
     </ValidIf>
     <Display>
      <Label NLSID="oracle_cell_alert">Cell Alert</Label>
    </Display>
    <TableDescriptor>
       <ColumnDescriptor NAME="alertshortname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_alertshortname">Alert Type</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="seqid" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_seqid">Alert Sequence</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="alerttype" TYPE="STRING" STATELESS_ALERTS="TRUE" >
         <Display>
           <Label NLSID="oracle_cellalerttype">Cell Alert</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="seqbegintime" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cellseqbegintime">Seqeuence Begin Time</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="alertbegintime" TYPE="STRING" >
	 <Display>
           <Label NLSID="oracle_cellalertbegintime">Alert Begin Time</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="severity" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cellseverity">Severity</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="msg" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cellmsg">Msg</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="notif" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cellnotif">Notification</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="examinedby" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cellexaminedby">Examined By</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="action" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cellaction">Action</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="alertobject" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cell_alertobject">Alert Object</Label>
         </Display>
       </ColumnDescriptor>
    </TableDescriptor>
    <PushDescriptor RECVLET_ID="SNMPTrap">
           <Property NAME="MatchEnterprise" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.2</Property>
           <Property NAME="MatchGenericTrap" SCOPE="GLOBAL">6</Property>
           <Property NAME="MatchSpecificTrap" SCOPE="GLOBAL">1</Property>
           <Property NAME="MatchAgentAddr" SCOPE="INSTANCE">MgmtIPAddr1</Property>
	   <Property NAME="KeyalertshortnameOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.7</Property>
	   <Property NAME="KeyseqidOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.1</Property>
           <Property NAME="Eventalerttype" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.10</Property>
           <Property NAME="ContextseqbegintimeOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.2</Property>
           <Property NAME="ContextalertbegintimeOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.3</Property>
           <Property NAME="ContextseverityOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.5</Property>
           <Property NAME="ContextmsgOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.6</Property>
           <Property NAME="ContextnotifOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.8</Property>
           <Property NAME="ContextexaminedbyOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.9</Property>
           <Property NAME="ContextactionOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.11</Property>
	   <Property NAME="ContextalertobjectOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.12</Property>
           <Property NAME="SeverityCodeOID"  SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.5;critical=CRITICAL,warning=WARNING,clear=CLEAR,info=WARNING</Property>
    </PushDescriptor>
    <PushDescriptor RECVLET_ID="SNMPTrap">
           <Property NAME="MatchEnterprise" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.2</Property>
           <Property NAME="MatchGenericTrap" SCOPE="GLOBAL">6</Property>
           <Property NAME="MatchSpecificTrap" SCOPE="GLOBAL">1</Property>
           <Property NAME="MatchAgentAddr" SCOPE="INSTANCE" OPTIONAL="TRUE">MgmtIPAddr2</Property>
	   <Property NAME="KeyalertshortnameOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.7</Property>
	   <Property NAME="KeyseqidOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.1</Property>
           <Property NAME="Eventalerttype" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.10</Property>
           <Property NAME="ContextseqbegintimeOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.2</Property>
           <Property NAME="ContextalertbegintimeOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.3</Property>
           <Property NAME="ContextseverityOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.5</Property>
           <Property NAME="ContextmsgOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.6</Property>
           <Property NAME="ContextnotifOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.8</Property>
           <Property NAME="ContextexaminedbyOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.9</Property>
           <Property NAME="ContextactionOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.11</Property>
	   <Property NAME="ContextalertobjectOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.12</Property>
           <Property NAME="SeverityCodeOID"  SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.5;critical=CRITICAL,warning=WARNING,clear=CLEAR,info=WARNING</Property>
    </PushDescriptor>
  </Metric>

<!-- the 3rd SNMP trap for Exadata 11.2.2.3.0 -->
<!-- added incidentId, problemKey, traceFile and ExecContextId.-->
  <Metric NAME="cell_alert" TYPE="TABLE">
     <ValidIf>
	<CategoryProp NAME="VersionCategory" CHOICES="11gVer3"/> 
     </ValidIf>
     <Display>
      <Label NLSID="oracle_cell_alert">Cell Alert</Label>
    </Display>
    <TableDescriptor>
       <ColumnDescriptor NAME="alertshortname" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_alertshortname">Alert Type</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="seqid" TYPE="STRING" IS_KEY="TRUE">
         <Display>
           <Label NLSID="oracle_cell_seqid">Alert Sequence</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="alerttype" TYPE="STRING" STATELESS_ALERTS="TRUE" >
         <Display>
           <Label NLSID="oracle_cellalerttype">Cell Alert</Label>
         </Display>
       </ColumnDescriptor>

       <ColumnDescriptor NAME="seqbegintime" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cellseqbegintime">Seqeuence Begin Time</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="alertbegintime" TYPE="STRING" >
	 <Display>
           <Label NLSID="oracle_cellalertbegintime">Alert Begin Time</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="severity" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cellseverity">Severity</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="msg" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cellmsg">Msg</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="notif" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cellnotif">Notification</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="examinedby" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cellexaminedby">Examined By</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="action" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cellaction">Action</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="alertobject" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cell_alertobject">Alert Object</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="incidentId" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cellincidentId">Incident Id</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="problemKey" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cellproblemKey">Problem Key</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="traceFile" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_celltraceFile">Trace File</Label>
         </Display>
       </ColumnDescriptor>
       <ColumnDescriptor NAME="execContextId" TYPE="STRING">
         <Display>
           <Label NLSID="oracle_cellexecContextId">Exec Context Id</Label>
         </Display>
       </ColumnDescriptor>
    </TableDescriptor>
    <PushDescriptor RECVLET_ID="SNMPTrap">
           <Property NAME="MatchEnterprise" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.2</Property>
           <Property NAME="MatchGenericTrap" SCOPE="GLOBAL">6</Property>
           <Property NAME="MatchSpecificTrap" SCOPE="GLOBAL">1</Property>
           <Property NAME="MatchAgentAddr" SCOPE="INSTANCE">MgmtIPAddr1</Property>
	   <Property NAME="KeyalertshortnameOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.7</Property>
	   <Property NAME="KeyseqidOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.1</Property>
           <Property NAME="Eventalerttype" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.10</Property>
           <Property NAME="ContextseqbegintimeOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.2</Property>
           <Property NAME="ContextalertbegintimeOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.3</Property>
           <Property NAME="ContextseverityOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.5</Property>
           <Property NAME="ContextmsgOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.6</Property>
           <Property NAME="ContextnotifOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.8</Property>
           <Property NAME="ContextexaminedbyOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.9</Property>
           <Property NAME="ContextactionOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.11</Property>
	   <Property NAME="ContextalertobjectOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.12</Property>
           <Property NAME="ContextincidentIdOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.13</Property>
           <Property NAME="ContextproblemKeyOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.14</Property>
           <Property NAME="ContexttraceFileOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.15</Property>
           <Property NAME="ContextexecContextIdOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.16</Property>
           <Property NAME="SeverityCodeOID"  SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.5;critical=CRITICAL,warning=WARNING,clear=CLEAR,info=WARNING</Property>
    </PushDescriptor>
    <PushDescriptor RECVLET_ID="SNMPTrap">
           <Property NAME="MatchEnterprise" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.2</Property>
           <Property NAME="MatchGenericTrap" SCOPE="GLOBAL">6</Property>
           <Property NAME="MatchSpecificTrap" SCOPE="GLOBAL">1</Property>
           <Property NAME="MatchAgentAddr" SCOPE="INSTANCE" OPTIONAL="TRUE">MgmtIPAddr2</Property>
	   <Property NAME="KeyalertshortnameOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.7</Property>
	   <Property NAME="KeyseqidOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.1</Property>
	   <Property NAME="Eventalerttype" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.10</Property>
           <Property NAME="ContextseqbegintimeOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.2</Property>
           <Property NAME="ContextalertbegintimeOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.3</Property>
           <Property NAME="ContextseverityOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.5</Property>
           <Property NAME="ContextmsgOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.6</Property>
           <Property NAME="ContextnotifOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.8</Property>
           <Property NAME="ContextexaminedbyOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.9</Property>
           <Property NAME="ContextactionOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.11</Property>
	   <Property NAME="ContextalertobjectOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.12</Property>
           <Property NAME="ContextincidentIdOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.13</Property>
           <Property NAME="ContextproblemKeyOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.14</Property>
           <Property NAME="ContexttraceFileOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.15</Property>
           <Property NAME="ContextexecContextIdOID" SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.16</Property>
           <Property NAME="SeverityCodeOID"  SCOPE="GLOBAL">1.3.6.1.4.1.111.16.1.1.1.5;critical=CRITICAL,warning=WARNING,clear=CLEAR,info=WARNING</Property>
    </PushDescriptor>
  </Metric>

<!-- Define InstanceProperties -->
   <InstanceProperties>
    <InstanceProperty NAME="MgmtIPAddr1" OPTIONAL="FALSE">
      <Display>
        <Label NLSID="MgmtIPAddr1">Management IP Address 1</Label>
      </Display>
    </InstanceProperty>
    <InstanceProperty NAME="MgmtIPAddr2" OPTIONAL="TRUE">
      <Display>
        <Label NLSID="MgmtIPAddr2">Management IP Address 2</Label>
      </Display>
    </InstanceProperty>

<!-- Define DynamicProperties -->
   <DynamicProperties NAME="GetVersion" FORMAT="ROW" PROP_LIST="releaseVersion">
     <QueryDescriptor FETCHLET_ID="OSLineToken">
       <Property NAME="perlBin" SCOPE="SYSTEMGLOBAL">perlBin</Property>
       <Property NAME="scriptsDir" SCOPE="SYSTEMGLOBAL">scriptsDir</Property>
       <Property NAME="cell_ip_addr1" SCOPE="INSTANCE">MgmtIPAddr1</Property>
       <Property NAME="cell_ip_addr2" SCOPE="INSTANCE" OPTIONAL="TRUE">MgmtIPAddr2</Property>
       <Property NAME="command" SCOPE="GLOBAL">%perlBin%/perl %scriptsDir%/emx/oracle_cell/oracle_cell_exadata_version.pl %cell_ip_addr1% %cell_ip_addr2% </Property>
       <Property NAME="startsWith" SCOPE="GLOBAL">em_result=</Property>
       <Property NAME="delimiter" SCOPE="GLOBAL">|</Property>
     </QueryDescriptor>
    </DynamicProperties>

    <DynamicProperties NAME="ComputeVC" FORMAT="ROW" IS_CRITICAL="TRUE" PROP_LIST="VersionCategory">
      <QueryDescriptor FETCHLET_ID="VersionRangeComputer">
	<Property NAME="Version" SCOPE="INSTANCE" OPTIONAL="TRUE">releaseVersion</Property>
        <Property NAME="DefaultRange" SCOPE="GLOBAL">11gVer1</Property>
	<Property NAME="11gVer1" SCOPE="GLOBAL">11.2.1.2.6;</Property>
	<Property NAME="11gVer2" SCOPE="GLOBAL">11.2.2.1.1;</Property>
	<Property NAME="11gVer3" SCOPE="GLOBAL">11.2.2.3.0;</Property>
      </QueryDescriptor>
     </DynamicProperties>
  </InstanceProperties>

</TargetMetadata>
