[mrtg] Re: Not getting monthly and annual graphs (RRD question)

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Fri May 11 23:02:55 MEST 2001

Dan Colquhoun wrote:

> been through the rather thin tutorial on creating RRD databases and am

Suggestions welcome ...

> puzzled by the need to store more samples than (I think) needed in an RRA
> (both the need and the explanation).  I'm guessing this may be the source of
> my problem.  Here's some of the perl script I'm using to create the database
> and graphs.

>   RRDs::create ($rrd, "--start",$start-1, "--step",30,
step size == 30 seconds.  Each PDP is 30 seconds.

>                 "RRA:AVERAGE:0.5:1:120",
store 120 rows of 30 seconds each, total of 1 hour at 30-second resolution

>                 "RRA:AVERAGE:0.5:10:288",
store 288 rows of 30*10 seconds each, total of 1 day at 5-minute

>                 "RRA:AVERAGE:0.5:60:336",
store 336 rows of 30*60 seconds each, total of 6 days at 30-minute

>                 "RRA:AVERAGE:0.5:240:336",
store 336 rows of 30*240 seconds each, total of 24 days at 2-hour

>                 "RRA:AVERAGE:0.5:2880:336",
store 336 rows of 30*2880 seconds each, total of 336 days at 1-day

This means you can graph upto 336 days, at 24 hours per sample point.
If you need to graph in a better resolution, you can graph less time.
At the finest resolution you can only graph from (now-1h) to (now).

This database looks well enough to me, unless of course you try to
graph more than 336 days.

Find out what it is that fails.  First make >>>>sure<<<< you aren't
looking at cached images.  This is the #1 reason for "errors".

You could use "rrdtool dump" to dump the database into a somewhat
human-readable format.  Check if the data is inserted properly.

Depending on the outcome of this, troubleshooting needs to continue.

 / 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:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the mrtg mailing list