Getting a list of devices on the Discovery Pending list via command line.
search cancel

Getting a list of devices on the Discovery Pending list via command line.

book

Article ID: 303772

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:Discovery Pending list in Smarts via the command line.

  • How to get a list of devices on the Discovery Pending list in Smarts via the command line.
  • How to dump a list of the devices on the Discovery Pending list via the command line.

Environment

SMARTS-10.1.x

Resolution

1) You can run the following command from BASEDIR/smarts/bin:


     ./dmctl -s <AM_domain> geti AD_PendingData |tee


This command will output to the screen the list of devices on the Discovery Pending list.

2) Running the following command will create a file called pending.txt in BASEDIR/smarts/bin which will contain a list of all devices on the pending list.


     ./dmctl -s <AM_domain> geti AD_PendingData > pending.txt

3) To get a more detailed list of devices on the Pending List, you could run the following command:


     ./dmctl -s <AM_domain> invoke AD_Pending::AD-Pending getPending |tee