From 772882eb57e87e2c3a1b2da86fe603d1831e1d6f Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Thu, 11 Dec 2014 13:27:03 +0100 Subject: [PATCH] Don't hardcode plugin state file location in auth plugin, use env variable defined by Munin instead --- plugins/system/auth | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/system/auth b/plugins/system/auth index c089a731..f2d607ad 100755 --- a/plugins/system/auth +++ b/plugins/system/auth @@ -22,7 +22,7 @@ # Configuration ############################# MAXLABEL=20 -STAT_FILE=/var/lib/munin/plugin-state/plugin-auth.state +STAT_FILE=$MUNIN_PLUGSTATE/plugin-auth.state EXPR_BIN=/usr/bin/expr #############################