Hi Alex: On Fri, Apr 1, 2011 at 9:02 AM, Alex Dean <a...@crackpot.org> wrote:
> I've implemented something like this myself, and I've always thought it was a > hassle. I noticed that rrdcreate seems to allow creation of rrd file which > accept an absolute value but actually store a rate of change (derived from > current value, previous value, and time delta). > > http://oss.oetiker.ch/rrdtool/doc/rrdcreate.en.html > > Look for the 'DST' section, and the 'COUNTER' type. > > Wonder if we could add some configuration syntax to gmetad.conf to allow > per-metric rrd creation options, and use COUNTER for a rate metric? I see > 'support for counters' at > http://sourceforge.net/apps/trac/ganglia/wiki/ganglia_wish-list. Is this the > same thing? If slope is set to positive, the RRD created will be of type COUNTER. See here: https://sourceforge.net/apps/trac/ganglia/wiki/ganglia_gmond_python_modules#defmetric_initparams: (the documentation is for gmond Python modules, but also applies to gmetric) Cheers, Bernard ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general