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_users | ||
|---|---|---|
| 12 | 12 |
|
| 13 | 13 |
# ####################################################################################### CONFIG |
| 14 | 14 |
|
| 15 |
DIRECTORY=${MUNIN_PLUGINSTATE:-/var/lib/munin/plugin-state/apache_users}
|
|
| 15 |
DIRECTORY=$MUNIN_PLUGSTATE/apache_users
|
|
| 16 | 16 |
TIMESTAMP=$DIRECTORY/.apache_users |
| 17 | 17 |
ACCESSLOG=/var/log/apache2/access_log |
| 18 | 18 |
|
Formats disponibles : Unified diff