<div dir="ltr"><div><div><div>Hi Michael, this worked! <br></div>Thanks a ton. I didnt know that we have to close the backtick after the message size.<br></div>One more question, can I add multiple servers for common log file monitoring like below?<br>
<br>[server1,server2,server3]<br></div>log: .....<br><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 12, 2013 at 5:03 PM, Michael Beatty <span dir="ltr"><<a href="mailto:Michael.Beatty@sherwin.com" target="_blank">Michael.Beatty@sherwin.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div><tt>Try:<br>
<br>
log:`find /mnt/logs/access.$(date +%Y-%m-%d).log:10240`<br>
<br>
</tt>
<pre cols="72">Michael Beatty
Sherwin-Williams
IT Analyst/Developer
<a href="mailto:michael.beatty@sherwin.com" target="_blank">michael.beatty@sherwin.com</a>
216-515-7374
</pre><div><div class="h5">
On 04/12/2013 06:20 AM, deepak deore wrote:<br>
</div></div></div>
<blockquote type="cite"><div><div class="h5">
<div dir="ltr">Xymon version: - Xymon 4.3.10<br>
OS: - Ubuntu 12.04 LTS<br>
<br>
I am using the below entry but it is not converting the date
command to the value.<br>
<div><br>
[server-name]<br>
log:/mnt/logs/access.`date +%Y-%m-%d`.log:10240<br>
ignore INFO<br>
trigger SEVERE<br>
<br>
</div>
<div>I tried many things but no luck, on the log page I see the
date command as it is instead of the actual date value.: - <br>
<br>
log:`/mnt/logs/access.`date +%Y-%m-%d`.log`:10240<br>
log:$(/mnt/logs/access.`date +%Y-%m-%d`.log):10240<br>
log:$(echo /mnt/logs/access.`date +%Y-%m-%d`.log):10240<br>
log:/mnt/logs/access.$(date +%Y-%m-%d).log:10240<br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Xymon mailing list
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a>
</pre>
</blockquote>
<br>
<br>
</div>
<br>_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
<br></blockquote></div><br></div>