How to enable cdm to automatically monitor new disks

Document ID : KB000034631
Last Modified Date : 14/02/2018
Show Technical Document Details

 

Introduction:

Below is a basic guide to create cdm templates that will set default settings for disks. This includes local disks and NFS disks.

 

Environment:  

CDM: 5.x

Unified Infrastructure Management (UIM): 8.x

 

Instructions: 

To enable monitoring of any newly added disk, follow these steps:

1.Drag and drop the cdm probe from the robot into the archive. When prompted, choose Configuration Only and rename the probe. Example name "_cdm_cfg"
 
2. Locate the _cdm_cfg file in the archive, right click and select "Edit"
3. Right click the cdm.cfg under the "Files" tab - Select "Edit File". The cdm.cfx will now pop up in an editor.
3. Modify the cdm.cfx for the cdm probe on a robot where it is deployed so that the fixed_default section contains your required settings for the highlighted values shown in the following example. If you wish to monitor the size of nfs disks, set nfs_space_check to yes, like below. 
<disk>
   <fixed_default>

 

      active = yes
      qos_disk_usage = yes
      qos_disk_usage_perc = yes

      percent = yes
      qos_inode_usage = no
      qos_inode_usage_perc = no
      inode_percent = yes
      nfs_space_check = yes
      delta_calculate_all = yes
      delta_type = both
      qos_disk_delta = no
      <error>
         active = yes
         threshold = 10

         message = DiskError
      </error>
      <warning>
         active = yes
         threshold = 20

         message = DiskWarning
      </warning>
      <inode_error>
         active = no
         threshold = 10
         message = InodeError
      </inode_error>
      <inode_warning>
         active = no
         threshold = 20
         message = InodeWarning
      </inode_warning>
      <missing>
         active = yes
         message = DiskMissing
      </missing>
      <delta_error>
         active = no
         threshold = 10
         message = DeltaError
      </delta_error>
      <delta_warning>
         active = no
         threshold = 8
         message = DeltaWarning
      </delta_warning>
   </fixed_default>
</disk>

4.  If you wish to reconfigure existing monitoring to overwrite the previous disk configuration with the fixed_default properties - add the following before <fixed_default>. You will lose any previous data in the <fixed> settings in the cdm.cfg.
 
<fixed>clear
</fixed>

        5.   You can then deploy this configuration to target servers either as a standalone configuration or as part of a super-package.
 

Additional Information: