Package DataCollector :: Module CollectorClient
[hide private]
[frames] | no frames]

Module CollectorClient

source code

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 $




Version: 1.5

Classes [hide private]
  CollectorClient
Functions [hide private]
 
buildOptions(parser=None, usage=None)
build options list that both telnet and ssh use
source code
 
parseOptions(parser, port) source code
Variables [hide private]
  __doc__ = """CollectorCli...
  log = logging.getLogger("zen.CmdClient")
  defaultUsername = 'mirlan'
  defaultPassword = ''
  defaultLoginTries = 1
  defaultLoginTimeout = 10
  defaultCommandTimeout = 10
  defaultKeyPath = '~/.ssh/id_dsa'
  defaultSearchPath = []
  defaultExistanceTest = 'test -f %s'
Variables Details [hide private]

__doc__

Value:
"""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
...