[rrd-users] Re: GPRINT Problem

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Wed Aug 8 01:29:15 MEST 2001


Michael Munn wrote:

> rrdtool graph rtr_ser0.gif --start 993967200 --end 996645600
> --vertical-label Kb/s --title "Network Stats for RTR - Serial0"
> DEF:inavg=rtr_ser0.rrd:ds0:AVERAGE \ DEF:outavg=rtr_ser0.rrd:ds1:AVERAGE
> CDEF:inavgb=inavg,8,* CDEF:outavgb=outavg,8,* CDEF:inav=inavgb,64000,/
> CDEF:outav=outavgb,64000,/ LINE1:inavgb# 009900:"Incoming Traffic"
> LINE1:outavgb#0000FF:"Outgoing Traffic\l" GPRINT:inav:AVERAGE:"%6.2lf"
> GPRINT:outav:AVERAGE:"%6.2lf" 
> 
> Can anyone see if there's anything wrong with the formatting that would
> perhaps cause it not to print onto the graph, or anything else for that
> matter?

Nothing wrong with the GPRINT statement.  Are you perhaps redirecting
the error messages to /dev/null?  Or doesn't RRDtool complain about
the space between "LINE1:inavgb#" and "009900" ?

HTH
-- 
   __________________________________________________________________
 / 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                                  |
+----------------------------------------------------------------------+

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