#2 config_df and fetch_df fails on logical volume names


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')


  • Jozsef Marton

    Jozsef Marton - 2008-08-28

    Logged In: YES
    Originator: YES

    calls to df should be replaced by call to "df -P" when iterating through PARTitions and when calculating PINFO. Both fetch_df and config_df should be adjusted.

  • Rune Nordbøe Skillingstad

    • assigned_to: nobody --> runesk
  • Rune Nordbøe Skillingstad

    • status: open --> open-accepted
  • Rune Nordbøe Skillingstad

    • status: open-accepted --> closed-accepted

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks