savuka1
1 Copper

ICMPONLY dmctl command

Jump to solution

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

0 Kudos
1 Solution

Accepted Solutions
FredericMeunier
3 Argentium

Re: ICMPONLY dmctl command

Jump to solution

Hi,

loot at the ICF_TopologyManager singleton :

     ICF_TopologyManager::ICF-TopologyManager

and use the addPending method :

     addPending( <IP>, "", <TEXTE_TO_DESCRIBE_WHO_DID_WHAT>, '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

0 Kudos
3 Replies
VipinParambath
1 Copper

Re: ICMPONLY dmctl command

Jump to solution

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 <server> invoke Host:ysdev30 setAccessMode ICMPONLY"

Hope this helps.

Regards,

Vipin

0 Kudos
FredericMeunier
3 Argentium

Re: ICMPONLY dmctl command

Jump to solution

Hi,

loot at the ICF_TopologyManager singleton :

     ICF_TopologyManager::ICF-TopologyManager

and use the addPending method :

     addPending( <IP>, "", <TEXTE_TO_DESCRIBE_WHO_DID_WHAT>, '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

0 Kudos
savuka1
1 Copper

Re: ICMPONLY dmctl command

Jump to solution

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

0 Kudos