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/router/freeboxuptime
49 49
#%# family=manual
50 50
#%# capabilities=autoconf
51 51

  
52
CACHE_FILE=/var/lib/munin/plugin-state/FreeboxUptime.cache
52
CACHE_FILE=$MUNIN_PLUGSTATE/FreeboxUptime.cache
53 53
CACHE_HOURS=3
54 54
NMAP=$(which nmap)
55 55
TCP_PORT=9100

Formats disponibles : Unified diff