logical volume device names contain dash (-), and they are not filtered on muninlite-side.
This makes for munin master impossible to recognise the data point the value stands for.
Also, df splits lines with too lond device names.
eg. of a problematic df outpuf:
Filesystem 1K-blocks Used Available Use% Mounted on
10127604 3888784 5724364 41% /
/dev/hda1 101086 8483 87384 9% /boot
57798908 44234384 12390120 79% /mnt/etc
none 2097208 0 2097208 0% /dev/shm
config_df and fetch_df should be adjusted when calculating value for variable PNAME as follows:
PNAME=$(echo $PINFO | cut -d\ -f1 | sed 's/[\/.-]/_/g')
Log in to post a comment.