logengine crashes on syslog entries from a Cisco ASA device

Bug #1079088 reported by Morten Brekkevold
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Network Administration Visualized
Fix Released
Medium
Morten Brekkevold

Bug Description

When this line is encountered in the parsed syslog, the logengine crashes:

Nov 13 11:21:02 10.0.1.15 : %ASA-3-321007: System is low on free memory blocks of size 8192 (0 CNT out of 250 MAX)

This is the logged traceback:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/nav/logengine.py", line 342, in parse_and_insert
    exceptionorigin, exceptiontype, exceptiontypeorigin)
  File "/usr/lib/pymodules/python2.6/nav/logengine.py", line 362, in insert_message
    database)
  File "/usr/lib/pymodules/python2.6/nav/logengine.py", line 419, in add_type
    (typeid, facility, mnemonic, priorityid))
IntegrityError: null value in column "facility" violates not-null constraint

Tags: logengine
Changed in nav:
status: Confirmed → In Progress
Revision history for this message
Morten Brekkevold (mbrekkevold) wrote :
Changed in nav:
status: In Progress → Fix Committed
milestone: none → 3.12.4
Changed in nav:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.