[rrd-users] RE need help with a graph

Cyrille Bollu Cyrille.Bollu at fedasil.be
Fri Sep 26 09:30:17 CEST 2008


Hi Daniel,

You don't have a problem with rrdgraph but with your rrd file itself. The 
way MRTG created your rrd file doesn't match your expectation.

Best regards,

Cyrille

rrd-users-bounces at lists.oetiker.ch wrote on 25/09/2008 18:11:25:

> On Thursday 25 September 2008 15.36.23 Cyrille Bollu wrote:
> > Hi,
> >
> > Can you post a rrddinfo of your .rrd file?
> >
> Sure:
> 
> filename = "janos_cpu.rrd"
> rrd_version = "0003"
> step = 300
         ^^^ Your .rrd file will store data with, at best, a time 
resolution of 300 seconds (5 minutes)

> last_update = 1222358703
> ds[ds0].type = "COUNTER"
> ds[ds0].minimal_heartbeat = 600
> ds[ds0].min = 0.0000000000e+00
> ds[ds0].max = 1.0000000000e+02
> ds[ds0].last_ds = "144098"
> ds[ds0].value = 9.9000000000e+00
> ds[ds0].unknown_sec = 0
> ds[ds1].type = "COUNTER"
> ds[ds1].minimal_heartbeat = 600
> ds[ds1].min = 0.0000000000e+00
> ds[ds1].max = 1.0000000000e+02
> ds[ds1].last_ds = "144098"
> ds[ds1].value = 9.9000000000e+00
> ds[ds1].unknown_sec = 0

> rra[0].cf = "AVERAGE"
> rra[0].rows = 599
> rra[0].pdp_per_row = 1

You are consolidating your data with an average function on 5 minutes 
during 599*5minutes~50 hours

> rra[0].xff = 5.0000000000e-01
> rra[0].cdp_prep[0].value = 9.0000000000e+00
> rra[0].cdp_prep[0].unknown_datapoints = 0
> rra[0].cdp_prep[1].value = 9.0000000000e+00
> rra[0].cdp_prep[1].unknown_datapoints = 0

> rra[1].cf = "AVERAGE"
> rra[1].rows = 700
> rra[1].pdp_per_row = 6

You are consolidating your data with an average function on 30 minutes 
during 700*30minutes~350 hours
 
> rra[1].xff = 5.0000000000e-01
> rra[1].cdp_prep[0].value = 4.2202083333e+00
> rra[1].cdp_prep[0].unknown_datapoints = 0
> rra[1].cdp_prep[1].value = 4.2202083333e+00
> rra[1].cdp_prep[1].unknown_datapoints = 0
> rra[2].cf = "AVERAGE"
> rra[2].rows = 775
> rra[2].pdp_per_row = 24

... an so on
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20080926/6508199a/attachment.html 


More information about the rrd-users mailing list