All other aspects of Cacti seem to be working accept for the generation / display of the graphs.
If I select Graphs/Edit Graph Items and turn on the Preview mode I see this message:
Warning: popen(d:/stats/rrdtool/rrdtool.exe graph - --imgformat=PNG --start="-86400" --title="Traffic Analysis for web01-ohr_External" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --vertical-label="Bytes Per Second" DEF:a="d\:/inetpub/wwwroot/cacti/rra/web01-ohr_external_in.rrd":web01-ohr_external_:AVERAGE DEF:b="d\:/inetpub/wwwroot/cacti/rra/web01-ohr_external_out.rrd":web01-ohr_external_:AVERAGE AREA:a#00CF00:"Inbound" GPRINTLAST:" Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n" LINE1:b#002A97:"Outbound" GPRINTLAST:"Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s" 2>&1,r) [function.popen]: No error in d:\inetpub\wwwroot\cacti\include\rrd_functions.php on line 56
Warning: fgets(): supplied argument is not a valid stream resource in d:\inetpub\wwwroot\cacti\include\rrd_functions.php on line 70
If I try to run the above rrdtool command via the cli I get:
ERROR: can't parse DEF 'a=d\:/inetpub/wwwroot/cacti/rra/platinum_external_in.rrd:
platinum_external_i:AVERAGE' -2
The DEF parts where it says d\:/ looks off, but that is what cacti creates.
If I look at the graph display tree, all graphs show as broken images.
I ran cmd.php at the cli and it looks like it works - the rrd files exists for the items I am trying to graph.
Any ideas? This I beleive is the last hurdle to getting Cacti 0.6.8a to work correctly on Win2K for me.
Trouble creating graphs with cacti/rrdtool
Moderators: Developers, Moderators
Re: Trouble creating graphs with cacti/rrdtool
I've the same problem.
What solution do you have?
Thanks for your answer
What solution do you have?
Thanks for your answer
Anonymous wrote:All other aspects of Cacti seem to be working accept for the generation / display of the graphs.
If I select Graphs/Edit Graph Items and turn on the Preview mode I see this message:
Warning: popen(d:/stats/rrdtool/rrdtool.exe graph - --imgformat=PNG --start="-86400" --title="Traffic Analysis for web01-ohr_External" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --vertical-label="Bytes Per Second" DEF:a="d\:/inetpub/wwwroot/cacti/rra/web01-ohr_external_in.rrd":web01-ohr_external_:AVERAGE DEF:b="d\:/inetpub/wwwroot/cacti/rra/web01-ohr_external_out.rrd":web01-ohr_external_:AVERAGE AREA:a#00CF00:"Inbound" GPRINTLAST:" Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n" LINE1:b#002A97:"Outbound" GPRINTLAST:"Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s" 2>&1,r) [function.popen]: No error in d:\inetpub\wwwroot\cacti\include\rrd_functions.php on line 56
Warning: fgets(): supplied argument is not a valid stream resource in d:\inetpub\wwwroot\cacti\include\rrd_functions.php on line 70
If I try to run the above rrdtool command via the cli I get:
ERROR: can't parse DEF 'a=d\:/inetpub/wwwroot/cacti/rra/platinum_external_in.rrd:
platinum_external_i:AVERAGE' -2
The DEF parts where it says d\:/ looks off, but that is what cacti creates.
If I look at the graph display tree, all graphs show as broken images.
I ran cmd.php at the cli and it looks like it works - the rrd files exists for the items I am trying to graph.
Any ideas? This I beleive is the last hurdle to getting Cacti 0.6.8a to work correctly on Win2K for me.
Who is online
Users browsing this forum: No registered users and 2 guests