Some of the default Nagiosgraph map entries are strange and behave not as expected.<br>I basically replaced all the existing entries by own ones.<br><br>If you like you can use the following one:<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>Note that this is a very basic graph which shows the total and current partition usage. Feel free to modify it :-)<br><br><div class="gmail_quote">On Tue, Dec 13, 2011 at 11:41 AM, James Osbourn <span dir="ltr"><<a href="mailto:james.osbourn@citrix.com">james.osbourn@citrix.com</a>></span> wrote:<br>
<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>I have a weird situation where the Nagios Graph values are not the actual values for a filesystem</div>
<div> </div>
<div>Eg I have a filesystem and if I run a df I get</div>
<div> </div>
<div><font face="Courier New, monospace">$ df -h .</font></div>
<div><font face="Courier New, monospace">Filesystem            Size  Used Avail Use% Mounted on</font></div>
<div><font face="Courier New, monospace">filer01:/vol/data1    443G  400G   44G  91% /mnt/filer01_data1</font></div>
<div> </div>
<div>If I run the Nagios check_disk command I get the correct values</div>
<div> </div>
<div><font face="Courier New, monospace"># ../libexec/check_disk -w 10% -c 5% -p /usr/groups/sources</font></div>
<div><font face="Courier New, monospace">DISK WARNING - free space: /usr/groups/sources 44073 MB (9% inode=48%);| /usr/groups/sources=409354MB;408084;430755;0;453427</font></div>
<div> </div>
<div>But when you look at the graph the figures are all wrong</div>
<div> </div>
<div><img src=""> </div>
<div> </div>
<div>Has anyone else seen this?  I was going to look at the usage to try and forecast usage but it will now be very hard.  I have just installed Nagios Graph based on the default installation and using the default check_disk plugin.</div>

<div> </div>
<div>Thanks</div><span class="HOEnZb"><font color="#888888">
<div> </div>
<div>James</div>
<div> </div>
<div> </div>
</font></span></font>
</div>

<br>------------------------------------------------------------------------------<br>
Systems Optimization Self Assessment<br>
Improve efficiency and utilization of IT resources. Drive out cost and<br>
improve service delivery. Take 5 minutes to use this Systems Optimization<br>
Self Assessment. <a href="http://www.accelacomm.com/jaw/sdnl/114/51450054/" target="_blank">http://www.accelacomm.com/jaw/sdnl/114/51450054/</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>