[Xymon] quick question - wildcard multiple logs in client-local?

Betsy Schwartz betsy.schwartz at gmail.com
Wed Sep 24 22:41:37 CEST 2014


Thanks! hm,not the first time I've made that mistake.
Appreciate the help!
(one of those days with multiple rush requests at once...)
thanks, Betsy

On Wed, Sep 24, 2014 at 3:34 PM, J.C. Cleaver <cleaver at terabithia.org>
wrote:

> 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140924/e9754397/attachment.html>


More information about the Xymon mailing list