Looking at your script, you are not retrieving the return value of 
RRDs::graph(), which is where the PRINT output goes.  It does not go to stdout.

You should do:

     @rv = RRDs::graph(@rrd);

Then, @rv = ( @output, $xsize, $ysize ) for a graph image $xsize by $ysize, and 
@output is the array of all the PRINT output.

See the manual for details: http://oss.oetiker.ch/rrdtool/prog/RRDs.en.html

It might be more efficient though to use RRDs::fetch to collect averages for 
the various DSs and then do the multiplication and summation in your perl code, 
rather than go through all the graphing only to throw the image away...

Steve

Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
[email protected]
Ph: +64 9 373 7599 ext 86487


_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to