Syslog plugin help needed

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
ebjers
Posts: 3
Joined: Mon Jul 09, 2007 8:39 pm

Syslog plugin help needed

Post by ebjers »

OS: Fedora 7
CACTI V 0.8.6j
SYSLOG Plugin 0.4

I have installed the syslog plugin and have the syslog tab on my cacti page. I also have syslog-ng installed.

I am having trouble finding god instructions on how to setup the DB for the syslog plugin and getting syslog-ng to put info in to the DB (once I create it)

the documentation I got with the plugin refers to a file haloe.sql (does not exist, but I do have syslog.sql)

I ran the command mysql -u user -p < syslog.sql but it gives me an error saying there is no DB selected.

any help is appreciated, either post instructions here, or links would be fine

thanks,

eb
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Re: Syslog plugin help needed

Post by streaker69 »

ebjers wrote:OS: Fedora 7
CACTI V 0.8.6j
SYSLOG Plugin 0.4

I have installed the syslog plugin and have the syslog tab on my cacti page. I also have syslog-ng installed.

I am having trouble finding god instructions on how to setup the DB for the syslog plugin and getting syslog-ng to put info in to the DB (once I create it)

the documentation I got with the plugin refers to a file haloe.sql (does not exist, but I do have syslog.sql)

I ran the command mysql -u user -p < syslog.sql but it gives me an error saying there is no DB selected.

any help is appreciated, either post instructions here, or links would be fine

thanks,

eb
Your MYSQL statement is incorrect:

mysql -u <username> -p <databasename> < <file to import>

so it should look like this when you're done:

mysql -u cactiuser -p cactidb < syslog.sql

It will then prompt you for your database password. Make sure you substitute your actual values in the command.
ebjers
Posts: 3
Joined: Mon Jul 09, 2007 8:39 pm

Post by ebjers »

OK That took care of the database, and I now have the syslog tables in my cacti db.

I think I can get the rest with the documents I have.

eb :)
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests