Projet

Général

Profil

Révision 4b2fcbf8

ID4b2fcbf8b9d8f995499353e0ab4195e724209a67
Parent a2b340a7
Enfant 57661e0f

Ajouté par Lars Kruse il y a plus de 8 ans

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

Voir les différences:

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