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/ftp/pure-ftpd-logs | ||
|---|---|---|
| 22 | 22 |
|
| 23 | 23 |
LOGFILE=/var/log/syslog |
| 24 | 24 |
LOGTAIL=$(which logtail) |
| 25 |
OFFSET_FILE=/var/lib/munin/plugin-state/pure-ftpd-conns.offset
|
|
| 25 |
OFFSET_FILE=$MUNIN_PLUGSTATE/pure-ftpd-conns.offset
|
|
| 26 | 26 |
|
| 27 | 27 |
|
| 28 | 28 |
if [ "$1" = "autoconf" ]; then |
Formats disponibles : Unified diff