[hobbit] [wishlist] Better support of the @@ tag in NCV trends

Rich Smrcina rsmrcina at wi.rr.com
Thu Jun 29 18:51:32 CEST 2006


If this in fact is implemented, it might be nice if the start and end 
tags and the stuff in the middle isn't actually displayed.  Or perhaps 
if displaying them was an option.

Charles Goyard wrote:
> Hi all,
> 
> In do_ncv.c, I see this :
> 
> 42:	while (l && *l && strncmp(l, "@@\n", 3)) {
> 
> If I understand correctly, that means the program will stop processing
> the status file if it encounter a "@@\n" line. Well, I tried and it
> seems to work that way (I have a status showing something like two counters
> followed by a bunch of SNMP values that I don't want to graph). It do
> not seem to be documented.
> 
> Now the real cool thing would be to have start tag, so NCV values could
> be added last instead of first. (because humans like nice status reports
> and computer don't care to take the last bits). When the program hits
> the start tag, it forgets whatever it got and starts over.
> 
> 
> For people interrested, the status show this way :
> 
> Thu Jun 29 18:41:21 CEST 2006 - 3623995988 incoming reqs - 845313333 outgoing reqs
> 
> inreqs: 3623995988
> outreqs: 845313333
> 
> @@
> 
> wwwServiceDescription.1 = CacheFlow 700/4.x.xxxx
> wwwServiceContact.1 = xxxxxxxxx at yyy.zz
> wwwServiceProtocol.1 = mgmt.xx.x.xx
> wwwServiceName.1 = myhostname
> wwwServiceType.1 = wwwCachingProxy
> (...)
> wwwSummaryInRequests.1 = 3624092091
> wwwSummaryOutRequests.1 = 845335728
> 
> only the two first lines get a graph line.
> (the blank line before the @@ seems to be mandatory too)
> 

-- 
Rich Smrcina
VM Assist, Inc.
Main: (262)392-2026
Cell: (414)491-6001
Ans Service:  (360)715-2467
rich.smrcina at vmassist.com

Catch the WAVV!  http://www.wavv.org
WAVV 2007 - Green Bay, WI - May 18-22, 2007



More information about the Xymon mailing list