[rrd-users] Re: FreeBSD 1.0.9 to 1.2.4

Tuc tuc at ttsg.com
Mon May 9 22:49:54 MEST 2005


> Hi,
> 
> 	I just upgraded my ports of rrdtool from 1.0.9 to 1.2.4 and
> now I get :
> 
> ERROR: Cannot update /usr/local/etc/mrtg/docs/valhalla-load.rrd with '1115663701:202:202' Not enough arguments
> ERROR: Cannot 'fetch' /usr/local/etc/mrtg/docs/valhalla-load.rrd: not enough arguments
> 
> 	while running MRTG (Unchanged).
> 
Hi,

	Looks like I had some sort of a library problem which I fixed. Now,
I'm running into 2 other issues....

	First is that MRTG doesn't seem to be able to perform its Threshold
checking because I believe its not getting data :

--log: Called: RRDs::tune(/usr/local/etc/mrtg/docs/total-transit.rrd -a ds0:1250
00000 -a ds1:125000000 -d ds0:COUNTER -d ds1:COUNTER)
--log: Calling: RRDs::update(/usr/local/etc/mrtg/docs/total-transit.rrd, '111567
1016:1519800762:879060779')
--log: Called: RRDs::last()
--log: Called: RRDs::fetch(/usr/local/etc/mrtg/docs/total-transit.rrd,'AVERAGE',
'-s',1115671016,'-e',1115671016)
--log:   got: NaN/NaN
WARNING: can't do threshold checking for target total-transit(i) -- No valid cur
rent data


	The smpo looks good, like its able to get the proper information.

The next issue is our graphing program is complaining about :

Could not parse color in '0000FF\l'

	when we pass in :

/usr/local/wwwcust/noc.t-b-o-h.net/mrtg/x-fslb8-1-c2924-2-net-1.png
--start
-36h
--color
MGRID#000000
--color
GRID#000000
--color
BACK#F4F4F4
--color
CANVAS#FFFFFF
--color
FONT#000000
--color
ARROW#FF0000
--color
SHADEA#C0C0C0
--color
SHADEB#808080
--width
400
--height
150
-v
Bits per-second
-t
X-fslb8-1-c2924-2 Network Traffic (Hourly)
--x-grid
HOUR:1:DAY:1:HOUR:2:0:%H
DEF:in=/usr/local/etc/mrtg/docs/x-fslb8-1-c2924-2-net.rrd:ds0:AVERAGE
DEF:out=/usr/local/etc/mrtg/docs/x-fslb8-1-c2924-2-net.rrd:ds1:AVERAGE
DEF:min=/usr/local/etc/mrtg/docs/x-fslb8-1-c2924-2-net.rrd:ds0:MAX
DEF:mout=/usr/local/etc/mrtg/docs/x-fslb8-1-c2924-2-net.rrd:ds1:MAX
CDEF:fin=in,8,*
CDEF:fout=out,8,*
CDEF:fmin=min,8,*
CDEF:fmout=mout,8,*
CDEF:pin=in,10000000,/,100,*,8,*
CDEF:pout=out,10000000,/,100,*,8,*
HRULE:10000000#FF3333
AREA:fin#00cc00
LINE2:fout#0000FF\l
COMMENT:\l
GPRINT:fin:AVERAGE:Average In \: %8.3lf %sb/s
GPRINT:pin:AVERAGE:(%5.1lf%%)
GPRINT:fout:AVERAGE:Average Out \: %8.3lf %sb/s
GPRINT:pout:AVERAGE:(%5.1lf%%)
COMMENT:\l
GPRINT:fmin:MAX:Max In \: %8.3lf %sb/s
GPRINT:pin:MAX:(%5.1lf%%)
GPRINT:fmout:MAX:Max Out \: %8.3lf %sb/s
GPRINT:pout:MAX:(%5.1lf%%)
COMMENT:\l
GPRINT:fin:LAST:Current In \: %8.3lf %sb/s
GPRINT:pin:LAST:(%5.1lf%%)
GPRINT:fout:LAST:Current Out \: %8.3lf %sb/s
GPRINT:pout:LAST:(%5.1lf%%)\l

	To RRDs::graph in perl. This didn't start erroring until we went
to 1.2.4 .... 

	Again, I didn't write this, and the person that did is long gone
from our company...... So I'm in a little bit of a fog trying to catch up
while trying to figure out why MRTG also started to act up.

		Thanks, Tuc/TTSG

--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list