Hi,

you can use action codes for the discovery:

update action=action_code [watch=watch_id] [mh=modelhandle] 
[index=index,[attr=attr_id],type=attr_desc_type,val=value ...]

The action code you search for is
Discover Connection                     0x1d0001    (Discover Connections)

The cli command should be "update action=0x1d0001 mh=0x..."

Regards
--
Christoph Keßler          amasol AG
Senior-Consultant         Campus Neue Balan
Tel   +49 89 1894743-24   Claudius-Keller-Straße 3 B
Fax   +49 89 1894743-99   D-81669 München
eMail [email protected]<mailto:[email protected]>   http://www.amasol.de

amasol Aktiengesellschaft für Informations- und Kommunikationstechnologie
Aufsichtsrat: Dr. Stephan Kaiser (Vorsitzender)
Vorstand: Wolfgang Bachmann, Stefan Deml, Thomas Dirsch, Frank Jahn, Johann 
Maurer Amtsgericht München HRB 128327, Sitz der Gesellschaft München

Von: Michael Harris [mailto:[email protected]]
Gesendet: Mittwoch, 14. Dezember 2011 23:02
An: spectrum
Betreff: [spectrum] Spectrum Command line Discovery

Does anyone know if it is possible to create discoveries via CLI?

I have a customer that has written some scripts to pull specific subnet ranges 
off his routers (lots of them).  He would like to be able to use the output to 
populate a discovery without having to go through the gui over and over and 
over again.

Thanks,
Mike


 *   --To unsubscribe from spectrum, send email to 
[email protected]<mailto:[email protected]> with the body: unsubscribe spectrum 
[email protected]<mailto:[email protected]>

---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

Reply via email to