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

Re: [hobbit] Impossible to check FILE and LOG with --local on the client side



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 ?