1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51:03 +00:00

Merge pull request #835 from dmzkrsk/openssh-denyhosts-plugstate

Use $MUNIN_PLUGSTATE instead of hardcoded path
This commit is contained in:
sumpfralle 2017-04-18 22:40:53 +02:00 committed by GitHub
commit a2b340a791

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