[rrd-users] Not supposed to autoscale

Tuc at T-B-O-H.NET ml at t-b-o-h.net
Wed Oct 17 23:34:22 CEST 2007


Hi,

	I'm trying to understand why a graph we are producing from a program is autoscaling,
even though the author specifically put code in NOT to autoscale. When it goes to 
rrdgraph, it sends :

/usr/local/wwwcust/noccgi/mrtg/b-12-ping-1.png 
--start -36h 
--units-exponent 0 
--color MGRID#000000 
--color GRID#000000 
--color BACK#F4F4F4 
--color CANVAS#FFFFFF 
--color FONT#000000 
--color FRAME#000000 
--color ARROW#FF0000 
--color SHADEA#C0C0C0 
--color SHADEB#808080 
--width 400 
--height 150 
-v Pings 
-t B-12 Pings (Hourly) 
--x-grid HOUR:1:DAY:1:HOUR:2:0:%H 
DEF:in=/usr/local/etc/mrtg/docs/b-12-ping.rrd:ds0:AVERAGE 
DEF:out=/usr/local/etc/mrtg/docs/b-12-ping.rrd:ds1:AVERAGE 
DEF:min=/usr/local/etc/mrtg/docs/b-12-ping.rrd:ds0:MAX 
DEF:mout=/usr/local/etc/mrtg/docs/b-12-ping.rrd:ds1:MAX 
CDEF:fin=in 
CDEF:fout=out 
CDEF:kin=in,60,* 
CDEF:kout=out,60,* 
CDEF:tin=in,100,/ 
CDEF:tout=out,100,/ 
CDEF:fmin=min 
CDEF:fmout=mout 
AREA:fin#00cc00 
LINE2:fin#0000FF\l 
COMMENT:\l 
GPRINT:in:AVERAGE:Average Pings\: %2.2lf / 10\c 
GPRINT:in:MAX:Max Pings    \: %2.2lf / 10\c 
GPRINT:in:LAST:Current Pings\: %2.2lf / 10\c

	Some of the graphs go from 8 to 10, some 6 to 10, others
0 to 10. I understand WHY it would present like that, why go to 0
if the lowest ping was 8... But thats what is wanted (Always seeing
0 to 10). 

		Thanks, Tuc



More information about the rrd-users mailing list