'msgs' test log content not being sent to Hobbit server
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 300 San Ramon CA 94583 925.543.7350 www.mdl.com
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
participants (2)
-
D.Mostardi@mdl.com
-
henrik@hswn.dk