Xymon Mailing List Archive search

Wants Status to change for MSGS (Log file) for Hobbit Client

list L.M.J
Thu, 30 Sep 2010 08:11:42 +0200
Message-Id: <79e82975bd056342705f776228ac06e8@imap>

On Wed, 29 Sep 2010 20:09:04 -0500, Richard Quinn
<user-8355688bb613@xymon.invalid> wrote:
And  yet I cannot get the status of MSGS to go to Red for the client
when I
put 'error' into /var/log/messages

This was a problem to me during several months and finally, someone helped
me out on the mailing list. You have to create a file in the Hobbit tmp/
directory :
  # cat ..../hobbit-monitor/client/tmp/logfetch.<HOSTNAME>.cfg
  log:/var/log/messages:10240
  log:/var/log/mail.log:10240
  log:/var/log/auth.log:10240

<HOSTNAME> is the hostname of your machine (I used to do : touch
tmp/logfetch.`hostname`.cfg). Once this file is created and filed in, you
will see the light ;)