<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>check_hd (free diskspace via snmp) reporting wrong values</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">I use a slightly modified (allow cheks of "/var" as well as "c:") check_hd plugin to check disk space on both windows and unix. It works fine for the most part, except for a windows machine with 2 partitions. </FONT></P>

<P><FONT SIZE=2 FACE="Arial">The E: partition report is fine</FONT>

<BR><FONT SIZE=2 FACE="Arial">OK: hd e:\.* 1% full, 27.4GB free. Warn@85%, Critical@95%</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">The C partition wasn't</FONT>

<BR><FONT SIZE=2 FACE="Arial">OK: hd c:\.* 83% full, 0.7GB free. Warn@85%, Critical@95%</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Investigating revealed the plugin working correctly</FONT>

<BR><FONT SIZE=2 FACE="Arial">DBG: fullsize  8388447 * 512 = 4294884864</FONT>

<BR><FONT SIZE=2 FACE="Arial">DBG: usedsize  6984708 * 512 = 3576170496</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">However the C: drive wasn't using 3.5G, it was using about 210*6984708 </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">So I doubt it's the allocationunit that's a problem.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">It now reports the correct value, which may be linked to a restart of the snmp service.</FONT>

<BR><FONT SIZE=2 FACE="Arial">OK: hd c:\.* 65% full, 1.4GB free. Warn@85%, Critical@95%</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Has anyone seen this kind of behavior before?</FONT>
</P>

<br/><font face="Times New Roman" size="3"><a href="http://www.bbc.co.uk">http://www.bbc.co.uk</a><br/>This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.<br/>If you have received it in error, please delete it from your system.<br/>Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.<br/>Please note that the BBC monitors e-mails sent or received.<br/>Further communication will signify your consent to this.</font></BODY>
</HTML>