For wildcard, you want '.*' to represent any character instead of '*' alone.  I have a handful of this kind of FILE checks.<br><br><div><span class="gmail_quote">On 1/11/07, <b class="gmail_sendername">Thomas
</b> <<a href="mailto:tlp-hobbit@holme-pedersen.dk">tlp-hobbit@holme-pedersen.dk</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi all,<br><br>Trying to get file monitoring to work. Works find with fixed filenames<br>but I need to match a pattern in a directory and find the oldest file.<br>If more than say 7200 sec old in mtime then generate an alert.
<br><br>in client-local.cfg I have<br><br>file:`ls -t /ftp/input/* | tail -1`<br><br>which produces the oldest file name on the web page.<br><br>I have the following in hobbit-clients.cfg<br><br>   FILE %/ftp/input/*.gz RED mtime<7200
<br><br>but I get no alarms.<br><br>Any ideas ?<br><br><br>To unsubscribe from the hobbit list, send an e-mail to<br><a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br><br><br></blockquote></div>
<br>