Package ZenEvents :: Module zentrap
[hide private]
[frames] | no frames]

Module zentrap

source code

zentrap

Creates events from SNMP Traps.

$Id$


Version:  

Classes [hide private]
  ZenTrap
Listen for SNMP traps and turn them into events
Functions [hide private]
 
grind(obj)
Chase an object down to its value.
source code
 
extract(obj, path, default=None) source code
Variables [hide private]
  __doc__ = '''zent...
  TRAP_PORT = 162
Function Details [hide private]

grind(obj)

source code 
Chase an object down to its value.

Example: getting a timeticks value:

   ticks = obj['value']['application_syntax']['timeticks_value'].get()

becomes:

   ticks = grind(obj)


Variables Details [hide private]

__doc__

Value:
'''zentrap

Creates events from SNMP Traps.

$Id$
'''