<div dir="ltr">Hi Steve,<br><br>Thanks for the advice.<br>I have RRDs version 1.4.007, and have confirmed this the only version installed, and the correct path is included in @INC<br><br># perl -MRRDs -le &#39;print $RRDs::VERSION&#39;<br>
1.4007<br><br># find / -type f -name RRDs.pm<br>/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/RRDs.pm<br><br># perl -le &#39;print join(&quot;\n&quot;,@INC)&#39;<br>/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi<br>
/usr/lib/perl5/site_perl/5.8.8<br>/usr/lib/perl5/site_perl<br>/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi<br>/usr/lib/perl5/vendor_perl/5.8.8<br>/usr/lib/perl5/vendor_perl<br>/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi<br>
/usr/lib/perl5/5.8.8<br><br>As mentioned in my original email, I have RRDTool 1.4.7, so it appears the versions of both are correct.<br>I did try re-installing the perl-rrdtool (perl-rrdtool.x86_64 0:1.4.7-1.el5.rf) package, but this didn&#39;t help.<br>
<br>So now I&#39;m stuck again - anything else you can suggest?<br><br>thanks again,<br>Darren<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 16 August 2013 05:40, Steve Shipway <span dir="ltr">&lt;<a href="mailto:s.shipway@auckland.ac.nz" target="_blank">s.shipway@auckland.ac.nz</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-NZ"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">This looks as if you have a different version of RRDs to your rrdtool executable version.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Try this:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                rrdtool  -v<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">This should give you the version of the RRDTool executable, and<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                perl -MRRDs -e ‘print $RRDs::VERSION;’<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">this should give you the version of your RRDs module.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">It sounds as if you have an older version of the RRDs libraries installed (possibly v1.2.x).  In this case, reinstall the updated version, or ensure your perl @INC path is pointing first to the newer one.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Steve<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><div class="MsoNormal" style="text-align:center" align="center"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-US"><hr align="center" size="2" width="100%">
</span></div><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Steve Shipway</span></b><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u><u></u></span></b></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">ITS Unix Services Design Lead<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">University of Auckland, New Zealand<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Floor 1, 58 Symonds Street, Auckland<u></u><u></u></span></p><p class="MsoNormal"><i><span style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#595959">Phone: <a href="tel:%2B64%20%280%299%203737599%20ext%2086487" value="+6493737599" target="_blank">+64 (0)9 3737599 ext 86487</a><u></u><u></u></span></i></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#595959">DDI: <a href="tel:%2B64%20%280%299%20923%206487" value="+6499236487" target="_blank">+64 (0)9 923 6487</a><u></u><u></u></span></i></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#595959">Mobile: <a href="tel:%2B64%20%280%2921%20753%20189" value="+6421753189" target="_blank">+64 (0)21 753 189</a><u></u><u></u></span></i></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#595959">Email: <a href="mailto:s.shipway@auckland.ac.nz" target="_blank"><span style="color:#595959">s.shipway@auckland.ac.nz</span></a><u></u><u></u></span></i></p>
<p class="MsoNormal"><span style="font-size:18.0pt;font-family:Webdings;color:green" lang="EN-GB">P</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:blue" lang="EN-GB"> </span><span style="font-size:10.0pt;font-family:&quot;Arial Narrow&quot;,&quot;sans-serif&quot;;color:green" lang="EN-GB">Please consider the environment before printing this e-mail</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:blue" lang="EN-GB"> : </span><span style="font-size:10.0pt;font-family:&quot;MS Gothic&quot;;color:green" lang="ZH-TW">打印本</span><span style="font-size:10.0pt;font-family:MingLiU;color:green" lang="ZH-TW">邮件,将减少一棵树存活的机会</span><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:navy" lang="EN-GB"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang="EN-US"> rrd-users-bounces+s.shipway=<a href="mailto:auckland.ac.nz@lists.oetiker.ch" target="_blank">auckland.ac.nz@lists.oetiker.ch</a> [mailto:<a href="mailto:rrd-users-bounces%2Bs.shipway" target="_blank">rrd-users-bounces+s.shipway</a>=<a href="mailto:auckland.ac.nz@lists.oetiker.ch" target="_blank">auckland.ac.nz@lists.oetiker.ch</a>] <b>On Behalf Of </b>Darren Murphy<br>
<b>Sent:</b> Friday, 16 August 2013 4:15 a.m.<br><b>To:</b> <a href="mailto:rrd-users@lists.oetiker.ch" target="_blank">rrd-users@lists.oetiker.ch</a><br><b>Subject:</b> [rrd-users] Difficulty setting Graph TITLE font with RRDs::graph<u></u><u></u></span></p>
</div></div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal" style="margin-bottom:12.0pt">Hi list,<br><br>I&#39;m having difficulty setting a graph TITLE font size using the RRDTool Perl bindings (RRDs::graph).<br>
<br>When used in a shell with `rrdtool graph`, both &quot;-n TITLE:7:&quot; and &quot;--font TITLE:7:&quot; work as expected and give the desired result.<br>However, both options when passed to RRDs::graph produce an error.<br>
<br>&quot;-n TITLE:7:&quot; results in: Error: RRDs::graph failed, invalid text property format<br>&quot;--font TITLE:7:&quot; results in: Error: RRDs::graph failed, unknown option &#39;--font TITLE:7:&#39;<br><br>A Google search for both errors hasn&#39;t turned up anything useful, the closest I got was a posting in the Cacti forums (<a href="http://forums.cacti.net/about28174.html" target="_blank">http://forums.cacti.net/about28174.html</a>) that suggested upgrading RRDTool.<br>
<br>I am using RRDTool version 1.4.7 on CentOS 5.4<br><br>For completeness, I have included below both a dump of the array passed to RRDs::graph which produces the failure, as well as the result of the same arguments passed to `rrdtool graph`<br>
<br>Any advice much appreciated.<br><br>Thanks in advance,<br>Darren<br><br>@graph_args = (<br>                 &#39;/home/mrtg/png/custom/brbraholid-usg-1_aux0-1376582178.png&#39;,<br>                 &#39;-s 1375134000&#39;,<br>
                 &#39;-e 1375146000&#39;,<br>                 &#39;-u&#39;,<br>                 5000000,<br>                 &#39;--font TITLE:7:&#39;,<br>                 &#39;-t &quot;brbraholid-usg-1_aux0 - 2013-07-29 13:40:00 to 2013-07-29 17:00:00 BOT&quot;&#39;,<br>
                 &#39;--lazy&#39;,<br>                 &#39;-c&#39;,<br>                 &#39;FONT#000000&#39;,<br>                 &#39;-c&#39;,<br>                 &#39;MGRID#000000&#39;,<br>                 &#39;-c&#39;,<br>
                 &#39;FRAME#000000&#39;,<br>                 &#39;-g&#39;,<br>                 &#39;-l&#39;,<br>                 &#39;0&#39;,<br>                 &#39;-c&#39;,<br>                 &#39;BACK#f5f5f5&#39;,<br>
                 &#39;-c&#39;,<br>                 &#39;ARROW#000000&#39;,<br>                 &#39;-b&#39;,<br>                 1000,<br>                 &#39;-w&#39;,<br>                 400,<br>                 &#39;-h&#39;,<br>
                 100,<br>                 &#39;DEF:in0=/home/mrtg/logs/brbraholid-usg-1_aux0.rrd:ds0:AVERAGE&#39;,<br>                 &#39;CDEF:in=in0,8,*&#39;,<br>                 &#39;DEF:maxin0=/home/mrtg/logs/brbraholid-usg-1_aux0.rrd:ds0:MAX&#39;,<br>
                 &#39;CDEF:maxin=maxin0,8,*&#39;,<br>                 &#39;DEF:out0=/home/mrtg/logs/brbraholid-usg-1_aux0.rrd:ds1:AVERAGE&#39;,<br>                 &#39;CDEF:out=out0,8,*&#39;,<br>                 &#39;DEF:maxout0=/home/mrtg/logs/brbraholid-usg-1_aux0.rrd:ds1:MAX&#39;,<br>
                 &#39;CDEF:maxout=maxout0,8,*&#39;,<br>                 &#39;-v&#39;,<br>                 &#39;Bits per second&#39;,<br>                 &#39;AREA:in#00cc00:In&#39;,<br>                 &#39;LINE2:out#0000ff:Out&#39;,<br>
                 &#39;PRINT:out:MAX:%.1lf&#39;,<br>                 &#39;PRINT:in:MAX:%.1lf&#39;,<br>                 &#39;PRINT:out:AVERAGE:%.1lf&#39;,<br>                 &#39;PRINT:in:AVERAGE:%.1lf&#39;,<br>                 &#39;PRINT:out:LAST:%.1lf&#39;,<br>
                 &#39;PRINT:in:LAST:%.1lf&#39;,<br>                 &#39;HRULE:5000000#cc0000&#39;<br>               );<br><br><br><br># rrdtool graph /home/mrtg/png/custom/brbraholid-usg-1_aux0-1376582307.png &quot;-s 1375134000&quot; &quot;-e 1375146000&quot; -u 5000000 --font TITLE:7: -t &quot;brbraholid-usg-1_aux0 - 2013-07-29 13:40:00 to 2013-07-29 17:00:00 BOT&quot; --lazy -c FONT#000000 -c MGRID#000000 -c FRAME#000000 -g -l 0 -c BACK#f5f5f5 -c ARROW#000000 -b 1000 -w 400 -h 100 DEF:in0=/home/mrtg/logs/brbraholid-usg-1_aux0.rrd:ds0:AVERAGE CDEF:in=in0,8,* DEF:maxin0=/home/mrtg/logs/brbraholid-usg-1_aux0.rrd:ds0:MAX CDEF:maxin=maxin0,8,* DEF:out0=/home/mrtg/logs/brbraholid-usg-1_aux0.rrd:ds1:AVERAGE CDEF:out=out0,8,* DEF:maxout0=/home/mrtg/logs/brbraholid-usg-1_aux0.rrd:ds1:MAX CDEF:maxout=maxout0,8,* -v &quot;Bits per second&quot; AREA:in#00cc00:In LINE2:out#0000ff:Out PRINT:out:MAX:%.1lf PRINT:in:MAX:%.1lf PRINT:out:AVERAGE:%.1lf PRINT:in:AVERAGE:%.1lf PRINT:out:LAST:%.1lf PRINT:in:LAST:%.1lf HRULE:5000000#cc0000<br>
497x152<br>1509394.8<br>4679144.1<br>870588.4<br>3460818.0<br>630603.4<br>3686902.0<u></u><u></u></p></div></div></div></div></div></div></blockquote></div><br></div>