[rrd-users] Re: Manipulating and Graphing Data

This is a discussion on [rrd-users] Re: Manipulating and Graphing Data within the RRD Users forums, part of the Networking and Network Related category; > So let me get this right, if you feed in 0, 400, 800 at t=0, t=i, > ...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-31-2006
Tony Varriale
 
Posts: n/a
Default [rrd-users] Re: Manipulating and Graphing Data

> So let me get this right, if you feed in 0, 400, 800 at t=0, t=i,
> t=2i, you expect to get out <something>,400,400. I believe that can
> be achieved with the count or derive types. In a couple of
> applications at work, I feed in byte counts from iptables accounting
> rules and use derive - the output I get is the rate (bytes/second)
> which I can scale by multiplication (eg if I multiply by 300 then I
> get bytes/rra interval).


No...
For input:
t1:0
t2:400
t3:800
t4:0

I expect to graph:
t1:0
t2:400
t3:800
t4:0

Or something VERY close. When I configure the RRD to be GAUGE...that is
what I get. It's really close and I would be fine with that. The problem
is that the graph continues to keep going up.

tv
----- Original Message -----
From: "Simon Hobson" <linux@thehobsons.co.uk>
To: <rrd-users@list.ee.ethz.ch>
Sent: Tuesday, October 31, 2006 12:35 PM
Subject: [rrd-users] Re: Manipulating and Graphing Data


> Tony Varriale wrote:
>
>> > Closer, but it uses the values supplied AND THE TIME INTERVALS to
>>> work out the rate over each interval defined in your rrd. If your
>>> updates EXACTLY match the time intervals then the rate stored will
>>> match the value you put in, otherwise it will be adjusted.

>>
>>Right, which is why when I use GAUGE for this specific application, the
>>value is preserved. But, I would like to take the current and previous
>>gauge value and subtract them to get a new value. Then, graph that new
>>value. Once I figure out how to do that, I'm sure there will be some odd
>>issues such as counter flips.
>>
>>The math that is performed on these values with other data types is not
>>useful to me. It appears GAUGE would be the only one that would work.

>
> So let me get this right, if you feed in 0, 400, 800 at t=0, t=i,
> t=2i, you expect to get out <something>,400,400. I believe that can
> be achieved with the count or derive types. In a couple of
> applications at work, I feed in byte counts from iptables accounting
> rules and use derive - the output I get is the rate (bytes/second)
> which I can scale by multiplication (eg if I multiply by 300 then I
> get bytes/rra interval).
>
> As I understand it, using derive, if the counters are reset (ie
> change from a number to a smaller number, such as when I reboot or
> reload iptables rules) then it will assume that you've 'lost' that
> interval rather than assuming you've wrapped around (very large
> positive value) or reduced (large negative value).
>
> --
> Unsubscribe mailto:rrd-users-request@list.ee.ethz.ch?subject=unsubscribe
> Help mailto:rrd-users-request@list.ee.ethz.ch?subject=help
> Archive http://lists.ee.ethz.ch/rrd-users
> WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
>


--
Unsubscribe mailto:rrd-users-request@list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request@list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:11 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0