Henrik,<br><br>Thank you very much!! The information is really helpful for me not only to implement the script but to understand the hobbit design.<br><br>I really look forward to the version 4.3.0 release. ( Hope all the regex work fine !! ).
<br><br><br><br><br><div><span class="gmail_quote">2007/10/10, Henrik Stoerner <<a href="mailto:henrik@hswn.dk">henrik@hswn.dk</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, Oct 10, 2007 at 07:40:05PM +0900, Ari Syrup wrote:<br>> I would like to implement a customized script to parse all the lines of the<br>> "Client data" and send an alert if certain keyword matches. I think it would
<br>> be nice because you don't have to implement it in all the client<br>> sides.....Definitely there are many people who are interested in it ???<br>> And I can't figure out where the data is stored in the hobbit server side.
<br>><br>> My question is,,,,Where is the "Client data" stored in the hobbit server<br>> side? Please help me with finding it...<br><br>The client data are stored in memory.<br><br>There are two ways you can do this.
<br><br>1) You can use the command<br>      bb <a href="http://127.0.0.1">127.0.0.1</a> "clientlog HOSTNAME"<br>   to fetch the current client data, then do your processing.<br><br>2) (My recommended solution) Write your script as a Hobbit server-
<br>   side extension, and run it on the server as<br>      bbcmd hobbitd_channel --channel=client YOURSCRIPT<br>   Your script would get all of the client data fed on STDIN,<br>   beginning with a line "@@client...|HOSTNAME|..." and
<br>   ending with "@@". Try running (as the hobbit user)<br>      bbcmd hobbitd_channel --channel=client cat<br>   and watch the data that is generated.<br><br><br>Regards,<br>Henrik<br><br><br>To unsubscribe from the hobbit list, send an e-mail to
<br><a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br><br><br></blockquote></div><br>