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:
parent
14bfe7f243
commit
9171087314
@ -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 => {
|
||||
|
Loading…
Reference in New Issue
Block a user