[hobbit] Impossible to check FILE and LOG with --local on the client side
L.M.J
linuxmasterjedi at free.fr
Thu Jun 25 16:49:21 CEST 2009
Le Thu, 25 Jun 2009 15:20:05 +0200,
Buchan Milne <bgmilne at staff.telkomsa.net> a écrit :
> On Thursday 25 June 2009 14:26:41 L.M.J wrote:
>
>
> > The LOG and FILE functions doesn't work anymore.
>
> Well, the first thing to check is if any [file:.*], [msgs:.*]
>
> > According to this
> > discussion "http://www.hobbitmon.com/hobbiton/2006/06/msg00575.html", I
> > have to create a file "client/tmp/logfetch.`uname -n`.cfg" with "LOG
> > %/oracle/REG/saptrace/background/alert_REG.log %checkpoint ...". I did this
> > and it doesn't work at all (same message : "The client did not report any
> > logfile data").
>
> AFAIK, the content logfetch.*.cfg needs is in the format in client-local.cfg,
> not hobbit-clients.cfg, so your:
>
> log:/var/log/messages:10240
> ignore MARK
> log:/oracle/REG/saptrace/background/alert_REG.log:10240
>
> belongs in it, and not the LOG entries.
Indeed, it worked, thanks. So, this trick is THE way to check logs with your are running Hobbit client with
the --local flag ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20090625/be7dacad/attachment.sig>
More information about the Xymon
mailing list