
Application Discovery Manager Administration Guide
52 VMware, Inc.
Examples:
To probe target IP 1.2.3.4 on UNIX using protocol SSH
./single.sh -P \"ssh:username=root,password=54321\" -a 1.2.3.4
./single.sh -P \"ssh:username=root\" -a 1.2.3.4
(Apasswordwillberequestedbytheapplicationinteractivelywithoutechoing.)
To probe target IP 1.2.3.4 on UNIX using protocol TELNET
./single.sh -P \"telnet:username=root,password=54321\" -a 1.2.3.4
To probe target IP 1.2.3.4 on UNIX using protocol SNMP
./single.sh -P \"snmp:communityString=public\" -a 1.2.3.4
To probe target IP 1.2.3.4 on Windows using protocol WMI
single.bat -P \"wmi:domain=il.nlayers.com,username=administrator,password=54321\" -a 1.2.3.4
(defaultlocatorcredentialswillbeusedfrompropertiesfile)
To probe target IP 1.2.3.4 using protocol VI-SDK
./single.sh -P \"visdk:username=administrator,password=54321\" -a 1.2.3.4
Createdebugpackage:
single.sh -a address -P Access profile
Readfromplaybackfile:
single.sh -r filename
Accessprofilecanhaveoneofthefollowingformats:
NameofaDetailDiscoverypolicy.InthiscasethenecessaryinformationisreadfromaDetailDiscovery
policydefinedintheuserconsole.
Fulldefinitionoftheneededdiscoverydetailsinaprotocol‐specificformat:
protocol-name:prop1=value1,prop2=value2,...
Thefollowingprotocolnamesaresupported:SSH,Telnet,SNMP,VI‐SDKandWMI.
Inaddition,allprotocolssupportsthe‐ timeoutparameterwithadefaultvalueof20000milliseconds.Theports
parameterissupportedforallprotocolsexceptWMIandVI‐SDK,withdefaultportsof22forSSH,23for
Telnet,
and161forSNMP.
-T, -translator Discovery result
translator class
Specifythediscoveryresulttranslatorclass.Predefinedtranslators
areavailablethroughtheiraliases,forexample:
class
com.nlayers.seneca.ap.mediation.DoNothingDiscoveryResult
Translatoradm
class
com.nlayers.seneca.ap.mediation.cim.AdmToCimXmlDiscove
ryResultTranslatorcimxml
class
com.nlayers.seneca.ap.mediation.cim.AdmToCimDiscoveryR
esultTranslatorcimareavailable
Valuesinbracketsarealiases
-v, verbosehelp Printverbosehelp.
-w, -wait Slowsdownplaybacktobethesamedurationastheoriginal
execution.
Table 8-1. single.sh Parameters (Continued)
Parameter Description
Commentaires sur ces manuels