/graph_image.php returns 0 for all graphs

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
JFK
Posts: 6
Joined: Sat Mar 08, 2003 5:11 am

/graph_image.php returns 0 for all graphs

Post by JFK »

Hi board,

i had several graphs working, but suddenly /graph_image.php?graphid=66&rraid=1[...] returns 0 for every image. When I use the HTML Export Path the images are created perfectly, only the just-in-time-creaton doesn't work.
I'm running cacti on linux using PHP/4.0.6.
Does anybody know how to resolve this issue ?

Thanks, JFK
User avatar
bulek
Cacti Pro User
Posts: 854
Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:

Post by bulek »

I'm not sure how does cacti work with older versions of PHP. Maybe upgrading it would help?

- bulek
JFK
Posts: 6
Joined: Sat Mar 08, 2003 5:11 am

Post by JFK »

It ran perfectly before, I haven't changed anything. Neither php nor cacti. It suddenly stopped to work.

/jfk
User avatar
bulek
Cacti Pro User
Posts: 854
Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:

Post by bulek »

Go inside graph data items list. Click on "Turn graph output preview". What message do you see after that? Also you can turn on logging of rrdtool graph commands in cacti settings. Then check log/rrd.log file for error messages. Last thing you can check is apache's error_log file for related error messages.

- bulek
JFK
Posts: 6
Joined: Sat Mar 08, 2003 5:11 am

Post by JFK »

I activated all logging options but there is nothing written concerning my error. When I active the output preview I get the same result as in the tree view, the graph_image.php returns 0 instead of the image. In the apache log isn't something written either.

/jfk
Got2Go

Post by Got2Go »

Hello,
I am having this same problem.
All my graphs where there last night.
Today, when I log in to check stats, all the graphs are missing (red x instead of graphic).
If I type the graph source URL on the browser, all I get is a 0.

And nothing has been changed. I loged out yesterday and it was working fine.
Today I log in and the graphs are missing.

Ideas ?

Thank you,
Got2Go
Got2Go

Post by Got2Go »

OK,
I rebooted the server and it now displays all the graphics again.
But data is missing from around 5:20AM to the time the server rebooted (just now, 5:33PM).

The cmd.php has been running, and I ran it manually multiple times without any errors reported during the day while troubleshooting.

So,
Band-Aid Fix = Reboot
Real fix = Unknown
Cause= Unknown

I will try other things if it happens again to see if I can spot the cause.

Got2Go
JFK
Posts: 6
Joined: Sat Mar 08, 2003 5:11 am

Post by JFK »

I will reboot the server as soon as I can. Hope that helps.

/jfk
JFK
Posts: 6
Joined: Sat Mar 08, 2003 5:11 am

Post by JFK »

Reboot didn't help for me, the problem still persists :(

/jfk
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest