[rrd-users] Using RRDs

Glenn MacGregor Glenn.MacGregor at sonos.com
Fri Jul 27 19:25:33 CEST 2007


Hi All,
 
I am using the RRDs Perl module, but I am having problems using the \g
option in the COMMENT to get a newline.
 
my $args = [
  "test.png",
  "--title",
  "Test Title",
  "--end",
  "now",
  "--start",
  "now-1d",
  "DEF:param0:test.rrd:param0:AVERAGE",
  "LINE1:param0#009900:Test"
  "COMMENT:\\g",
  "COMMENT:Next"
];
 
 
RRDs::graph(@$args);
 
The graph is produced, but the new line is not in the graph footer, I
have tried \\\\g as well, that failed too. How do I correctly pass that
comment through to the rrggraph function?
 
Thanks
 
 Glenn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070727/dbba084f/attachment-0001.html 


More information about the rrd-users mailing list