[rrd-users] Re: newbie basic help
Alex van den Bogaerdt
alex at ergens.op.HET.NET
Fri Aug 30 11:34:14 MEST 2002
Mario Ohnewald wrote:
> rrdtool create test.rrd \
> --start 920804400 \
> DS:speed:COUNTER:600:U:U \
> RRA:AVERAGE:0.5:1:24 \
> RRA:AVERAGE:0.5:6:10
>
> What has been created ?
> We created the round robin database ...
create a database called "test.rrd" which starts at time 920804400,
having one DS with certain properties and two RRAs with certain
properties. Those "certain" properties are explained, just not here.
>
> - What does 920804400 stand for? For a time value or for a whole date (7th
> of march, 1999)?
Yes
> If its the start time, it should alwas be the current time,
> right?
Why would you have an option to set the time if you always MUST use
the current time? Don't you think an application can query the clock
all by itself if it needs to know nothing else but "now"?
> - COUNTER:600 his counter is read every five minutes. Well, what does 600
> stand for? 10mins? 10 averages?
As said in the tutorial: you MUST RTFM. The tutorial is not
a substitute for the documentation.
> rrdtool update test.rrd 920804700:12345
> ^^^^ time where the value 12345 was
> captured?
Simplified answer: yes
> I want to use rrdtool to monitor my edonkey traffic. I will get the values
> (bytes) from a iptables script.
> I will run this script every 3 seconds to update the data base.
> Do i need to run:
> rrdtool creat test.rrd .... once?
If you don't want a fresh database every three seconds, yes.
> rrdtool update test.rrd 920804700:$iptab_value .... every 3seconds in my
> case?
Yes.
And you need to understand *why* certain parameters are as they are.
Just copying them from whatever source (tutorial or other) is not
going to produce a useful database.
It seems as if you're looking for shortcuts to build an application.
You can't. Either you use RRDtool with only basic knowledge, together
with somebody else's application (and knowledge) or you're going to
have to really study RRDtool.
--
__________________________________________________________________
/ alex at slot.hollandcasino.nl alex at ergens.op.het.net \
| work private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. |
+----------------------------------------------------------------------+
| http://faq.mrtg.org/ |
| http://rrdtool.eu.org --> tutorial |
+----------------------------------------------------------------------+
--
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