Include filesystem in monitoring - CDM

book

Article ID: 193099

calendar_today

Updated On:

Products

NIMSOFT PROBES DX Infrastructure Management

Issue/Introduction

We have ignored all the FileSystems related to /opt in our environment but we want a specific FileSystem relating to /opt to be monitored.

Ex - /opt/ibm/xxx should be monitored and rest all to be ignored.

Environment

Release : 9.0.2

Component : UIM - CDM WITH IOSTAT

Resolution

The following regex in the section of the cdm.cfg file will allow you to configure the cdm probe to exclude monitoring of all file systems under /opt other than than the /opt/ibm/xxx filesystem:

                    ignore_filesystem = /^\/opt\/(?!(ibm\/xxx)).*$/

Note that this will allow monitoring of the /opt/ibm/xxxx file system if it exists. If these also need to be excluded, then the following regex should be used instead:

                    ignore_filesystem = /^\/opt\/(?!(ibm\/xxx$)).*$/

You may verify regex expressions at https://regex101.com/ or any other tool