| Trees | Index | Help |
|
|---|
| Package DataCollector :: Module CollectorClient |
|
CollectorClient
Base class for Telnet and Ssh client collectors
Device Tree Parameters are:
zCommandLoginTries - number of times to try login default: 1
zCommandPathList - list of path to check for a command
zCommandExistanceCheck - shell command issued to look for executible
must echo succ if executible is found
default: test -f executible
$Id: CollectorClient.py,v 1.5 2004/04/05 02:05:30 edahl Exp $
| Classes | |
|---|---|
CollectorClient |
|
| Function Summary | |
|---|---|
build options list that both telnet and ssh use | |
parseOptions(parser,
port)
| |
| Variable Summary | |
|---|---|
str |
__version__ = '1.5'
|
int |
defaultCommandTimeout = 10 |
str |
defaultExistanceTest = 'test -f %s'
|
str |
defaultKeyPath = '~/.ssh/id_dsa'
|
int |
defaultLoginTimeout = 10 |
int |
defaultLoginTries = 1 |
str |
defaultPassword = ''
|
list |
defaultSearchPath = []
|
Logger |
log = <logging.Logger instance at 0x37c90f8>
|
| Function Details |
|---|
buildOptions(parser=None, usage=None)build options list that both telnet and ssh use |
| Variable Details |
|---|
__version__
|
defaultCommandTimeout
|
defaultExistanceTest
|
defaultKeyPath
|
defaultLoginTimeout
|
defaultLoginTries
|
defaultPassword
|
defaultSearchPath
|
log
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Aug 16 09:55:09 2007 | http://epydoc.sf.net |