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_byprojects/README.md
16 16
## Installation
17 17
The setup is pretty straight forward. First you need to configure the plugin:
18 18

  
19
Define the file which will be used by logtail to identify it's position in the log and the path to logtail:
19
Define the path to logtail:
20 20

  
21
      $statepath = '/usr/local/var/munin/plugin-state'; # directory where logtail will save the state
22 21
      $logtail = '/usr/local/bin/logtail';
23 22

  
24 23
Multiple logs can be used for the same project/vhost and a regular expression (regex) can be used as a filter:

Formats disponibles : Unified diff