mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-08-06 14:15:05 +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
|
@ -17,7 +17,7 @@ use strict;
|
|||
|
||||
my $QUERYLOG = $ENV{logfile} || '/var/log/dansguardian/access.log';
|
||||
my $STATEFILE = $ENV{statefile}
|
||||
|| '/var/lib/munin/plugin-state/dansguardian.state';
|
||||
|| "$ENV{MUNIN_PLUGSTATE}/dansguardian.state";
|
||||
my %IN;
|
||||
|
||||
sub get_state {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue