<div>"However, Xymon doesn't seem to honor the above DISK entries and still marks both</div>
<div>"/export/data/subdir/subdir2/log" and "/export/data/subdir/subdir2/log2" as red when it hits 90%+ due to the DEFAULT entry."</div>
<div> </div>
<div>Is the DEFAULT entry above or below this?  Xymon stops at the first match.</div>
<div> </div>
<div>You might try hard coding something instead of using the fancy $MACRO just to separate the problems of "is my DISK statement right" from "is my fancy $MACRO right".</div>
<div> </div>
<div>GLH<br><br></div>
<div class="gmail_quote">On Thu, Nov 5, 2009 at 2:40 PM, Matthew Moldvan <span dir="ltr"><<a href="mailto:mmoldvan@csc.com">mmoldvan@csc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br><font face="sans-serif" size="2">Hello everyone,</font> <br><br><font face="sans-serif" size="2">I have a question on monitoring separate filesystems with different thresholds.  My hobbit-clients.cfg file on the Xymon server includes the following:</font> <br>
<br><font face="sans-serif" size="2">(Names changed to protect the innocent of course).</font> <br><br><font face="sans-serif" size="2">$MACRO=%^(asdf|qwer|jalopy).*(a|s|h|l).<a href="http://xyz.com/" target="_blank">xyz.com</a></font> <br>
<font face="sans-serif" size="2">HOST=$MACRO</font> <br><font face="sans-serif" size="2">        DISK    / 90 95 GROUP=SOMEONES_PAGER</font> <br><font face="sans-serif" size="2">        DISK    %^/.+$ 90 95 GROUP=SOMEONES_EMAIL</font> <br>
<font face="sans-serif" size="2">        DISK    %^/export/data/subdir/subdir2/log.* 95 99</font> <br><br><font face="sans-serif" size="2">However, Xymon doesn't seem to honor the above DISK entries and still marks both "/export/data/subdir/subdir2/log" and "/export/data/subdir/subdir2/log2" as red when it hits 90%+ due to the DEFAULT entry.</font> <br>
<br><font face="sans-serif" size="2">We recently migrated to Xymon from an aging Big Brother monitoring infrastructure, which had bb-dftab that had to be on all clients.  From my understanding all of this is now handled on the server but the above just doesn't seem to be working.</font> <br>
<br><font face="sans-serif" size="2">My questions at this point are:</font> <br><br><font face="sans-serif" size="2">        - Are my regular expressions specified correctly?</font> <br><font face="sans-serif" size="2">        - Does Xymon support full extended regular expressions?  (e.g. the difference between grep and egrep on Sun systems)</font> <br>
<font face="sans-serif" size="2">        - Is my understanding of the above accurate with respect to alerts about file system monitoring being generated on the server?</font> <br><br><font face="sans-serif" size="2">Thanks,</font> <br>
<font face="sans-serif" size="2">Matt.</font> <br><br><font face="sans-serif" size="2">Unix System Administrator<br>Computer Science Corporation<br>General Dynamics Land Systems<br>38500 Mound Rd.<br>Sterling Heights, MI.  48310<br>
<br>This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. <br>NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.</font></blockquote>
</div><br><br clear="all"><br>-- <br>Disclaimer:  1) all opinions are my own, 2) I may be completely wrong, 3) my advice is worth at least as much as what you are paying for it, or your money cheerfully refunded.<br>