mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
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
This commit is contained in:
parent
a2b340a791
commit
4b2fcbf8b9
42 changed files with 45 additions and 51 deletions
|
@ -16,9 +16,8 @@ Counts the in/out bandwidth used by each projects/vhost. [Logtail] (https://www.
|
|||
## Installation
|
||||
The setup is pretty straight forward. First you need to configure the plugin:
|
||||
|
||||
Define the file which will be used by logtail to identify it's position in the log and the path to logtail:
|
||||
Define the path to logtail:
|
||||
|
||||
$statepath = '/usr/local/var/munin/plugin-state'; # directory where logtail will save the state
|
||||
$logtail = '/usr/local/bin/logtail';
|
||||
|
||||
Multiple logs can be used for the same project/vhost and a regular expression (regex) can be used as a filter:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue