dear my friend in milis,
please correct me, where's the wrong, cause when the graph was display
the output not see, perhaps my script is wrong.
and here is my script
./rrdtool create tcpservice.rrd DS:80_in:COUNTER:600:U:U
DS:80_out:COUNTER:600:U:U DS:139_in:COUNTER:600:U:U
DS:139_out:COUNTER:600:U:U DS:110_in:COUNTER:600:U:U
DS:110_out:COUNTER:600:U:U DS:81_in:COUNTER:600:U:U
DS:81_out:COUNTER:600:U:U RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700
RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MIN:0.5:1:600
RRA:MIN:0.5:6:700 RRA:MIN:0.5:24:775 RRA:MIN:0.5:288:797
RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775
RRA:MAX:0.5:288:797
<RRD::GRAPH
        /var/www/cgi-bin/rrd/port80.png --imginfo '<IMG
SRC='/var/www/cgi-bin/rrd/%s' WIDTH=%lu HEIGHT=%lu >'  --lazy -s
-12hours
        -v 'Bits per second' --title="Port Monitoring" --base=1000
        DEF:in=/rrdtool/bin/tcpservice.rrd:80_in:AVERAGE
        DEF:out=/rrdtool/bin/tcpservice.rrd:80_out:AVERAGE
        CDEF:out_bits=out,8,*
        CDEF:in_bits=in,8,*
        AREA:in_bits#00FF00:"input"
        GPRINT:in_bits:LAST:"MIN"%8.2lf%s
GPRINT:in_bits:AVERAGE:Average%8.2lf%s
GPRINT:in_bits:MAX:Max%8.2lf%s"\n"
        LINE1:out_bits#0000FF:"output"
        GPRINT:out_bits:LAST:"MIN"%8.2lf%s
GPRINT:out_bits:AVERAGE:"Average"%8.2lf%s
GPRINT:out_bits:MAX:Max%8.2lf%s >


and the result is in the atachment
in the output just input and the output not see, please correct if i was
wrong the script

thank's


-- 
adi <[EMAIL PROTECTED]>



-- Attached file removed by Ecartis and put at URL below --
-- Type: image/gif
-- Size: 18k (18600 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/port80.png


--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to