Xymon Mailing List Archive search

monitoring contents of a logfile with a daily changing filename

list Damien Martins
Wed, 15 Aug 2018 19:25:47 +0200
Message-Id: <user-a6f630664a4a@xymon.invalid>

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 :