Ok, ive looked everywhere for 2 days and cant get any graphs to show
Im running lighttpd 1.4.19 w/ fast-cgi
php 5.2.5
Latest cacti - installed 2 days ago
rrdtool 1.2.12 and tried 1.2.27 too
I noticed the graphs are pulled from
graph_image.php
So I tried to access it directly and get
The image “http:/localhost/cacti/graph_image.php?action=zoom&local_graph_id=2&rra_id=0&view_type=&graph_start=1219642327&graph_end=1219728727&graph_height=120&graph_width=500&title_font_size=10” cannot be displayed, because it contains errors.
I click on the little wrench icon and see the rrdtool command being executed
So I executed it from the command line and it works fine
I piped the output to test.png and accessed it using a browser
WALA! The graph shows up so its gotta be REAL CLOSE to working
I see that graph_image calls
header("Content-type: image/png");
and then executes an rrdtool function which ends up calling popen() to exec the rrdtool and capture its output, then it simply calls PRINT to dump the output
But it doesnt show.... im at a loss.
I set php safe mode off. All paths in cacti show green, no errors in any log files anywhere
I proved the rrdtool is generating the graph just fine
I think there is a glitch somewhere with php execing rrdtool and capturing the output correctly
HELLLLPP! Im losing my mind
No errors anywhere - and still no graphs
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 2 guests