<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" id="owaParaStyle" style="display: none;">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body dir="ltr" fpstyle="1" aria-label="Message body" tabindex="0">
<div name="divtagdefaultwrapper" id="divtagdefaultwrapper" style="font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; color: #000000; margin: 0">
Unless I'm misreading this, it's working.
<div><br>
</div>
<div><span style="color: rgb(40, 40, 40);">DIR /mm/foo/request/chkpt yellow size<25622560</span></div>
<div><font color="#282828"><br>
</font></div>
<div><font color="#282828">I believe that says to turn yellow if less than ~25 MB.<br>
</font>
<div><br>
</div>
<div>=G=</div>
<div><br>
<div style="color: rgb(40, 40, 40);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Xymon <xymon-bounces@xymon.com> on behalf of Betsy Schwartz <betsy.schwartz@gmail.com><br>
<b>Sent:</b> Tuesday, February 11, 2014 9:37 PM<br>
<b>To:</b> xymon@xymon.com<br>
<b>Subject:</b> [Xymon] Dir size check "Could not determine size of directory"</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>
<div>Trying to do a directory size alert but I am getting a yellow alert:<br>
</div>
<h3></h3>
<pre>! /mm/foo/request/chkpt 
Could not determine size of directory /mm/foo/request/chkpt 
<br></pre>
<pre>The directory exists and xymon can read it.    It does take a very long time, up to two minutes. Might there be a timeout and if so might I be able to change it?<br></pre>
<pre>(but that's why we need to alert, because this dir is growing too large...)<br>
</pre>
<pre>-bash-3.2$ whoami<br>xymon<br>-bash-3.2$ time du -s /mm/foo/request/chkpt<br>2627560 /mm/foo/request/chkpt<br><br>real    1m29.059s<br>user    0m0.115s<br>sys     0m2.259s<br><br></pre>
client-local config:<br>
[<a href="http://foo.example.com">foo.example.com</a>]<br>
log:/var/log/messages:102400<br>
ignore MARK<br>
ignore be2net<br>
dir:/mm/foo/request/chkpt<br>
<br>
</div>
analysis.cfg:<br>
HOST=<a href="http://foo.example.com">foo.example.com</a><br>
        LOAD 12.0 99.0<br>
        MEMPHYS 100 101<br>
        MEMACT 70 80<br>
        MEMSWAP 60 95<br>
        DIR /mm/foo/request/chkpt yellow size<25622560<br>
        PROC crond 1 -1 yellow<br>
        PROC nscd 1 -1 yellow<br>
        UP 30m 9999d<br>
<br>
<div>
<div>
<div>Looking at client data I see:<br>
<pre>[dir:/mm/foo/request/chkpt ]
2627096 /mm/foo/request/chkpt<br></pre>
Any thoughts?<br>
</div>
<div>server and client are both 64-bit  RHEL5 running xymon 4.3.10<br>
</div>
<div>(hope to update soon!)<br>
</div>
<div><br>
<br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>