[Xymon] backticks not working in client-local.cfg
deepak deore
deepakdeore2004 at gmail.com
Fri Apr 12 14:59:05 CEST 2013
Hi Michael, this worked!
Thanks a ton. I didnt know that we have to close the backtick after the
message size.
One more question, can I add multiple servers for common log file
monitoring like below?
[server1,server2,server3]
log: .....
On Fri, Apr 12, 2013 at 5:03 PM, Michael Beatty
<Michael.Beatty at sherwin.com>wrote:
> Try:
>
> log:`find /mnt/logs/access.$(date +%Y-%m-%d).log:10240`
>
> Michael Beatty
> Sherwin-Williams
> IT Analyst/Developermichael.beatty at sherwin.com
> 216-515-7374
>
> On 04/12/2013 06:20 AM, deepak deore wrote:
>
> Xymon version: - Xymon 4.3.10
> OS: - Ubuntu 12.04 LTS
>
> I am using the below entry but it is not converting the date command to
> the value.
>
> [server-name]
> log:/mnt/logs/access.`date +%Y-%m-%d`.log:10240
> ignore INFO
> trigger SEVERE
>
> 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.: -
>
> log:`/mnt/logs/access.`date +%Y-%m-%d`.log`:10240
> log:$(/mnt/logs/access.`date +%Y-%m-%d`.log):10240
> log:$(echo /mnt/logs/access.`date +%Y-%m-%d`.log):10240
> log:/mnt/logs/access.$(date +%Y-%m-%d).log:10240
>
>
> _______________________________________________
> Xymon mailing listXymon at xymon.comhttp://lists.xymon.com/mailman/listinfo/xymon
>
>
>
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130412/649f5a17/attachment.html>
More information about the Xymon
mailing list