Smarts: The dmctl "findInstances" command is not working
search cancel

Smarts: The dmctl "findInstances" command is not working

book

Article ID: 304312

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:




The following Smarts dmctl findInstances command is not working:

dmctl -s <domain> findInstances Interface::IF-myRouter*



Environment

VMware Smart Assurance - SMARTS

Cause

Invalid command syntax.

Resolution

To resolve this issue specify .* (with a "period" preceding the asterisk) instead of just * as in the following:

dmctl -s <domain> findInstances Interface::IF-myRouter.*

It is also good practice to put the expression in quotes as in the following:

dmctl -s <domain> findInstances Interface::"IF-myRouter".*