mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Use $MUNIN_PLUGSTATE instead of hardcoded path
This commit is contained in:
parent
87b20d70e4
commit
ca7cbd717a
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ mktemp -t
|
||||||
}
|
}
|
||||||
|
|
||||||
AUTH_LOG=${logfile:-/var/log/auth.log}
|
AUTH_LOG=${logfile:-/var/log/auth.log}
|
||||||
STATEFILE=/var/lib/munin/plugin-state/sshd.offset
|
STATEFILE=$MUNIN_PLUGSTATE/sshd.offset
|
||||||
LOGTAIL=${logtail:-`which logtail`}
|
LOGTAIL=${logtail:-`which logtail`}
|
||||||
|
|
||||||
if [ "$1" = "autoconf" ]; then
|
if [ "$1" = "autoconf" ]; then
|
||||||
|
|
Loading…
Reference in a new issue