Xymon Mailing List Archive search

Messing with logfiles before Hobbit sees them

4 messages in this thread

list Greg L Hubbard · Thu, 31 Aug 2006 16:54:34 -0500 ·
Shire folk:

I have a log file that I need to pass through a filter before Hobbit
reviews it.  I know I can simply some up with some "tail -f | filter >
updated.file" kludge.  Is there a way to get Hobbit to do this when it
reads the file?  Any ideas?

GLH
list Charles Jones · Thu, 31 Aug 2006 15:58:48 -0700 ·
quoted from Greg L Hubbard
Hubbard, Greg L wrote:
Shire folk:

I have a log file that I need to pass through a filter before Hobbit reviews it.  I know I can simply some up with some "tail -f | filter > updated.file" kludge.  Is there a way to get Hobbit to do this when it reads the file?  Any ideas?
Why not just use the ignore feature to have hobbit filter out the things that you dont want it to see?
list T.J. Yang · Thu, 31 Aug 2006 18:45:05 -0500 ·
Can bbwin report OS and version number in next release ?

hobbit unix client can achieve by output of "uname" .

T.J. Yang
list Greg L Hubbard · Fri, 1 Sep 2006 09:38:36 -0500 ·
I am sorry, I should have been more clear.  Instead of using the word
"filter" in my example, I probably should have used the word "expander."
The little app turns cryptic messages in the log into longer,
human-readable messages -- this is what I would like to post to Hobbit.
 
GLH


	From: Charles Jones [mailto:user-e86b4aeade4e@xymon.invalid] 
	Sent: Thursday, August 31, 2006 5:59 PM
	To: user-ae9b8668bcde@xymon.invalid
	Subject: Re: [hobbit] Messing with logfiles before Hobbit sees
them
quoted from Charles Jones
	
	
	Hubbard, Greg L wrote: 

		Shire folk: 

		I have a log file that I need to pass through a filter
before Hobbit reviews it.  I know I can simply some up with some "tail
-f | filter > updated.file" kludge.  Is there a way to get Hobbit to do
this when it reads the file?  Any ideas?

	Why not just use the ignore feature to have hobbit filter out
the things that you dont want it to see?