<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><tt>Try:<br>
<br>
log:`find /mnt/logs/access.$(date +%Y-%m-%d).log:10240`<br>
<br>
</tt>
<pre class="moz-signature" cols="72">Michael Beatty
Sherwin-Williams
IT Analyst/Developer
<a class="moz-txt-link-abbreviated" href="mailto:michael.beatty@sherwin.com">michael.beatty@sherwin.com</a>
216-515-7374
</pre>
On 04/12/2013 06:20 AM, deepak deore wrote:<br>
</div>
<blockquote
cite="mid:CABpN7iSzjBEbfYYhfj7+VO3uf28bJho96HK+84p36PCqsRp4LA@mail.gmail.com"
type="cite">
<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 class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Xymon mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xymon@xymon.com">Xymon@xymon.com</a>
<a class="moz-txt-link-freetext" href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a>
</pre>
</blockquote>
<br>
<br>
</body>
</html>