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_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