[rrd-users] Re: weird graph issue

Serge Maandag serge.maandag at staff.zeelandnet.nl
Tue Sep 9 22:48:08 MEST 2003


>From this we cannot see how your rrd database was built.
Do a rrdtool info <filename.rrd>, you'll see something like this:

step = 300

rra[0].rows = 599
rra[0].pdp_per_row = 1

rra[1].rows = 700
rra[1].pdp_per_row = 6

rra[2].rows = 775
rra[2].pdp_per_row = 24

rra[3].rows = 796
rra[3].pdp_per_row = 288

rra[3] covers rows * pdp_per_row * step = 796 * 288 * 300 seconds.
That is the longest time for which the rrd database will hold data.

Does you largest rra cover more than 4 hours?

Serge.

> -----Original Message-----
> From: Bogdan Czyz [mailto:bogdan_czyz at hotmail.com]
> Sent: Tuesday, September 09, 2003 8:00 PM
> To: rrd-users at list.ee.ethz.ch
> Subject: [rrd-users] weird graph issue
> Importance: Low
> 
> 
> Hi there, I have weird problem with rrdtool graph. I have script that 
> collects filesystem usage and stores results in fs.rrd db. 
> When I do fetch I 
> can see all data for all variables for last couple of days, 
> but when I am 
> trying to graph it I'm getting like last four hours only. It 
> really doesn't 
> matter what value I use with --start and --end switches. My 
> script works all 
> the time at daemon mode and keep inserting data to db every 
> 300-time() %300 
> secs, but only what I get is graph moving left so I can only 
> see like 4 last 
> hours. Below there is graph cmd I use:
> 
> rrdtool graph fs-day.gif
> --start -84600
> --title='Filesystem Usage'
> --vertical-label='% of usage'
> --height=125
> --upper-limit=110
> --lower-limit=0
> --rigid
> --base=1024
> DEF:root=fs.rrd:root:AVERAGE LINE2:root#FFCC00:'/'
> DEF:boot=fs.rrd:boot:AVERAGE LINE2:boot#FF9900:'/boot'
> DEF:home=fs.rrd:home:AVERAGE LINE2:home#FF6600:'/home'
> DEF:opt=fs.rrd:opt:AVERAGE LINE2:opt#FF00FF:'/opt'
> DEF:tmp=fs.rrd:tmp:AVERAGE LINE2:tmp#999900:'/tmp'
> DEF:usr=fs.rrd:usr:AVERAGE LINE2:usr#990000:'/usr'
> DEF:var=fs.rrd:var:AVERAGE LINE2:var#6699CC:'/var'
> HRULE:100#000000:'Max usage limit'
> 
> Please advice,
> Regards
> Bogdan
> 
> _________________________________________________________________
> STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
> http://join.msn.com/?page=features/junkmail
> 
> --
> 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