2
0
Fork 0
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:
dmzkrsk 2017-04-18 15:19:11 +07:00 committed by GitHub
parent 87b20d70e4
commit ca7cbd717a

View file

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