Projet

Général

Profil

Révision 4b2fcbf8

ID4b2fcbf8b9d8f995499353e0ab4195e724209a67
Parent a2b340a7
Enfant 57661e0f

Ajouté par Lars Kruse il y a plus de 8 ans

replace hard-coded paths (e.g. '/var/lib/munin/plugin-state') with '$MUNIN_PLUGSTATE'

see http://guide.munin-monitoring.org/en/latest/plugin/env.html

Voir les différences:

plugins/http/http_load_
87 87
use LWP::ConnCache;
88 88

  
89 89
my $url_file="/etc/munin/http_load_urls.txt";
90
my $cachedir="/var/lib/munin/plugin-state";
90
my $cachedir=$ENV{MUNIN_PLUGSTATE};
91 91

  
92 92
my $debug=0;
93 93
my $timeout=10;

Formats disponibles : Unified diff