[rrd-users] Minor Graph Rendering Issue

Tobias Oetiker tobi at oetiker.ch
Fri Dec 16 15:59:15 CET 2011


Hi Chris,

Yesterday Chris Mason wrote:

> Hi,
>
> Interesting problem - even with "-A" it sometimes breaks and overflows
> over the 0 line.
> It appears to be the data, it appears to be struggling to display it
> and sometimes "-A" fixes it but sometimes "-A" breaks it and it is
> displayed normally without "-A".

I have tried to reproduce this behaviour ... but without succcess
... can you please supply a sample script (create, update, graph)
to demostrate the problem ...

and btw, for ifInOctetsBitsN I would suggest

CDEF:ifInOctetsBitsN=0,ifInOctetsBits,-

cheers
tobi

> Any ideas?
>
> Chris
>
> On 14 December 2011 20:35, Chris Mason <chris at noodles.org.uk> wrote:
> > I have done some more testing and fixed the issue by passing -A to
> > rrdtool graph.
> > I was under the impression that it should autoscale to the data by default?
> >
> > Chris
> >
> > On 14 December 2011 16:11, Chris Mason <chris at noodles.org.uk> wrote:
> >> Hi,
> >>
> >> I have noticed that sometimes when I am graphing data using positive
> >> and negative values to split Inbound and Outbound that the negative
> >> side of the data slightly comes over the 0 line. The following image
> >> shows an example:
> >>
> >> http://netnix.org/example.png
> >>
> >> I only see this occurring on some graphs, although I am using the same
> >> method to generate them and it is seen more on 1 day graphs then
> >> higher intervals:
> >>
> >> DEF:ifInOctets=<RRD>:ifInOctets:MAX
> >> CDEF:ifInOctetsBits=ifInOctets,8,*
> >> CDEF:ifInOctetsBitsN=ifInOctetsBits,-1,*
> >>
> >> I have tested this on an rrdtool snapshot from last week and I am
> >> still seeing this.
> >>
> >> Is this normal and if not where would you recommend I look to
> >> investigate this problem further?
> >>
> >> Thanks,
> >> Chris
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the rrd-users mailing list