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

Re: [hobbit] system log and application log monitoring



On Sun, May 21, 2006 at 07:29:49PM +0200, Olivier Beau wrote:
> 
> well.. i was glad to find OS log files definitions in client-local.cfg 
> Could there be basic OS pattern definitions in hobbit-client.cfg's DEFAULT ?

You'll have to contribute some, then. I don't really know what people
are looking for in their logfiles.

> next step: application log monitoring
> let's say i have 100 servers (differents OS of course) running mysql, and i want
> to follow "ended" in /var/log/mysqld.log
> ->setting up 100 entries in client-local.cfg doesn't seem great, could there be
> some kind of grouping in client-local.cfg (PAGE actually..) ? (i guess this
> would required to processing client-local.cfg before transferring to the clients..)

Welcome to the world of configuration "classes".

Step 1: Put a "CLASS:mysqlservers" on those hosts in bb-hosts.
Step 2: Put a section in your client-local.cfg file with
   [mysqlservers]
   logfile:/var/log/mysql/status.log
Step 3: Configure hobbit-clients.cfg for these logfiles.

Only problem is that you'll need todays snapshot for this to work.


Regards,
Henrik