This article explains ways to print the list of devices in discovery Pending list in Smarts via the command line and ASL script
All Supported Smarts Releases
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
manager = object(getInstances("ICF_TopologyManager")[0]);
pending = manager->PendingManagedBy;
START()
{
.. eol
}
do
{
print(" Pending List ");
foreach x (pending->getPending())
{
print(" ".x);
}
}
./sm_adapter --verify getPending.asl
./sm_adapter -s <server> getPending.asl