Projet

Général

Profil

Révision 91710873

ID9171087314e529ae0f5d8a2a9f1fd76ab410a283
Parent 14bfe7f2
Enfant 2e5609e3

Ajouté par Jan Astrup il y a environ 13 ans

Added support for mysqlconfig in munin-node.conf

Voir les différences:

plugins/newznab/nn_
46 46
#-- CONFIG --#
47 47

  
48 48
my %config = (
49
    'dsn'        => 'dbi:mysql:newznab',
50
    'user'       => 'test',
51
    'password'   => 'test',
49
    'dsn'        => $env{'mysqlconnection'} || 'dbi:mysql:newznab',
50
    'user'       => $env{'mysqluser'}       || 'test',
51
    'password'   => $env{'mysqlpassword'}   || 'test',
52 52
);
53
#my %config = (
54
#    'dsn'        => $env{'mysqlconnection'} || 'dbi:mysql:newznab',
55
#    'user'       => $env{'mysqluser'}       || 'root',
56
#    'password'   => $env{'mysqlpassword'}   || '*****',
57
#);
58 53

  
59 54
my %defaults = (
60 55
	global_attrs => {

Formats disponibles : Unified diff