mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
Add configuration option for logtail path
This commit is contained in:
parent
92a8c9df17
commit
3a17b22edf
4 changed files with 18 additions and 5 deletions
|
@ -29,11 +29,15 @@ use strict;
|
|||
# Test graph will be using everything file matching /home/test/log/access*.log
|
||||
# and stuff that match the expression '"[A-Z] /test/' in /var/log/access.log
|
||||
# such as '"GET /test/'
|
||||
#
|
||||
# Configuration
|
||||
# [byprojects_*]
|
||||
# env.logtail_path /usr/local/bin/logtail
|
||||
|
||||
my $server = 'Nginx';
|
||||
|
||||
my $statepath = $ENV{MUNIN_PLUGSTATE};
|
||||
my $logtail = '/usr/local/bin/logtail';
|
||||
my $logtail = $ENV{logtail_path} || '/usr/local/bin/logtail';
|
||||
|
||||
my %logs = (
|
||||
'prod' => [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue