[rrd-users] Re: Newbies: graphing samples

Cody Lo cody at hkcable.com
Fri May 10 06:14:19 MEST 2002


Hi Alex,

Attached is my current graph and command line. I want the legends places
align left, one legend one row, then followed by the last value and
maximum value. What kind of parameters should I add in the command ?

I can print out the average and maximum values using GPRINT but, why
maximum values is not an integer, which the value I port into the RRD
must be an interger.

Please don't blame on this silly question :-P

eval `$rrdtool graph /home/mrtg/public_html/modempool/rrd_hiper1-day.gif
--vertical-label "modems in use" \
--width 700 -- height 150 --title "Hiper1 usage report" 
DEF:hiper1s1=$hiper1_rrd:hiper_1_slot1:AVERAGE \
DEF:hiper1s2=$hiper1_rrd:hiper_1_slot2:AVERAGE \
DEF:hiper1s3=$hiper1_rrd:hiper_1_slot3:AVERAGE \
DEF:hiper1s4=$hiper1_rrd:hiper_1_slot4:AVERAGE \
DEF:hiper1s5=$hiper1_rrd:hiper_1_slot5:AVERAGE \
DEF:hiper1s6=$hiper1_rrd:hiper_1_slot6:AVERAGE \
DEF:hiper1s7=$hiper1_rrd:hiper_1_slot7:AVERAGE \
DEF:hiper1s8=$hiper1_rrd:hiper_1_slot8:AVERAGE \
DEF:hiper1s9=$hiper1_rrd:hiper_1_slot9:AVERAGE \
DEF:hiper1s10=$hiper1_rrd:hiper_1_slot10:AVERAGE \
DEF:hiper1s11=$hiper1_rrd:hiper_1_slot11:AVERAGE \
DEF:hiper1s12=$hiper1_rrd:hiper_1_slot12:AVERAGE \
DEF:hiper1s13=$hiper1_rrd:hiper_1_slot13:AVERAGE \
DEF:hiper1s14=$hiper1_rrd:hiper_1_slot14:AVERAGE \
AREA:hiper1s1#FF4040:"Hiper1 Slot 1" \
STACK:hiper1s2#0000FF:"Hiper1 Slot 2" \
STACK:hiper1s3#FFE21D:"Hiper1 Slot 3" \
STACK:hiper1s4#C1FF49:"Hiper1 Slot 4" \
STACK:hiper1s5#009E2D:"Hiper1 Slot 5" \
STACK:hiper1s6#009E98:"Hiper1 Slot 6" \
STACK:hiper1s7#003F9E:"Hiper1 Slot 7" \
STACK:hiper1s8#47009E:"Hiper1 Slot 8" \
STACK:hiper1s9#9E008D:"Hiper1 Slot 9" \
STACK:hiper1s10#9E4700:"Hiper1 Slot 10" \
STACK:hiper1s11#FF80FF:"Hiper1 Slot 11" \
STACK:hiper1s12#696E14:"Hiper1 Slot 12" \
STACK:hiper1s13#BD6D6D:"Hiper1 Slot 13" \
STACK:hiper1s14#7EBA70:"Hiper1 Slot 14" \
COMMENT:"   Last updated on $date" > /dev/null`



Regards,
Cody
EO/CMS
x7582


-----Original Message-----
From: Alex van den Bogaerdt [mailto:alex at slot.hollandcasino.nl]
Sent: Thursday, May 09, 2002 5:07 PM
To: Cody Lo
Cc: RRD users
Subject: Re: [rrd-users] Newbies: graphing samples


Cody Lo wrote:

> I would like to know if there is any sample config for graphing the
RRAs
> except the tutorials and guide on rrdtool.eu.org ? I feel difficult on
> graphing the legends. Thanks.

I don't think there's much to explain.  What problem do you encounter,
perhaps I can help you out.

cheers,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. |

+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

-- Attached file removed by Listar and put at URL below --
-- Type: image/gif
-- Desc: rrd_hiper1.gif
-- Size: 71k (73164 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/rrd_hiper1.gif


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