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
Syslog plugin help needed
Moderators: Developers, Moderators
- streaker69
- Cacti Pro User
- Posts: 712
- Joined: Mon Mar 27, 2006 10:35 am
- Location: Psychic Amish Network Administrator
Re: Syslog plugin help needed
Your MYSQL statement is incorrect: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
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.
Who is online
Users browsing this forum: No registered users and 0 guests