Xymon Mailing List Archive search

Problem to check logs with Hobbit

list Tom Kauffman
Tue, 9 Sep 2008 15:39:59 -0400
Message-Id: <user-92d0520b1f4b@xymon.invalid>

Start with the basics -

As the hobbit user on "Suspendisse", try "less /var/log/messages" to see if the hobbit client can even read the log (I don't know Ubuntu, but RHEL and SUSE both set /var/log/messages to mode 640 by default).

You won't need the 'localclient.cfg' entry on the hobbit server - that only applies to the hobbit client running on the server. But you WILL need a rule in hobbit-alerts.cfg on the server if you want to be alerted when the condition comes up.

-----Original Message-----
From: L.M.J [mailto:user-78bb6d5d9024@xymon.invalid]
Sent: Monday, September 08, 2008 9:37 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Problem to check logs with Hobbit


Hello,

  I've posted a couple of month but after hours & hours of tests, I still
can't check logs with Hobbit. I'm running a Hobbit server on Linux Ubuntu
and a Hobbit client with 'client side configuration' on Ubuntu or RHEL.

On my client computer called "Suspendisse" :
    $ cat localclient.cfg
       ...
       # LOG
       LOG /var/log/messages MARK COLOR=RED
       ...
    $

For this example, I will go get a red alert when a "MARK"
Then, on my Hobbit server called "Fusce" :
    $ cat hobbit-clients.cfg
       ...
       HOST=Suspendisse
       LOG /var/log/messages MARK COLOR=RED
       ...
    $

  That's what I've read on the Hobbit man page but it doesn't work. The log
doesn't appear on my Hobbit web pages. What I'm doing wrong ?

  Thanks by advance,