check messages logfile
Hello
Do i have to use a externel script to check a logfile like /var/log/messages on hobbit server/client, just like BB do?
Regards
Bengt
On Mon, Apr 23, 2007 at 05:08:20PM +0200, Bengt Olsson wrote:
Do i have to use a externel script to check a logfile like /var/log/messages on hobbit server/client, just like BB do?
No, the Hobbit client has log monitoring built-in.
First, add the logfile to the client-local.cfg file; /var/log/messages is in there by default for most types of systems, so you can probably skip that step.
Then you only need to setup the log monitoring in the hobbit-clients.cfg file to specify what you want to look for in the log data. See the hobbit-clients.cfg(5) man-page - the "msgs status column settings" section.
Henrik
Hello again
I think a missed something crucial here.....
I can't find the client-local.cfg file on the hobbit client, but the localclient.cfg file "talk" about the client-local.cfg file regaring the log config.
Shall I just create the client-local.cfg file and put the config there?
I tried to but the log config in the localclient.cfg file but it was obviously wrong.
We run hobbit-client-4.2.0-1 version, installed from rpm package.
On the sevrer we run Hobbit 4.1.2p1.
/Bengt
Henrik Stoerner wrote:
On Mon, Apr 23, 2007 at 05:08:20PM +0200, Bengt Olsson wrote:
Do i have to use a externel script to check a logfile like /var/log/messages on hobbit server/client, just like BB do?
No, the Hobbit client has log monitoring built-in.
First, add the logfile to the client-local.cfg file; /var/log/messages is in there by default for most types of systems, so you can probably skip that step.
Then you only need to setup the log monitoring in the hobbit-clients.cfg file to specify what you want to look for in the log data. See the hobbit-clients.cfg(5) man-page - the "msgs status column settings" section.
Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On Thu, Apr 26, 2007 at 03:41:32PM +0200, Bengt Olsson wrote:
Hello again
I think a missed something crucial here.....
I can't find the client-local.cfg file on the hobbit client, but the localclient.cfg file "talk" about the client-local.cfg file regaring the log config.
The client-local.cfg file is on the Hobbit server. you should remember that once the Hobbit client is installed, you should *never* have to do anything on the client box. All configuration is done on the Hobbit server.
We run hobbit-client-4.2.0-1 version, installed from rpm package.
On the sevrer we run Hobbit 4.1.2p1.
Oops - you must be running 4.2.0 on the server as well, for logfile monitoring to work.
Regards, Henrik
participants (2)
-
bol@bth.se
-
henrik@hswn.dk