mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Added support for mysqlconfig in munin-node.conf
This commit is contained in:
parent
14bfe7f243
commit
9171087314
1 changed files with 3 additions and 8 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue