Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Syslog plugin help needed

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin General
Author Message
ebjers



Joined: 09 Jul 2007
Posts: 3

PostPosted: Mon Jul 09, 2007 8:58 pm    Post subject: Syslog plugin help needed Reply with quote

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
Back to top
streaker69
Cacti Pro User


Joined: 27 Mar 2006
Posts: 647
Location: Psychic Amish Network Administrator

PostPosted: Mon Jul 09, 2007 9:32 pm    Post subject: Re: Syslog plugin help needed Reply with quote

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.
Back to top
ebjers



Joined: 09 Jul 2007
Posts: 3

PostPosted: Mon Jul 09, 2007 9:46 pm    Post subject: Reply with quote

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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin General All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group