UNSOLVED

DesmondKoh

updated

17 years ago

1

3632

July 9th, 2009 07:00

Java API for Discovery

Hi,

I am new to EMC Smarts... just would like to find out if there is any Java API that can trigger/initiate the discovery of new device?

Thanks

Regards

Desmond

  • 378

    1

    Posted July 13th, 2009 06:00

    Hi,

    in order to add device to the pending list, you should use the :

         ICF_TopologyManager

    object.

    This is a singleton, per DM. Unique instance is :

         ICF_TopologyManager::ICF-TopologyManager

    ( or first element of the table return by getInstance(ICF_TopologyManager) ).

         dmctl -s getop ICF_TopologyManager

    will give you the signature of the method :

         addPending

    then make a call to method (from ICF_TopologyManager) :

         discoverPending

    HTH,

    --Fred

    == Monitor your Smarts environment using APG ReportPack for Smarts health  ==
    Frederic Meunier
    Solutions Watch4Net Inc
    APG & Smarts InCharge integration
  • ejpren

    15 Posts

    378

    0

    Posted December 7th, 2009 12:00

    I too am attempting to add to the pendinG list using dmctl.   Could you help me understand how to format the command?  I have tried the following so far, without success.   I get "  Invalid command 'ICF_TopologyManager' -- try again.  "

    dmctl -s AMPM-5-3 ICF_TopologyManager::ICF-TopologyManager addPending st-12168-h1

    dmctl -s AMPM-5-3 ICF_TopologyManager addPending st-12168-h1

    dmctl -s AMPM-5-3 addPending st-12168-h1

    Also, what is "snmpSource"?   I do not see that attribute in my devices that are already added to Smarts.

  • 378

    0

    Posted December 8th, 2009 06:00

    dmctl -s invoke ::

    --Fred