How to configure Alarm policies with a RegEx or Pattern filter to include specific drive(s)
search cancel

How to configure Alarm policies with a RegEx or Pattern filter to include specific drive(s)

book

Article ID: 275724

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

I have a Windows and Unix group and need to configure alarm policies for specific drives using the Regex or Pattern option available in Select Component 

Windows group example: A policy for C:\ and another with one with D:\, E:\, F:\.

Unix group example:  A policy for / and another with one with both / and /boot/efi

Example:

 

 

Environment

Any UIM version

Resolution

Windows filter for a single drive: /^(C:\\)$/ or ^(C:)[\\]

Windows filter for multiple drives: /^(D:\\|E:\\|F:\\)$/ or ^(D:|E:|F:)[\\]

Unix filter for a single drive: /^(\/)$/

Unix filter for multiple drives: /^(\/|\/boot\/efi)$/