Smarts: How to search for System name or IP address using the CLI?
search cancel

Smarts: How to search for System name or IP address using the CLI?

book

Article ID: 332240

calendar_today

Updated On:

Products

VMware Smart Assurance

Environment

VMware Smart Assurance - SMARTS

Resolution

To use similar query like findSystem in user interface, the equivalent command line option is to use findComputerSystem method.
This method takes ipaddress or systemname as an argument.
 
cli example
 
dmctl  -s <server-name> invoke ICIM_ObjectFactory::ICIM-ObjectFactory findComputerSystem  "192.xxx.xx.x"
 
dmctl -s <server-name> invoke ICIM_ObjectFactory::ICIM-ObjectFactory findComputerSystem  "bpqwsw-ltr.lss.emc.com"
 
This is the equivalent to be used for findSystem interface used in user interface