syslog-ng

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
steveburton
Posts: 2
Joined: Wed Nov 21, 2007 5:30 pm

syslog-ng

Post by steveburton »

I have yet to be sucessful in getting syslog-ng to log entries into my mysql database.

I am running version 0.8.7a, and the latest plugin arch.

I just can't seem to get the syslog-ng to write to the pipe, and have the db pick it up.

If someone could post there config, that would be great.
steagu
Posts: 37
Joined: Thu Nov 15, 2007 12:15 pm
Location: Manchester, United Kingdom

Post by steagu »

I haven't used syslog-ng but I did use Kiwi on Windows which, I believe, is very similar to syslog-ng.

Doing a quck read on syslog-ng it appears that only the premium version support database logging. Are you using the premium version?

If you are using the premium version, you may have to modify the sql script (syslog.sql) that creates the initial Syslog Databases for you. I had to change the following line:
priority varchar(10) default NULL

to

priority varchar(20) default NULL

for all the databases that get created.

If you've already created that database, you can use mysql commands to change the value on all databases.

Hope that helps
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest