24 Sep
2014
24 Sep
'14
7:34 p.m.
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