<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.5764" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p><FONT face=Tahoma><FONT
size=2><SPAN class=365590218-19052009><FONT face=Arial>Hi
all,</FONT></SPAN></FONT></FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Tahoma><FONT
face=Arial size=2><SPAN
class=365590218-19052009></SPAN></FONT></FONT></o:p> </P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Tahoma size=2>This
does not seem to be a very popular <SPAN class=365590218-19052009>error
</SPAN>for RRD <SPAN class=365590218-19052009>on this site or a Google
search </SPAN>so I may be running down a rabbit hole.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Tahoma
size=2> </FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Tahoma size=2>I'm
trying to learn RRDtool using the rrd-beginners web page.<SPAN
style="mso-spacerun: yes"> </SPAN>That web page shows a shell script and a
Perl script that does some of the basics.<SPAN style="mso-spacerun: yes">
</SPAN>I have removed almost all the Perl code and got down to the call to graph
and I'm getting an error:</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Tahoma size=2>"problem
generating the graph: 'SCALAR' is not a valid function name"</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Tahoma
size=2> </FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Tahoma size=2>I'm
assuming that this error is generated by RRDtool and not Perl.<SPAN
style="mso-spacerun: yes"> </SPAN>Can someone help me get RRDtool
working?</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Tahoma
size=2> </FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Tahoma><FONT
size=2>I'm using <SPAN class=365590218-19052009>rddtool </SPAN>version
1.2.15<SPAN class=365590218-19052009>:</SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Tahoma
size=2> </FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><FONT size=2>ts04:~/tools/rrd# rrdtool
--version<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><FONT size=2>RRDtool 1.2.15<SPAN
style="mso-spacerun: yes"> </SPAN>Copyright 1997-2006 by Tobias Oetiker
<tobi@oetiker.ch><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><FONT size=2><SPAN
style="mso-spacerun: yes">
</SPAN>Compiled Dec 14 2006 22:05:35<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><o:p><FONT
size=2> </FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><o:p><FONT
size=2> </FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><FONT size=2><SPAN
class=365590218-19052009>If I try some of these things on the command line it
get even less help.</SPAN></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><FONT size=2>It looks like rrdtool fetch is
working:<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><FONT size=2>ts04:~/tools/rrd# rrdtool fetch
target.rrd AVERAGE<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><FONT size=2><SPAN
style="mso-spacerun: yes">
</SPAN>mem<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><o:p><FONT
size=2> </FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><FONT size=2>1242705600:
1.9630934075e+05<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><FONT size=2>1242709200:
1.9625263243e+05<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><o:p><FONT
size=2> </FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><FONT size=2>-- snip
–<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><o:p><FONT
size=2> </FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><FONT size=2>1242774000:
1.9644732828e+05<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><FONT size=2>1242777600:
1.9646400000e+05<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><FONT size=2>1242781200:
1.9646400000e+05<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><FONT size=2>1242784800:
1.9644732804e+05<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><FONT size=2>1242788400:
1.9646400000e+05<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><FONT size=2>1242792000:
nan<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><o:p><FONT
size=2> </FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><FONT size=2>rrdtool graph says it's working
but it does not produce output or error:<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><o:p><FONT
size=2> </FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><FONT size=2>ts04:~/tools/rrd# rrdtool graph
/tmp/bb.png "DEF:tot_mem=target.rrd:mem:AVERAGE" </FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><FONT size=2>0x0<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><FONT size=2>ts04:~/tools/rrd# echo
$?<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><FONT size=2>0<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><FONT size=2>ts04:~/tools/rrd# ll
/tmp/bb.png<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><FONT size=2>ls: /tmp/bb.png: No such file or
directory<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><o:p><FONT
size=2> </FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><o:p><FONT
size=2> </FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><FONT size=2>Thanks in
advance,<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><FONT
size=2>Brian<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-FAMILY: 'Courier New'"><o:p><FONT
size=2> </FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Tahoma
size=2> </FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT size=2><FONT
face=Tahoma> </FONT><FONT face=Arial><SPAN
class=365590218-19052009>[]</SPAN></FONT></FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT size=2><FONT
face=Arial><SPAN
class=365590218-19052009></SPAN></FONT></FONT></o:p> </P></FONT></DIV></BODY></HTML>