[rrd-users] Re: 95th Percentile - Values stored inside RRD file

Hwee Khoon, Neo hweekhoon.neo at pacific.net.sg
Thu Mar 17 11:12:13 MET 2005


Hi Serge,

thanks for your reply. I have one more thing to clarify regarding question
3:

> 3) I noticed the raw data inside RRD file contains the
> cumulative figure (e.g. the octet count is always
> increasing). Is it possible for me to configure RRD such that
> it computes the transfer speed and then store them into the
> file? Instead of dumping the exact figure to the file.

I did a rrdfetch and here's a sample of what I got:

1111047600:  4.1100088879e+08  4.0569527413e+08
1111047900:  4.1204431180e+08  4.0673533156e+08
1111048200:  4.1280187560e+08  4.0748254008e+08
1111048500:  4.1343868509e+08  4.0810497884e+08
1111048800:  4.1419023447e+08  4.0884940249e+08
1111049100:  4.1483144924e+08  4.0948535305e+08
1111049400:  4.1537332187e+08  4.1002293782e+08
1111049700:  4.1606949416e+08  4.1071325656e+08
1111050000:  4.1667036236e+08  4.1130808232e+08
1111050300:  4.1744326040e+08  4.1206435865e+08
1111050600:  4.1818958628e+08  4.1279733465e+08

my rrd file is created with the option:
	"-s 300",
	"DS:ioct:GAUGE:600:0:U",	#input traffic datasource
	"DS:ooct:GAUGE:600:0:U",	#output traffic datasource
	"RRA:AVERAGE:0.5:1:28800"

because the value (InOctets) is always inreasing, I choose GAUGE thinking
that it will help me compute the average and store them in the rrd file.

Is there something I did wrongly?

Thanks.

Rgds,
HK



-----Original Message-----
From: rrd-users-bounce at list.ee.ethz.ch
[mailto:rrd-users-bounce at list.ee.ethz.ch]On Behalf Of Serge Maandag
Sent: Friday, February 18, 2005 5:56 AM
To: Hwee Khoon, Neo; Rrd-Users
Subject: [rrd-users] Re: 95th Percentile - Values stored inside RRD file


> I got some questions on 95th percentile and RRD which I hope
> someone can enlighten.

I don't see a connection between your questions and the 95th
Percentile value, but o.k...

> 1) Is .1.3.6.1.2.1.31.1.1.1.6.XXX (e.g.
> ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCInOctets.XXX = Counter64)
> where XXX refers to a particular interface/sub interface
> the correct OIDs to use?

It is if you need 64 bps counters. You will need them when for
Instance you poll every 5 minutes and your interface has a load
Of more than 114 Mbps. The device you are polling must support
64 bit counters, though.


> 2) Since 95th percentile is measuring the rate of transfer,
> that means I will need to add
>
> .1.3.6.1.2.1.31.1.1.1.10.XXX
> (ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCOutOctets.XXX) to
> InOctets to obtain the exact rate of transfer over the
> interface? Am I correct?

Only on half duplex lines. Full duplex connections have different
wires for each direction. There's no logic in adding the traffic
Loads of those two.

> 3) I noticed the raw data inside RRD file contains the
> cumulative figure (e.g. the octet count is always
> increasing). Is it possible for me to configure RRD such that
> it computes the transfer speed and then store them into the
> file? Instead of dumping the exact figure to the file.

Uhm, With my files they don't. The rates are stored, not the
Raw counters. Perhaps you are looking for the GAUGE type?
The difference is explained in the tutorial on the rrdtool
Website.

Serge.

-------------
Op de inhoud van dit e-mailbericht en de daaraan gehechte bijlagen is de
inhoud van de volgende disclaimer van toepassing:
http://www.zeelandnet.nl/disclaimer.php

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


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



More information about the rrd-users mailing list