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/apache/apache_byprojects/byprojects_bandwidth | ||
|---|---|---|
| 31 | 31 |
|
| 32 | 32 |
my $server = 'Apache'; |
| 33 | 33 |
|
| 34 |
my $statepath = '/usr/local/var/munin/plugin-state';
|
|
| 34 |
my $statepath = $ENV{MUNIN_PLUGSTATE};
|
|
| 35 | 35 |
my $logtail = '/usr/local/bin/logtail'; |
| 36 | 36 |
|
| 37 | 37 |
my %logs = ( |
Formats disponibles : Unified diff