I am seeing the following error and its resolution or a workaround are 
perplexing me.

 ERROR while creating graph
 
"/nms/clariion-rrd/reports/emc1.stva.yellowbrix.com/SPA.rrd.DAY.READ_WRITE.png",:
        can't make a graph without contents

If I take the arguments I am generating and create a test program it
works with some unexpected behavior.

Notably the -o/--logarithmic option appears to modify both the x and y
axis of my graph. I also lose graphing of negative values on the
graph.(while using -o)



Here is what is being passed to RRDs::graph as well as the error:

RRDs::graph ( 
"/nms/clariion-rrd/reports/emc1.stva.yellowbrix.com/SPA.rrd.DAY.READ_WRITE.png",
 "--start", "985676832", "--imgformat", "PNG", "--width", "640", "--height", 
"480", "--color", "BACK#000000", "--color", "GRID#888888", "--color", 
"MGRID#BBBBBB", "--color", "FONT#FFFFFF", "--color", "CANVAS#000000", 
"--title", "SP Read/Write Requests", "--vertical-label", "Reads/Writes /s", 
"DEF:Total_Reads=/nms/clariion-rrd/arrays/emc1.stva.yellowbrix.com/SPA.rrd:Total_Reads:AVERAGE",
 "CDEF:tmp_Total_Reads=Total_Reads,-1,*", "AREA:tmp_Total_Reads#00FFFF:Total 
Reads", "GPRINT:Total_Reads:AVERAGE:Average %.1lf", 
"GPRINT:Total_Reads:MIN:Minimum %.1lf", "GPRINT:Total_Reads:MAX:Maximum %.1lf", 
"GPRINT:Total_Reads:LAST:Last %.1lf\n", 
"DEF:Blk_read=/nms/clariion-rrd/arrays/emc1.stva.yellowbrix.com/SPA.rrd:Blk_read:AVERAGE",
 "CDEF:tmp_Blk_read=Blk_read,-1,*", "STACK:tmp_Blk_read#0000FF:Blocks %Read", 
"GPRINT:Blk_read:AVERAGE:Average %.1lf", "GPRINT:Blk_read:MIN:Minimum %.1lf", 
"GPRINT:Blk_read:MAX:Maximum %.1lf", "GPRINT:Blk_read:LAST:Last %.1lf\n", 
"DEF:Total_Writes=/nms/clariion-rrd/arrays/emc1.stva.yellowbrix.com/SPA.rrd:Total_Writes:AVERAGE",
 "CDEF:tmp_Total_Writes=Total_Writes,1,*", "AREA:tmp_Total_Writes#FFFF00:Total 
Writes", "GPRINT:Total_Writes:AVERAGE:Average %.1lf", 
"GPRINT:Total_Writes:MIN:Minimum %.1lf", "GPRINT:Total_Writes:MAX:Maximum 
%.1lf", "GPRINT:Total_Writes:LAST:Last %.1lf\n", 
"DEF:Blk_written=/nms/clariion-rrd/arrays/emc1.stva.yellowbrix.com/SPA.rrd:Blk_written:AVERAGE",
 "CDEF:tmp_Blk_written=Blk_written,1,*", "STACK:tmp_Blk_written#FF0000:Blocks 
Written", "GPRINT:Blk_written:AVERAGE:Average %.1lf", 
"GPRINT:Blk_written:MIN:Minimum %.1lf", "GPRINT:Blk_written:MAX:Maximum %.1lf", 
"GPRINT:Blk_written:LAST:Last %.1lf\n" );


Uncaught exception from user code:
        ERROR while creating graph: can't make a graph without contents
        main::recurse_hash_of_arrays() called at ./clariion-graph.pl line 299



>From inside the program it is called:

RRDs::graph ( $RRD_GRAPH_ARG );

Where $RRD_GRAPH_ARG is a concatination of the components of the above argument.

If the RRDs::graph command above is placed into a script on it's own and
run it works(although with the strange -o behavior).


Current RRD version is 1.0.28 on Solaris 8 64bit.

This version is currently in production, so an upgrade to 1.0.33 is a
little bit of a hastle.  If that will fix this problem however it is
doable.


Thanks
        

--                                                                        
Shawn Ferry             (cell)301.254.6436      (mail)[EMAIL PROTECTED]
Chief Fire Eater        (work)703.548.3300      (page)[EMAIL PROTECTED]
www.yellowbrix.com      (fax)703.548.9151       (efax)509.277.1489
(DSA)0x18D37997         (RSA)0xEAA9B595         (page)[EMAIL PROTECTED]

-- Binary/unsupported file stripped by Listar --
-- Err : No filename to use for decode, file stripped.
-- Type: application/pgp-signature


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