2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Added support for mysqlconfig in munin-node.conf

This commit is contained in:
Jan Astrup 2012-05-14 20:06:23 +02:00 committed by Steve Schnepp
parent 14bfe7f243
commit 9171087314

View File

@ -46,15 +46,10 @@ use File::Basename;
#-- CONFIG --#
my %config = (
'dsn' => 'dbi:mysql:newznab',
'user' => 'test',
'password' => 'test',
'dsn' => $env{'mysqlconnection'} || 'dbi:mysql:newznab',
'user' => $env{'mysqluser'} || 'test',
'password' => $env{'mysqlpassword'} || 'test',
);
#my %config = (
# 'dsn' => $env{'mysqlconnection'} || 'dbi:mysql:newznab',
# 'user' => $env{'mysqluser'} || 'root',
# 'password' => $env{'mysqlpassword'} || '*****',
#);
my %defaults = (
global_attrs => {