Révision 4b2fcbf8
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
| 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