Package ZenRRD :: Module zenprocess
[hide private]
[frames] | no frames]

Module zenprocess

source code

Classes [hide private]
  ScanFailure
  Pid
Helper class to track process id information
  Process
Track process-specific configuration data
  Device
Track device data
  zenprocess
Daemon class to connect to an SNMP agent and determine the processes that are running on that server.
Functions [hide private]
 
reverseDict(d)
Return a dictionary with keys and values swapped: all values are lists to handle the different keys mapping to the same value
source code
 
chunk(lst, n)
Break lst into n-sized chunks
source code
Variables [hide private]
  __doc__ = """zenproc...
  log = logging.getLogger("zen.zenprocess")
  SnmpConnInfo = SnmpConnInfo
  HOSTROOT = '.1.3.6.1.2.1.25'
  RUNROOT = HOSTROOT+ '.4'
  NAMETABLE = RUNROOT+ '.2.1.2'
  PATHTABLE = RUNROOT+ '.2.1.4'
  ARGSTABLE = RUNROOT+ '.2.1.5'
  PERFROOT = HOSTROOT+ '.5'
  CPU = PERFROOT+ '.1.1.1.'
  MEM = PERFROOT+ '.1.1.2.'
  DEFAULT_PARALLEL_JOBS = 10
  WRAP = 0xffffffffL
Variables Details [hide private]

__doc__

Value:
"""zenprocess

Gets SNMP process data from a device's HOST-RESOURCES-MIB
and store process performance in RRD files.
"""