[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xymon] Monitor multiple syslog files with one entry in clientlocal
- To: xymon (at) xymon.com
- Subject: Re: [xymon] Monitor multiple syslog files with one entry in clientlocal
- From: Greg Hubbard <glh.forums (at) gmail.com>
- Date: Fri, 22 Oct 2010 14:06:38 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=aWvEhYN8B9sr+oSguU9Yy0SlElPJZlwwX7lVikdclbA=; b=tfU4SVSD9kf6Mq3H82huS6AlMupq9E7Gk8fI7Mdaox8Qzll1c7YdU6UwM1/AzKERxs kPJfeSPfjb/lf8Qo5jrCtJ+5p1VwIQSRAz2GEWbU9Q2v4GM7qi3U3rnNJ+NB1Y74RvUG bub/OT7VATTvglyOhPMaG8D+N4PhvgffYcOSA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=SC4wG3Dm/7cY+GpE83NnMQmc529MECyswxR5QXw0L030rGHaLlIejQJLxMc7mVwVSp dlc8YBt3R6nFsUpwtQLxkJf2PAOPhi9KnucI+atzriJCQoUzByAXR8SLiN0l4NtJraFf ESD5WPgKD5ADAXP+v7ary8njG0fMaJNRE5dOs=
- References: <46ac0d930711250633k5171609aq601f2df0eec87244 (at) mail.gmail.com> <4CC180E0.7080908 (at) mail.regione.toscana.it> <i9s4dl$g4u$1 (at) voodoo.hswn.dk> <98B0CDCB28A5EE4CB3678CD99406644E043D5B9B (at) tbmail2.tradebot.com>
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.