Support for regex used in DX NetOps Performance Management Group Rules

book

Article ID: 221597

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

During rule creation for group device population, I use the wildcard character '*' often, but I'm wondering if there's a way to specify a specific number of "any character"?

What regex is supported for DX NetOps Performance Management Portal web UI Group Rules using "matches regex" condition type?

What regex is supported for DX NetOps Performance Management Portal web UI Group Rules using "does not match regex" condition type?

Environment

All supported DX NetOps Performance Management releases

Resolution

The Group Rule "matches regex" and "does not match regex" Condition values support the same regex usage that MySql does.

The latest r21.2.x versions of DX NetOps utilized MySql version 5.7. The details for regex support for that MySql release are found on their Pattern Matching documentation page.

Additional Information

We recommend not using regex conditions if they are not needed.

If able to use the other values they are often much faster where applicable.

For example a common regex matches condition value might be something like "^.*blah.*$". This is the same as using the 'is like' condition with a value set to "%blah%". Or using something like regex matches value "^.*blah", which is same as starts with blah, aka 'is like' value "blah%".

Both options would return the same results set, but the ones that don't use regex will run faster.