[Xymon] monitoring contents of a logfile with a daily changing filename
Damien Martins
damien at makelofine.org
Wed Aug 15 19:25:47 CEST 2018
Hi Ian,
My suggestion (not tested):
-On your client, edit ~xymon/client/etc/client-local.cfg file
-In your host definition, add a this line:
log:/var/log/external/$REPLACE_WITH_CLIENT_NAME/messages-$(date +%Y%m%d).log
-If previous does not work, this one should do the job
log:$(find /var/log/external/$REPLACE_WITH_CLIENT_NAME/ -name
messages-$(date +%Y%m%d).log)
Regards,
Damien Martins
Le 15/08/2018 à 16:37, Ian Diddams via Xymon a écrit :
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
More information about the Xymon
mailing list