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

Module ZenEvents.zentrap

zentrap

Creates events from SNMP Traps.

$Id$
Classes
ZenTrap Listen for SNMP traps and turn them into events

Function Summary
  extract(obj, path, default)
  grind(obj)
Chase an object down to its value.

Variable Summary
str __version__ = ''
int TRAP_PORT = 162                                                                   

Function Details

grind(obj)

Chase an object down to its value.

Example: getting a timeticks value:

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

becomes:

   ticks = grind(obj)

Variable Details

__version__

Type:
str
Value:
''                                                                     

TRAP_PORT

Type:
int
Value:
162                                                                   

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