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/pdns/pdns_rel | ||
|---|---|---|
| 10 | 10 |
#%# capabilities=autoconf |
| 11 | 11 |
|
| 12 | 12 |
command="/etc/init.d/pdns show" |
| 13 |
state_file=/var/lib/munin/plugin-state/pdns_rel.state
|
|
| 13 |
state_file=$MUNIN_PLUGSTATE/pdns_rel.state
|
|
| 14 | 14 |
|
| 15 | 15 |
if [ "$1" = "autoconf" ]; then |
| 16 | 16 |
echo yes |
Formats disponibles : Unified diff