<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>One more...I have some file tests that are testing for file ages and I want them to go yellow at one threshold, red later...I have rules similar to the following:<br>
</p>
<p><br>
</p>
<div>        FILE %/localvolume/customer/.*/schedule/.*.xml$ yellow TYPE=FILE MTIME<2700</div>
<div>        FILE %/localvolume/customer/.*/schedule/.*.xml$ red TYPE=FILE MTIME<3600<br>
</div>
<div><br>
</div>
<div>is there a more succinct way to put that in like:<br>
</div>
<div><br>
</div>
<div>
<div>        FILE %/localvolume/customer/.*/schedule/.*.xml$ yellow TYPE=FILE MTIME<2700<span style="font-size: 12pt;"> red TYPE=FILE MTIME<3600</span><span style="font-size: 12pt;">​</span></div>
<div><span style="font-size: 12pt;"><br>
</span></div>
<div><span style="font-size: 12pt;">I can't see anything helpful in the man pages or analysis.cfg file itself...the entire FILE section is confusing and somewhat contradictory.  It would be nice if all the tests were consistent with regards to color...for example:</span></div>
<div><span style="font-size: 12pt;"><br>
</span></div>
<div>
<div>        LOG filename match-pattern [COLOR=color] [IGNORE=ignore-pattern] [TEXT=displaytext]</div>
<div>vs<br>
</div>
<div>        FILE filename [color] [things to check] [TRACK]<br>
</div>
<div><br>
</div>
<div>Note there is no "color=" component for FILE (and others).  I think this was actually causing a false positive with some of the tests that were set up to use "COLOR=YELLOW", for example (these went straight to red since that is the default non-green state).<br>
</div>
<div><br>
</div>
<div>Also, is there really a need for <br>
</div>
<div><br>
</div>
<div>DIR directory [color] [SIZE<maxsize] [SIZE>minsize] [TRACK]<br>
</div>
<div><br>
</div>
<div>since I'm pretty sure <br>
</div>
<div><br>
</div>
<div>FILE /path red TYPE=dir  [SIZE<maxsize] [SIZE>minsize] [TRACK] <br>
</div>
<div><br>
</div>
<div>is equivalent.<br>
</div>
<div><br>
</div>
<div>thanks<br>
</div>
<div><br>
</div>
<div>=G=<br>
</div>
<span style="font-size: 12pt;"><br>
</span></div>
<br>
</div>
<p><br>
</p>
</body>
</html>