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/network/bandwidth_ | ||
|---|---|---|
| 88 | 88 |
sub autoconf {
|
| 89 | 89 |
$0 =~ /bandwidth_(.+)*$/; |
| 90 | 90 |
$interface = $1; |
| 91 |
$history = "/var/lib/munin/plugin-state/bandwidth_$interface.state";
|
|
| 91 |
$history = "$ENV{MUNIN_PLUGSTATE}/bandwidth_$interface.state";
|
|
| 92 | 92 |
} |
| 93 | 93 |
|
| 94 | 94 |
sub bit32or64 {
|
Formats disponibles : Unified diff