[hobbit] Accessing "client data" from a server side ext script? (Re: [hobbit] Alerting on number of times a keyword appers in a logfile?)

Hubbard, Greg L greg.hubbard at eds.com
Mon Dec 11 20:27:46 CET 2006


Use CLIENT side.  Much easier.  Don't try to leverage what the client is
already doing.


________________________________

	From: Charles Jones [mailto:jonescr at cisco.com] 
	Sent: Monday, December 11, 2006 1:09 PM
	To: hobbit at hswn.dk
	Subject: [hobbit] Accessing "client data" from a server side ext
script? (Re: [hobbit] Alerting on number of times a keyword appers in a
logfile?)
	
	
	After searching the Hobbit mailing list, I believe the answer to
this question is "no". All I found is mention of how Henrik first
created the linecount functionality
(http://www.hswn.dk/hobbiton/2006/06/msg00084.html). 
	
	So it looks like I will have to implement this myself.  I'm
thinking this would be easiest to do as a server side ext script, rather
than client, since I am using the linecount option, the hobbit client is
already sending the number of times the keyword appears in the client
data.  Here's a snippet of my client data message for a particular host:
	
	
	[linecount:/apps/apache/logs/access_main_log]
	SessionTimeouts: 1683
	So I guess my question is now, how can I access client data for
a host from a server side ext script?
	I tried doing a recursive grep for "Session" in the data and tmp
directories, and found nothing?
	
	-Charles
	
	Charles Jones wrote: 

		Is this possible without an ext script? 
		
		-Charles 
		


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20061211/29415edc/attachment.html>


More information about the Xymon mailing list