[rrd-users] Current zero problem
Cory Casler
ccasler at ihets.org
Thu Mar 17 21:09:46 MET 2005
The following is a section from my rrdtool graph declaration.
The graph is created fine, except the "Current:" value is always zero.
If I change the CDEFs from:
CDEF:I=g,UN,0,g,IF,8,*
To:
CDEF:I=g,8,*
Everything works fine except if we have undefined values I get nothing.
I need to change UN to 0 and still have "Current:" not equal zero. Any
suggestions?
DEF:g=/home/snmsuser/mrtg/rrd/40/140.rrd:ds1:MAX
CDEF:I=g,UN,0,g,IF,8,*
DEF:h=/home/snmsuser/mrtg/rrd/42/143.rrd:ds1:MAX
CDEF:K=h,UN,0,h,IF,8,*
DEF:i=/home/snmsuser/mrtg/rrd/45/146.rrd:ds1:MAX
CDEF:L=i,UN,0,i,IF,8,*
CDEF:J=I,K,+,L,+
LINE1:J#FF00FF:Peak 5 Minute Outgoing Traffic
GPRINT:J:LAST:Current\:%8.2lf%s
**************************************************************
Cory J. Casler
Software Engineer
Indiana Higher Education Telecommunication System
714 North Senate Avenue
Indianapolis, IN 46202
Phone: 317.263.8949
Email: ccasler at ihets.org
**************************************************************
--
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