[hobbit] Re: LOG test fails to IGNORE ?
Jerry Yu
jjj863 at gmail.com
Mon Oct 2 15:41:31 CEST 2006
I believe it worked! I faked a log entry with 'relabeling' and 'warning' in
there.
On 10/2/06, Jerry Yu <jjj863 at gmail.com> wrote:
>
> I'll try it out. Thanks, Oliver. I initially didn't have color
> specification. I had added color=yellow since, only to mimic the example in
> the man page.
>
> On 10/2/06, Olivier Boyaval <oboyaval at ch-bethune.fr> wrote:
> >
> > Jerry Yu a écrit :
> > > The 'hobbit-clients.cfg' man page give this example:
> > > LOG /var/log/daemon.log %WARNING|NOTICE COLOR=yellow IGNORE=lpr
> > >
> > > This is identical to mine except the actual log file name and strings.
> >
> > I had the same problem with this synthax. I have resolved it by using
> > this synthax :
> >
> > log /var/log/messages %WARNING|NOTICE|ERROR yellow "IGNORE=relabeling"
> >
> > -> no use of COLOR= keyword
> > -> use of quote (") on the ignore keyword and string.
> >
> > Cdl
> >
> > Olivier
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20061002/09c77db6/attachment.html>
More information about the Xymon
mailing list