1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

fix "value" output

This commit is contained in:
Philipp 2012-03-19 18:20:56 +08:00 committed by Steve Schnepp
parent 47a45bdfa2
commit ebd7655f6c

View file

@ -92,5 +92,5 @@ awk 'BEGIN{ FS="[ = ]" }
/requestcount/ { next;} # IGNORE
/-count / { nwhat = split($1, what, ".")
gsub(/-count/, "", what[nwhat])
print what[nwhat] ".value=" $NF}
print what[nwhat] ".value " $NF}
'