[syslog-ng]Feedback about insertdb.pl

_/CaT\_ cat_roger22@hotmail.com
Mon, 4 Nov 2002 19:55:28 +0100


Sorry, is only a obsolete variable.
Please comment or removed

$ENV{'DBI_DSN'}='syslog';
$ENV{'DBI_USER'}='root';
$ENV{'DBI_PASS'}='mysqladmin';
#$ENV{'DBI_TABLE_SYSLOG'}='xxx';
$ENV{'DBI_PIPE_SYSLOG'}='/var/chroot/syslog-ng/dev/mysql.pipe';
$ENV{'ERR_MSG'}='/var/chroot/syslog-ng/var/log/err_DB_msg.log';

my $DB_SB='mysql';

my $DEBUG = 1;

my $test_dsn      = $ENV{'DBI_DSN'}   ||  die "DSN not set\n";
my $test_user     = $ENV{'DBI_USER'}  ||  die "User not set\n";
my $test_password = $ENV{'DBI_PASS'}  ||  die "Password not set\n";
#my $table        = $ENV{'DBI_TABLE_SYSLOG'} || die "Table not set\n";
my $pipe          = $ENV{'DBI_PIPE_SYSLOG'} || die "Pipe file not
set\n";
my $errmsg        = $ENV{'ERR_MSG'} || die "File ERR_MSG not set\n";

-----Original Message-----
From: M.Ghalaie [mailto:mgh@mgn.net] 
Sent: Monday, November 04, 2002 8:00 PM
To: cat_roger22@hotmail.com
Subject: Re: [syslog-ng]Feedback about insertdb.pl


Hello,
I tested used your scripts "Perl".  But I do not know to what 
"$ENV{'DBI_TABLE_SYSLOG'}='xxxxx'"...


_/CaT\\_ wrote:
> Hi *,
> You've posted any feed-back about this post of mine: 
> http://lists.balabit.hu/pipermail/syslog-ng/2002-October/003905.html
> With this solution I've resolved all my problem with insertions into 
> DB.
> 
> Cheers
> _/CaT\_
> 
> _______________________________________________
> syslog-ng maillist  -  syslog-ng@lists.balabit.hu 
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
> 
> 


-- 
----------------------------------------------
Mansour GHALAIE
----------------------------------------------
MGN
De'partement Syste`me
8 Rue Grange Dame rose-78140 VELIZY (France)
Tel : 01 34 49 06 37  Fax : 01 34 49 06 79
E.mail : mgh@mgn.net  Site web : www.mgn.net
----------------------------------------------