[Xymon] quick question - wildcard multiple logs in client-local?
J.C. Cleaver
cleaver at terabithia.org
Wed Sep 24 21:34:59 CEST 2014
On Wed, September 24, 2014 11:47 am, Betsy Schwartz wrote:
> I have a set of ever-changing-name log files which I want to check for the
> string "ERROR"
>
> This works in client-local.cfg, for file metadata:
> file:`ls /vg8_bo3_stats/vg8_stats/top_talkers/server_*/server*`
>
> This does not work
> log:`ls /vg8_bo3_stats/vg8_stats/top_talkers/server_*/server*`
>
The syntax is slightly different between the two...
https://www.xymon.com/help/manpages/man5/client-local.cfg.5.html
log:/var/log/messages:SIZE
file:/var/log/messages[:HASH]
Just add a buffer size value after your cmd on the log line and you should
be set.
HTH,
-jc
More information about the Xymon
mailing list