[rrd-users] Re: strange behavior?
Serge Maandag
serge.maandag at staff.zeelandnet.nl
Wed Jun 19 10:59:54 MEST 2002
Within a week your first graph will become blocky too.
The default setup of mrtg is to keep
- 5 minute samples for a day,
- 30 minute samples for a week
- 2 hour samples for a month and
- 1 day samples for a year.
So if you graph the past week, there will be 30 minute samples
available.
But if you graph the week before, there will be only 2 hour samples
available. That's why it's blocky.
Try graphing a week that's more than a month ago. You'll get 1 day
samples, now that is blocky.
The solution is to recreate the rrd's by hand and make sure they keep 5
minute samples for more than a day.
Serge Maandag.
-----Original Message-----
From: Albert Mamanov [mailto:albert at kosnet.ru]
Sent: Wednesday, June 19, 2002 8:33 AM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] strange behavior?
Hi.
I try make graphics from my cisco.mrtg.log.
When i start rrdtool with that command line i get nice graph (1.png).
Time in -s - 06-10-02; time in -e - 06-17-02
rrdtool graph 1.png \
-s 1023652800 -e 1024257600 \
-v b/s -a PNG \
DEF:in=test.rrd:ds0:AVERAGE \
DEF:out=test.rrd:ds1:AVERAGE \
AREA:in#00a000:Input \
AREA:out#ff0000:Output \
But when i type that command i got graph 2.png.
Time in -s - 06-03-02; time in -e - 06-10-02
rrdtool graph 2.png \
-s 1023048000 -e 1023652800 \
-v b/s -a PNG \
DEF:in=test.rrd:ds0:AVERAGE \
DEF:out=test.rrd:ds1:AVERAGE \
AREA:in#00a000:Input \
AREA:out#ff0000:Output \
Please tell me where my mistake?
How can i get graph 2.png like 1.png?
I convert cisco.mrtg.log in test.rrd whith log2rrd.pl
--
mailto:albert at kosnet.ru
-- Attached file removed by Listar and put at URL below --
-- Type: image/png
-- Size: 3k (3718 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/2.png
-- Attached file removed by Listar and put at URL below --
-- Type: image/png
-- Size: 4k (4496 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/1.png
--
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