[rrd-users] weird graphs with 1.1.x CVS snapshot

Wupsje mrtg at wps.tmfweb.nl
Tue Apr 2 09:45:21 MEST 2002


Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

I get some weird graphs when i switch from 1.0.35 to the latest CVS =
snapshot...
Below you can see the cgi script i use to get the graph to display.

When i run this with rrdtool 1.0.35 i get a perfect graph.

Did I do something wrong somewhere?
I did notice lots of warning during compiling, but i saw some message =
about that on the list and figured it was okay as long as it compiled :)

PS I want to try to switch to 1.1.x because then i can use the TOTAL =
VDEF function right?

Thanks,

Wouter




#! /usr/local/rrdtool-1.1.0/bin/rrdcgi

<HTML>
<HEAD><TITLE>Wouters Usage Stats</TITLE></HEAD>
<BODY>
<RRD::GRAPH  /mrtg/WpS_5mins.png
--imginfo '<IMG SRC=3D../WpS_5mins.png>'
--start end-900sec
--imgformat PNG
--width 800
--height 200
--title=3D"Traffic for Wouter (15 Minutes)"
--vertical-label "Bytes per second"
DEF:In=3D/etc/rc.d/192.168.0.2.rrd:input:AVERAGE
DEF:Out=3D/etc/rc.d/192.168.0.2.rrd:output:AVERAGE
CDEF:XIn=3DIn,900,*
CDEF:XOut=3DOut,900,*
AREA:In#00FF00:"In"
GPRINT:XIn:AVERAGE:"%6.2lf %sB"
STACK:Out#0000FF:"Out"
GPRINT:XOut:AVERAGE:"%6.2lf %sB"
</BODY>
</HTML>




-- Attached file removed by Listar and put at URL below --
-- Type: image/png
-- Size: 3k (3789 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/new.png


--
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