So, if your mrtg-nrpe check is returning the data in Mb, then add '* 1024000' to the end of the Target definition, which will mean that the value is multipled by 1024000 before storing - IE, it will be stored in bytes.
This means that MaxBytes will of course need to be 2048000000 if you want 2GB.
Then, you will not need to set ShortLegend, or the fixunit or kMG options as the multipliers will all be done correctly (you may not have realised yet what will happen as the values fall below 1)
Another nice trick is that, if your plugin is returning a 'used' and a 'size' value, you can use 'dorelpercent' to have MRTG graph the first as a percentage of the second - IE, percentage used.Statistics: Posted by stevesh — Mon Feb 16, 2009 9:55 am
]]>