Hi James,<br> <div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><font face="Calibri, sans-serif">
<div>Looking at the GB value and converting to bytes and then back to GB using decimal bytes gives these figures.</div>
<div> </div>
<div>Is there any way to make nagiosgraph using binary bytes rather than decimal.  I am not that familiar with nagiosgraph or RRD and cannot work out how to make the change.</div></font></div></blockquote><div> <br></div>
</div>You will have to manually add an entry into the 'map' file to tell nagiosgraph to use different values. <br><br>My system (df -h) shows:<br>Filesystem            Size  Used Avail Use% Mounted on<br>/dev/mapper/vg0-root   20G  5.4G   14G  29% /<br>
<br>Nagiosgraph shows:<br>total: 20.32G<br>used: 5.45G<br><br>You can use the following map entry:<br><br># Service Type: check_disk<br># Nagiosgraph regex by Claudio Kuenzler<br># Check: /usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /<br>
# Output: DISK OK - free space: / 235120 MB (66% inode=95%):<br># Perfdata: /=119211MB;298635;335964;0;373294<br>/perfdata:(.*)=(\d+)MB;(\d+);(\d+);(\d+);(\d+).*/<br>#/perfdata:(\W)=(\d+)MB;(\d+);(\d+);(\d+);(\d+).*/ # only / partition<br>
and push @s, [diskusage,<br>        ['used', GAUGE, $2*1000**2 ],<br>        ['total', GAUGE, $6*1000**2 ] ];<br><br>