Xymon Mailing List Archive search

'msgs' test log content not being sent to Hobbit server

2 messages in this thread

list David Mostardi · Tue, 24 Jul 2007 22:36:37 +0100 ·
I have been unable to get the msgs test to work. I have configured
client-local.cfg
 
    [sunos]
    log:/var/adm/messages:10240
 
and hobbit-clients.cfg
 
    HOST=cicero
    LOG %/var/adm/messages %fatal COLOR=red
 
The Hobbit server sends Cicero the client-local.cfg directives, because
Cicero's ~hobbit/client/tmp/logfetch.cicero.cfg shows
 
    log:/var/adm/messages:10240
 
but if I look in ~hobbit/client/tmp/msgs.cicero.txt it says:
 
    [msgs:/var/adm/messages]
 
    [logfile:/var/adm/messages]
    type:100000 (file)
    mode:644 (-rw-r--r--)
    ...
    ...

The messages file has been stocked exclusively with messages containing the
word 'fatal'. The stanza 'logfile:/var/adm/messages' knows the file is large
and visible, but the stanza 'msgs:/var/adm/messages' says the file is null,
and that's evidently what gets reported back to the Hobbit server. So my
msgs test never goes from green to red.
 
What am I doing wrong?
 
Thanks,
David

David Mostardi 
Advisory Systems Manager 
Elsevier MDL 
2440 Camino Ramon, Suite XXX 
San Ramon CA XXXXX 
XXX.XXX.XXXX 
www.mdl.com
list Henrik Størner · Wed, 25 Jul 2007 21:56:37 +0200 ·
quoted from David Mostardi
On Tue, Jul 24, 2007 at 10:36:37PM +0100, Mostardi, David  (MDL US) wrote:
The messages file has been stocked exclusively with messages containing the
word 'fatal'. The stanza 'logfile:/var/adm/messages' knows the file is large
and visible, but the stanza 'msgs:/var/adm/messages' says the file is null,
and that's evidently what gets reported back to the Hobbit server. So my
msgs test never goes from green to red.
Remember: The Hobbit client only reports on new data being written into
the log, not old data which was there before. So if your logfile hasn't
been updated within the past 30 minutes you will not see any logdata
reported by the client.

Would that explain what you're seeing?


Regards,
Henrik