[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xymon] Monitor multiple syslog files with one entry in clientlocal



I do not think that this is not supported.  I believe the documentation
states that you can write a script that will supply a required file name (if
the file name keeps changing).  In your case, you are wanting the agent to
scan an unknown number of files.  Read the fine manual.

Just curious, why can't you update your syslogd to create a combined file as
well as individual files.  This is fairly easy to do in syslog-ng or
rsyslog.

GLH

On Fri, Oct 22, 2010 at 10:13 AM, Taylor Lewick <tlewick (at) tradebotsystems.com
> wrote:

> We've set up our network devices to syslog to the xymon server.
>
> So in /var/log/xymon-syslog there are several syslog files, one for each
> device, and the files are named net-hostname
>
> In client-local.cfg, can I set up one log entry to read all of these
> files?
>
> Meaning, should the following be valid:
>
> log:/var/log/xymon-syslog/net-*:10240
>
> Its not working, as xymon reports no such file or directory, so the
> regex isn't expanding to find all filenames.  So I'm wondering if anyone
> else is doing something similar?
>
> To unsubscribe from the xymon list, send an e-mail to
> xymon-unsubscribe (at) xymon.com
>
>
>


-- 
Disclaimer:  1) all opinions are my own, 2) I may be completely wrong, 3) my
advice is worth at least as much as what you are paying for it, or your
money cheerfully refunded.