<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2995" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=782502619-11122006><FONT face=Arial
color=#0000ff size=2>Use CLIENT side. Much easier. Don't try to
leverage what the client is already doing.</FONT></SPAN></DIV><BR>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Charles Jones [mailto:jonescr@cisco.com]
<BR><B>Sent:</B> Monday, December 11, 2006 1:09 PM<BR><B>To:</B>
hobbit@hswn.dk<BR><B>Subject:</B> [hobbit] Accessing "client data" from a
server side ext script? (Re: [hobbit] Alerting on number of times a keyword
appers in a logfile?)<BR></FONT><BR></DIV>
<DIV></DIV>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 (<A class=moz-txt-link-freetext
href="http://www.hswn.dk/hobbiton/2006/06/msg00084.html">http://www.hswn.dk/hobbiton/2006/06/msg00084.html</A>).
<BR><BR>So it looks like I will have to implement this myself. I'm
thinking this would be easiest to do as a <B>server</B> 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 <I>client
data</I>. Here's a snippet of my client data message for a particular
host:<BR><BR><PRE>[linecount:/apps/apache/logs/access_main_log]
SessionTimeouts: 1683</PRE><B>So I guess my question is now, how can I access
client data for a host from a server side ext script?</B><BR>I tried doing a
recursive grep for "Session" in the data and tmp directories, and found
nothing?<BR><BR>-Charles<BR><BR>Charles Jones wrote:
<BLOCKQUOTE cite=mid457DA62A.1020801@cisco.com type="cite">Is this possible
without an ext script? <BR><BR>-Charles
<BR></BLOCKQUOTE><BR></BLOCKQUOTE></BODY></HTML>