On 24 October 2012 06:19, Nico <user-4f1d872b9031@xymon.invalid> wrote:
now, if i add the def:
DEF:b=test_rrd.rrd:test:HWPREDICT
the graph is not showing anymore [even if i didn t use the new DEF on a
LINE] :(
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.
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:
<html><head><title>Invalid request</title></head>
<body>the RRD does not contain an RRA matching the chosen CF</body></html>
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.
J