Correction to the unit.

Hi,
This plugin is indeed superb.
I found a bug that when using unit=MB for disk usage, the perf data writtens only KB.

So to fix, i made changes on line no. 378 from

$perfdata .= ” $mountpoint=$usage$o_unit”;

To

$perfdata .= ” $mountpoint=$tmpusage$o_unit;;;0;$tmptotal”;

Addition $tmptotal in perf data will set the max MB in the graph.

Let me know,

regards,
John.