How does linecount work?

Hubbard, Greg L greg.hubbard at eds.com
Thu Aug 24 22:41:17 CEST 2006


Shirefolk:

I am playing with the nifty new 4.2 features, and was trying to get the
"linecount" function to work.  I *thought* I could maybe use this to
track the number of entries in a file, and perhaps graph over time, but
I am starting to suspect that Henrik meant linecount for something else.

I see where you configure client-local.cfg with:

	linecount:<filename>
	<handle>:<regex>

This should alert the Hobbit agent to start grepping <filename> for
<regex> and somehow bind the count to <handle>?

Then what?  Do you configure something in hobbit-clients.cfg to match
this?

I tried:

	LOG <filename> .* COLOR=GREEN

To see what would happen, but nothing did...

GLH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20060824/a52a4154/attachment.html>


More information about the Xymon mailing list