<div dir="ltr">Looks like your analysis.cfg entry is wrong.Try this.<div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">FILE    /home/mypath/log/update_out_</span><font face="arial, sans-serif">[0-9]*-[0-9]*-[0-9]*\.txt MTIME<600 red</font><br>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 26, 2013 at 1:04 PM, Rolf Schrittenlocher <span dir="ltr"><<a href="mailto:schritte@ub.uni-frankfurt.de" target="_blank">schritte@ub.uni-frankfurt.de</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear xymon users,<br>
<br>
I got stuck while trying to monitor a file which should be updated regularly and which has got a timestamp in its name.<br>
"files" on the server remains clear, no data . Could someone tell me what is wrong with these settings or what have i forgotten?<br>
<br>
On the server we have in<br>
analysis.cfg<br>
HOST=myserver<br>
 FILE    `/home/mypath/log/update_out_$<u></u>(date +%Y%m%d).txt` MTIME<600 red<br>
<br>
in client-local.cfg:<br>
[myserver]<br>
  file:`find /mypath/log/update_out_$(date +%Y%m%d).txt`<br>
<br>
<br>
I see an entry for this file on the client<br>
in tmp logfetch.myserver.cfg<br>
  file:`find /mypath/log/update_out_$(date +%Y%m%d).txt`<br>
<br>
but there is nothing for this file in msg.myserver.txt<br>
<br>
File exists and is readable:<br>
  find /home/mypath/log/update_out_$(<u></u>date +%Y%m%d).txt   -exec ls -l {} \;<br>
  -rw-rw-r--   1 ...      2467070 Sep 26 08:43 /home/mypath/log/update_out_<u></u>20130926.txt<br>
<br>
In xymonclient.log I see an entry<br>
sh: syntax error at line 1: `(' unexpected<br>
but I don't know if it is related to the file problem or to anything else.<br>
I know that sh can't deal with $(xy), I tried as well<br>
FILE    /home/mypath/log/update_out_`<u></u>date +%Y%m%d`.txt MTIME<600 red<br>
but in vain.<br>
<br>
Any help appreciated,<br>
kind regards<br>
Rolf<br>
<br>
<br>
-- <br>
Mit freundlichen Gruessen<br>
Rolf Schrittenlocher<br>
<br>
Lokales Bibliothekssystem Frankfurt<br>
Senckenberganlage 31, 60054 Frankfurt<br>
Tel: (49) 69 - 798 28908   Fax: (49) 69 798 28817<br>
LBS: <a href="mailto:lbs-f@mlist.uni-frankfurt.de" target="_blank">lbs-f@mlist.uni-frankfurt.de</a><br>
Persoenlich: <a href="mailto:schritte@ub.uni-frankfurt.de" target="_blank">schritte@ub.uni-frankfurt.de</a><br>
<br>
______________________________<u></u>_________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/<u></u>mailman/listinfo/xymon</a><br>
</blockquote></div><br></div></div>