Try:
log:`find /mnt/logs/access.$(date +%Y-%m-%d).log:10240`
Michael Beatty
Sherwin-Williams
IT Analyst/Developer
user-4aea7c115850@xymon.invalid
XXX-XXX-XXXX
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