This is the latest documentation for BMC Helix Network Management (formerly known as Netreo).

 

Regular expressions


BMC Helix Network Management uses regular expressions (regex) in many areas throughout the product. But not all fields accept all regex. This page identifies the acceptable regex for different areas of the product.

Threshold Check Configuration

SUBSTRING field

The Substring field uses a regex rule to check each instance description and determine whether the threshold applies. Use the following rules to understand how the Substring field pattern works:

  • Matching is case insensitive.
  • If the pattern matches the instance description, the threshold applies.
  • If the field is empty, the threshold applies to all instances.
  • To exclude instances, use a negative lookahead pattern.

The table below shows examples of how different patterns match instance descriptions:

PatternWhat it matchesNotes
eth0Any description containing “eth0”Case insensitive
bandwidth“Bandwidth on Netreo Core eth0”Partial match
Latency.*Local“Round trip Latency for Local1”Matches “Latency” → any characters → “Local”
(empty)All instancesNo filtering

The table below shows how these patterns exclude certain instances:

PatternWhat it matchesNotes
^(?!.*eth0)All instances except those containing “eth0”Excludes eth0
^(?!.*swap)All instances except those containing “swap”Excludes swap

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Helix Network Management