I'm having problem getting syslog messages inserted into the database.
cisco.log under /var/log/nav is being populated as it supposed, and truncated every minute, but no data get inserted into the tables.
When i run logengine.py manually i get this result:
Traceback (most recent call last): File "logengine.py", line 298, in ? message = createMessage(line) File "logengine.py", line 123, in createMessage oritime = DateTime.DateTime(year,month,day,hour,min) TypeError: an integer is required
I'm using NAV 3.5.2 upgraded from 3.5.0
Ronny Raudstein Kvinnherad Kommune
On Thu, 19 Mar 2009 10:15:29 +0100 (CET) ronny.raudstein@kvinnherad.kommune.no wrote:
I'm having problem getting syslog messages inserted into the database.
cisco.log under /var/log/nav is being populated as it supposed, and truncated every minute, but no data get inserted into the tables.
Do you have a copy of any of the disappearing log messages?
When i run logengine.py manually i get this result:
Traceback (most recent call last): File "logengine.py", line 298, in ? message = createMessage(line) File "logengine.py", line 123, in createMessage oritime = DateTime.DateTime(year,month,day,hour,min) TypeError: an integer is required
I'm using NAV 3.5.2 upgraded from 3.5.0
The logengine appears to be crashing because it is having problems parsing dates in your log entries. I would like to see some of those log entries. Feel free to censor any sensitive information with X'es.