Package Products :: Package ZenModel :: Module actions :: Class SNMPTrapAction |
[hide private]
[frames] | no frames]

# Class SNMPTrapAction

source code

     object --+
              |
    IActionBase --+
                  |
                 SNMPTrapAction

Instance Methods | [hide private]
setupAction(self, dmd) | source code
execute(self, notification, signal) Send out an SNMP trap according to the definition in ZENOSS-MIB. | source code
_sendTrap(self, notification, data, event) | source code
createEventDict(self, fields, event) Create an event dictionary suitable for Python evaluation. | source code
processEventDict(self, eventDict, data, dmd) Integration hook | source code
makeVarBinds(self, baseOID, fields, eventDict) Make the SNMP variable bindings in numeric order. | source code
updateContent(self, content=None, data=None) | source code
_getSession(self, content) | source code
Inherited from `IActionBase`: `configure`, `generateJavascriptContent`, `getDefaultData`, `getInfo`

Class Variables | [hide private]
| id = `'trap'`
| name = `'SNMP Trap'`
| actionContentInfo = `ISnmpTrapActionContentInfo`
| _sessions = `{}`