Regex for Custom file system monitoring
search cancel

Regex for Custom file system monitoring

book

Article ID: 132370

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

The file systems to monitor are defined in regex and there are numerous variations of these sap based file sytems  /db2/*/sapdata* that need monitored. Example:   /db2/IT2/sapdata1 through /db2/IT2/sapdata4. This document provides an example regex statement based on the specific scenairo discussed here.

I have multiple file systems separated by a single numeral and will like the recommended regex entry to capture them and alert when they reach their diskfull threshold.
An example as below:
Identify the below file systems to scan for this: 
/db2/IT1/sapdata1 
/db2/IT1/sapdata2 
/db2/IT1/sapdata3 
/db2/IT1/sapdata4 

Environment

UIM 8.5.1 
CMD 6.33, 6.42 

Resolution

The regex statement /(^/db2/.*/sapdata.$)/ alerts on the disk full threshold for the 4 file systems above separated by a numeral at the end.