--- Paul Millar <[EMAIL PROTECTED]> wrote: > On Thursday 30 November 2006 17:33, > [EMAIL PROTECTED] wrote: > > I am not sure which way I should proceed, and the code setup for > > metrics is kind of discouraging against putting in new ones with > XDR > > encoding because of the places I need to change stuff - > linux/metric.c > > and > > gmond.c and ./lib/protocol_xdr.c and protocol.h at the least. > > Yup, I would avoid hacking protocol.x (from which protocol_xdr.c is > derived) > unless you want to maintain it: the current setup isn't too friendly > towards > changing core metrics. >
Yes, one of the goals in a 4.x series should be to simplify adding new metrics to the gmond stream. The current way is a big hassle. Cheers Martin ------------------------------------------------------ Martin Knoblauch email: k n o b i AT knobisoft DOT de www: http://www.knobisoft.de
