savuka1

updated

16 years ago

S

savuka1

20 Posts

0

1244

October 22nd, 2010 04:00

ICMPONLY dmctl command

Hi All,

I am trying to add ICMPONLY devices to SMARTS and was not sure how todo this using dmctl.

Any help would be much appreciated.

J

  • 616

    0

    Posted October 22nd, 2010 05:00

    Hi,

    loot at the ICF_TopologyManager singleton :

         ICF_TopologyManager::ICF-TopologyManager

    and use the addPending method :

         addPending( , "", , 'TM_EXTERNAL', 'TM_NONSNMP', 161, "ICMPONLY" )

    then start the discovery:

         discoverPending();

    HTH,

    --Fred

    == APG5 ReportPack4Event for Smarts can report on millions of notifications in seconds ==
    Frederic Meunier
    Solutions Watch4Net Inc
    APG & Smarts InCharge integration
    http://www.watch4net.com

  • 616

    0

    Posted October 22nd, 2010 05:00

    Hi Savuka,

    I have the information that the Access mode during discovery of specific host can be set to ICMPONLY with the below mentioned dmctl command

    " dmctl -s 'server' invoke 'Class'::'Instance' setAccessMode ICMPONLY "

    example : "dmctl -s invoke Host:ysdev30 setAccessMode ICMPONLY"

    Hope this helps.

    Regards,

    Vipin

  • savuka1

    20 Posts

    616

    0

    Posted October 22nd, 2010 06:00

    Hi

    Thanks Frederic

    That is what I though, but did not have the syntax correctly defined

    The other thing that also needs to be configured is the discovery.conf file in the local directory and the below option needs to be set to true

    ShowPendingNONSNMP

    Thanks

    J