[Petter Reinholdtsen]
> Testing proved that my previous patch was broken. It broke the
> parsing of the output from df as space was mapped to _ where it
> should not be.
And more testing proved that my patch was incomplete. I believe this
change is needed too:
--- munin-1.2.5.orig/node/node.d.linux/df_inode.in
+++ munin-1.2.5/node/node.d.linux/df_inode.in
@@ -81,7 +81,7 @@
df -P -l -i -x unknown -x none -T| sed 1d | grep -v "//" | sort | awk
'$6 ~ /[0-9]%/ {print}' | awk "
\$2 !~ /reiserfs/ {
dir=\$7
- name=\$1; gsub(/[\/.-]/, \"_\", name);
+ name=\$1; gsub(/[^A-Za-z0-9_]]/, \"_\", name);
if (length(dir) <= $MAXLABEL)
print name \".label \" dir
else
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]