[hobbit] log file monitoring issues

Gary B. gmbfly98 at gmail.com
Mon Aug 14 17:59:44 CEST 2006


> > >Second, you can only have one "ignore" line. I admit that it would
> > >probably be useful to have multiple ignore lines, but that is
> > >not possible right now.
>
> I've made an enhancement to the client-side "logfetch" utility so
> that multiple ignore- and trigger-lines is possible. I just need to
> do a bit more testing, and then I'll make it available.

Awesome!

> > Just ONE remaining issue now.  There are still additional log files I
> > want to check for that aren't showing up.  I have this specific
> > hosts's client-local.cfg entry defined as:
> >
> > [master.homeoffice.none]
> > log:/var/log/samba/client.nmbd.log
> > log:/var/log/messages:10240
> > log:/var/log/maillog:10240
> > ignore relay=localhost\.localdomain
> > trigger denied
> >
> > The "messages" and "maillog" entries are showing up just fine, but the
> > "client.nmbd.log" file is not showing up; not even with an empty "full
> > log" section.  Any ideas?
>
> Check if the configuration data makes it to the client. Does this
> data show up in the client's ~hobbit/client/tmp/logfetch.HOSTNAME.cfg
> file ?
>
> If it does, then pick any status page from this host and click on the
> "Client data" link near the bottom of the page. Look for the "[msgs:...]"
> and "[logfile:...]" sections. Is there one for the client.nmbd.log file ?

A thanks to Chris Morris for solving this issue.  I can't believe I
missed it after staring that file for quite a while, but I was missing
the :SIZE part.  Adding that fixed it, and now the additional logs are
showing up.  I still have an issue with file permissions in OpenBSD,
but at least now it's not a Hobbit-related issue.



More information about the Xymon mailing list