Package ZenRRD :: Module zencommand
[show private | hide private]
[frames | no frames]

Module ZenRRD.zencommand

ZenCommand

Run Command pluggins periodically.

$Id$
Classes
Cmd Holds the config of every command to be run
CommandConfig  
MySshClient Connection to SSH server at the remote device
Options  
ProcessRunner Provide deferred process execution
SshPool Cache all the Ssh connections so they can be managed
SshRunner Run a single command across a cached Ssh connection
zencommand  

Exceptions
TimeoutError Error for a defered call taking too long to complete

Function Summary
  Timeout(deferred, seconds, obj)
Cause an error on a deferred when it is taking too long to complete

Variable Summary
str __version__ = ''
SRE_Pattern CacParser = ([^ :']+|'(.*)'+):([-0-9\.]+)
dict EXIT_CODE_MAPPING = {0: 'Success', 1: 'General error', 2...
Logger log = <logging.Logger instance at 0x37759b8>
int MAX_CONNECTIONS = 256                                                                   
SRE_Pattern NagParser = ([^ =']+|'(.*)'+)=([-0-9\.]+)([^;]*;?){,5}

Function Details

Timeout(deferred, seconds, obj)

Cause an error on a deferred when it is taking too long to complete

Variable Details

__version__

Type:
str
Value:
''                                                                     

CacParser

Type:
SRE_Pattern
Value:
([^ :']+|'(.*)'+):([-0-9\.]+)                                          

EXIT_CODE_MAPPING

Type:
dict
Value:
{0: 'Success',
 1: 'General error',
 2: 'Misuse of shell builtins',
 126: 'Command invoked cannot execute, permissions problem or command \
is not an executable',
 127: 'Command not found',
 128: 'Invalid argument to exit, exit takes only integers in the range\
 0-255',
...                                                                    

log

Type:
Logger
Value:
<logging.Logger instance at 0x37759b8>                                 

MAX_CONNECTIONS

Type:
int
Value:
256                                                                   

NagParser

Type:
SRE_Pattern
Value:
([^ =']+|'(.*)'+)=([-0-9\.]+)([^;]*;?){,5}                             

Generated by Epydoc 2.1 on Thu Aug 16 09:55:09 2007 http://epydoc.sf.net