Allow environment setting for Munin
This commit is contained in:
parent
ae26a071c7
commit
de0c7e37f2
|
@ -34,7 +34,7 @@ warning=0.99
|
||||||
critical=1.99
|
critical=1.99
|
||||||
|
|
||||||
export PVC_CLIENT_DIR="/run/shm/munin-pvc"
|
export PVC_CLIENT_DIR="/run/shm/munin-pvc"
|
||||||
PVC_CMD="/usr/bin/sudo /usr/bin/pvc --quiet cluster status --format json-pretty"
|
PVC_CMD="/usr/bin/sudo -E /usr/bin/pvc --quiet cluster status --format json-pretty"
|
||||||
JQ_CMD="/usr/bin/jq"
|
JQ_CMD="/usr/bin/jq"
|
||||||
|
|
||||||
output_usage() {
|
output_usage() {
|
||||||
|
|
Loading…
Reference in New Issue