diff --git a/plugins/ssh/openssh-denyhosts b/plugins/ssh/openssh-denyhosts index 15b102f3..46c13bcd 100755 --- a/plugins/ssh/openssh-denyhosts +++ b/plugins/ssh/openssh-denyhosts @@ -15,7 +15,7 @@ mktemp -t } AUTH_LOG=${logfile:-/var/log/auth.log} -STATEFILE=/var/lib/munin/plugin-state/sshd.offset +STATEFILE=$MUNIN_PLUGSTATE/sshd.offset LOGTAIL=${logtail:-`which logtail`} if [ "$1" = "autoconf" ]; then