[rrd-users] Rrdtool for counting irregular events

Rafal Gwizdala rafal.gwizdala at gmail.com
Sun May 20 10:19:02 CEST 2012


Whoa, not so fast. TOTAL is available for VDEF only so I can calculate the
total for the whole graph only. Still don't see a way to do the same for
each aggregation step shown on the graph.
If there was some variable representing graph's time resolution I could use
it for calculating sums the way you described
CDEF:total=myvalue,GRAPHRESOLUTIONSECS,*
R


> Yes, I was considering this too, but could not find out how to perform
> that calculation.
> But it appears nothing special is necessary - theres TOTAL operation
> available for CDEFs
> http://oss.oetiker.ch/rrdtool/doc/rrdgraph_rpn.en.html#ITOTAL
> hopefully that's all I need
>
> On Sun, May 20, 2012 at 9:49 AM, Simon Hobson <linux at thehobsons.co.uk>wrote:
>
> Rafal Gwizdala wrote:
>>
>> Multiply by the consolidation period. Eg, if you had 1/second over
>> 1/2 hour (1800 secopnds) then the rate is 1, the total is 1 x 1800.
>> If printing totals under the graph, I think there is now a total
>> function in the RPN.
>>
>> --
>> Simon Hobson
>>
>> Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
>> author Gladys Hobson. Novels - poetry - short stories - ideal as
>> Christmas stocking fillers. Some available as e-books.
>>
>> _______________________________________________
>> rrd-users mailing list
>> rrd-users at lists.oetiker.ch
>> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20120520/df898c92/attachment.htm 


More information about the rrd-users mailing list