ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

UIM vmware probe template : VM name based "OR" example using regex

book

Article ID: 112376

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

if you want one template to apply some selective VMs and "OR" like expression is required to define VMs selection,
you can use Regular Expression.

NOTE
This KB is applicable when you are using Admin Console based template for vmware probe.
This KB is not applicable when you are using Infrastructure Managed based GUI for vmware probe.


 

Environment

vmware probe 6.87

Resolution

Example

You want to apply template VM name (label) contains "2008r2" or "2012r2" or "2016"

 

[Type] Label

[Condition] Regex

[Value] .*2008r2.*|.*2012r2.*|.*2016.*
 

NOTE
The value for Regex is CASE SENSITIVE.
*2008R2* does not match in this example.