Re: [Ganglia-developers] libmetrics as stand-alone library

2010-05-21 Thread Peter Phaal
We recently released a Host sFlow agent to export the standard set of Ganglia metrics as sFlow counters: http://host-sflow.sourceforge.net/ In the end it it was easier to re-implement the metrics rather than use libmetrics. However, we did make an effort to ensure compatibility so that it would

Re: [Ganglia-developers] libmetrics as stand-alone library

2010-03-12 Thread Peter Phaal
It should be possible integrate both approached in the library. Rate calculations are a layer on top of the raw counters. One approach would be to define raw counter functions for each metrics, e.g. pkts_in_count_func(void). You could then re-implement the pks_in_func(void) to make use of the p

Re: [Ganglia-developers] libmetrics as stand-alone library

2010-03-12 Thread Daniel Pocock
Peter Phaal wrote: > We have had time to take a closer look at libmetrics and while it is a useful > reference, there are significant architectural differences between sFlow's > approach to counter polling and Ganglia's. The libmetrics library export > rates rather than counters. An sFlow agent

Re: [Ganglia-developers] libmetrics as stand-alone library

2010-03-10 Thread Peter Phaal
We have had time to take a closer look at libmetrics and while it is a useful reference, there are significant architectural differences between sFlow's approach to counter polling and Ganglia's. The libmetrics library export rates rather than counters. An sFlow agent exports raw counters and le

Re: [Ganglia-developers] libmetrics as stand-alone library

2010-03-08 Thread Peter Phaal
On Mar 7, 2010, at 10:57 AM, Daniel Pocock wrote: > Peter Phaal wrote: >> Hi all, >> >> We are considering using libmetrics as a stand-alone library. In its current >> form, with the separate configure script, it looks like it would ideally >> suite our purposes. I noticed a recent discussion

Re: [Ganglia-developers] libmetrics as stand-alone library

2010-03-07 Thread Daniel Pocock
Peter Phaal wrote: > Hi all, > > We are considering using libmetrics as a stand-alone library. In its current > form, with the separate configure script, it looks like it would ideally > suite our purposes. I noticed a recent discussion about dropping the separate > configure script[1] and wante

[Ganglia-developers] libmetrics as stand-alone library

2010-03-06 Thread Peter Phaal
Hi all, We are considering using libmetrics as a stand-alone library. In its current form, with the separate configure script, it looks like it would ideally suite our purposes. I noticed a recent discussion about dropping the separate configure script[1] and wanted to express our interest in k