snmptrapd fails to decode certain SNMPv1 traps
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Network Administration Visualized |
Fix Released
|
High
|
Morten Brekkevold |
Bug Description
snmptrapd will fail to decode some SNMPv1 traps. This appears to have been introduced in NAV 3.6, with the rewritten TrapListener for PySNMP-SE.
This is the traceback from the log:
[2011-01-11 11:31:21,469] [ERROR] [pid=2418 nav.snmptrapd.
Traceback (most recent call last):
File "/var/lib/
trap = self._decode(
File "/var/lib/
snmp_trap_oid, generic_type = transform(pdu)
File "/var/lib/
snmp_trap_oid = enterprise + [0] + pdu.apiAlphaGet
TypeError: can only concatenate list (not "int") to list
The last element of the concatenation is an int, not a list, which is what causes this.
Changed in nav: | |
status: | Fix Committed → Fix Released |
fix here: http:// metanav. uninett. no/hg/series/ 3.7.x/rev/ 8ff847c55920