[rrd-users] Rrdtool for counting irregular events
Tobias Oetiker
tobi at oetiker.ch
Sun May 20 17:50:22 CEST 2012
Today Rafal Gwizdala wrote:
> Guys, thanks for all your responses
> Tobi, I'll definitely try the ABSOLUTE data source
> There's one thing more - I'm wondering about my RRAs and the most likely
> choice is the AVG aggregation that will give me an average frequency over
> larger periods of time. But this is not exactly what I'd like to have - SUM
> aggregation would be much better imho for this case because I'm interested
> mainly in total number of events per minute/hour/day, not the rate. So even
> if I use 5 minute resolution I'd like to see hourly and daily numbers of
> events in graphs. I know there's no SUM RRA but do you think adding it
> would be reasonable? Or maybe there's some trick to get SUM in effect of
> some clever data transformation?
well the 'transformation' is pretty simple, you just multiply the
average rate over the periode you are interested in to get the sum
... VDEF can help you ...
cheers
tobi
>
> R
>
> On Sun, May 20, 2012 at 7:20 AM, Tobias Oetiker <tobi at oetiker.ch> wrote:
>
> > Hi Rafal,
> >
> > Yesterday Rafal Gwizdala wrote:
> >
> > > Hi,
> > >
> > > Can rrdtool be used for measuring frequency of irregular events? I mean
> > the
> > > updates would occur in irregular patterns and I'd like to measure the
> > > frequency of them / number of occurrences per some base interval.
> >
> > if you use
> >
> > the ABSOLUTE data source type and rrdtool update whenever you
> > detect one (or more events) with the number of events detected, you
> > should get what you want.
> >
> > choose the step size according the the maximum resolution you want
> > to see for the statistics.
> >
> > cheers
> > tobi
> > >
> > >
> > > Best regards
> > > RG
> > >
> >
> > --
> > Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
> > http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
> >
>
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
More information about the rrd-users
mailing list