[Xymon] dynamic logfile name

Jeremy Laidman jlaidman at rebel-it.com.au
Wed Aug 6 08:38:11 CEST 2014


On 30/07/2014 4:30 PM, "Oliver" <r.oliver at web.de> wrote:

> This syntax works absolutely fine, I've had a typo in the path, so it did
not work yesterday:

For future reference, you can catch some errors by redirecting output to a
file. At the very least the presence of the file tells you that the
scriptlet is being executed.

file:`ls /path/to/server_logs/$(date +%Y%m%d) >/tmp/testfile 2>&1`

J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140806/9699d9e0/attachment.html>


More information about the Xymon mailing list