On 24 October 2012 06:19, Nico <span dir="ltr"><<a href="mailto:nicolas@lienard.name" target="_blank">nicolas@lienard.name</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="HOEnZb"><div class="h5">now, if i add the def:<br>
<br>
       DEF:b=test_rrd.rrd:test:HWPREDICT<br>
<br>
the graph is not showing anymore [even if i didn t use the new DEF on a LINE]  :(<br></div></div></blockquote><div><br></div><div>In debug mode, showgraph.cgi will display the arguments sent to rrd_graph().  Try adding "--debug" to CGI_SHOWGRAPH_OPTS in cgioptions.cfg, and have a look at the parameters.  Then try running "rrdtool graph ..." with the same parameters and see what it says.</div>

<div><br></div><div>If you're able to grab the URL for the image, use wget to fetch the URL and show the contents.  You should see the rrd_graph error message, like this:</div><div><br></div><div><div><html><head><title>Invalid request</title></head></div>

<div><body>the RRD does not contain an RRA matching the chosen CF</body></html></div></div><div><br></div><div>This is what I get when I add a line with HWPREDICT, where I haven't defined it in my RRD file (yet).  You might get a different message that indicates where the problem is.</div>

<div><br></div><div>J</div><div><br></div></div>