Xymon Mailing List Archive search

Log File messages : Don't work

list Lars Ebeling
Fri, 20 Jun 2008 08:52:51 +0200
Message-Id: <001701c8d2a2$4249d910$user-a73ca09b698f@xymon.invalid>

I have this on the server and it works:

hobbit-clients.cfg:LOG /var/adm/syslog/mail.log %Relay red

You have to configure the errors or problems on rhe server.


Lars

----- Original Message ----- 
From: "L.M.J" <user-78bb6d5d9024@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Friday, June 20, 2008 8:23 AM
Subject: Re: [hobbit] Log File messages : Don't work

Hello guys,

 Got the same problem here. I've followed the documentation just like
Naudit007 but nothing happens. Someone could point us to a documentation 
or
however to fix this issue please ?

 LMJ


On Wed, 18 Jun 2008 15:48:58 +0200, Naudit007
<user-10bc022b8217@xymon.invalid> wrote:
Hello guys

I begin to be crazy to monitor log file on client !

*On server I have put in "client-local.cfg" that : *

[server1]
log:/var/log/messages:10240

*On client I have put in localclient.cfg that : *

DEFAULT
        # Uptime mini
        UP      1h
----------------truncated----------------------------------
        # LOG
         LOG %/var/log/messages %(I/O|read).error COLOR=red
         LOG /var/log/messages COLOR=red
         LOG /var/log/messages FAILBACK COLOR=yellow
         LOG /var/log/messages "VCS ERROR" COLOR=red
        # Ports
        PORT LOCAL=%(:8888|:8889) color="red"


        # Ports
        PORT LOCAL=%(:8888|:8889) color="red"


The privilege work well for user hobbit :

ll /var/log/messages
-rw-r----- 1 root adm 210719 Jun 18 15:21 /var/log/messages

# getent group adm
adm:x:4:root,hobbit,adm,daemon

I was try a lot of possibility on several host, and all my columns "msg"
is
always grey and says :

     --    System logs at Wed Jun 18 15:28:38 CEST 2008 : No log data
available