mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-26 02:48:28 +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 --#
|
#-- 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…
Add table
Add a link
Reference in a new issue