Xymon Mailing List Archive search

Log File messages : Don't work

3 messages in this thread

list Naudit007 · Wed, 18 Jun 2008 15:48:58 +0200 ·
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
     --    The client did not report any logfile data

However my host "server1" generated very well new entrie in
/var/log/messages
I don't understand why the message don't work !

But when I check client log it write that :

cat ../logs/hobbitclient.log
2008-06-18 15:02:30 Failed to get a message, terminating
2008-06-18 15:04:31 Failed to get a message, terminating
2008-06-18 15:06:32 Failed to get a message, terminating
2008-06-18 15:08:32 Failed to get a message, terminating
2008-06-18 15:10:33 Failed to get a message, terminating
2008-06-18 15:12:34 Failed to get a message, terminating
2008-06-18 15:14:34 Failed to get a message, terminating

Where comes to this error ?

Could you help me

Thank you very much by advance


Regards
-- 

<mailinglist.benoit - at - gmail!com>
list L.M.J · Fri, 20 Jun 2008 08:23:58 +0200 ·
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
quoted from 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
list Lars Ebeling · Fri, 20 Jun 2008 08:52:51 +0200 ·
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
quoted from L.M.J

----- 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