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 --#
|
#-- CONFIG --#
|
||||||
|
|
||||||
my %config = (
|
my %config = (
|
||||||
'dsn' => 'dbi:mysql:newznab',
|
'dsn' => $env{'mysqlconnection'} || 'dbi:mysql:newznab',
|
||||||
'user' => 'test',
|
'user' => $env{'mysqluser'} || 'test',
|
||||||
'password' => 'test',
|
'password' => $env{'mysqlpassword'} || 'test',
|
||||||
);
|
);
|
||||||
#my %config = (
|
|
||||||
# 'dsn' => $env{'mysqlconnection'} || 'dbi:mysql:newznab',
|
|
||||||
# 'user' => $env{'mysqluser'} || 'root',
|
|
||||||
# 'password' => $env{'mysqlpassword'} || '*****',
|
|
||||||
#);
|
|
||||||
|
|
||||||
my %defaults = (
|
my %defaults = (
|
||||||
global_attrs => {
|
global_attrs => {
|
||||||
|
Loading…
Reference in New Issue
Block a user