Graphs disappeared - corrupt rrds?

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

Moderators: Developers, Moderators

Post Reply
jlynch
Posts: 2
Joined: Sun Aug 15, 2004 2:18 am
Contact:

Graphs disappeared - corrupt rrds?

Post by jlynch »

Hi friends,
I had cacti working perfectly with a few added templates (for apache and mysql) and then my Graphs have all suddenly dissapeared when viewing the main graphs page. When I click on Graph Management and then click on each individual graph I get something similar to the error at the bottom.

Are my rrds corrupt by any chance? Is there any way I can test them? Do I have to reset them? I ran cmd.php from the command line and one line gave an error (it didn't have the right variables to login to a db to get output). I fixed this so cmd.php gives no errors but my graphs are still all gone and I get the error below;

Code: Select all

Warning:  popen(/usr/local/rrdtool-1.0.48/bin/rrdtool graph -  --imgformat=PNG  --start=-86400  --end=-300  --title="Localhost - Apache Statistics - Bytes / Request"  --base=1024  --height=120  --width=500  --alt-autoscale-max  --lower-limit=0  --units-exponent=0  --vertical-label="bytes / hit"  DEF:a="/home/httpd/vhosts/netvantage.com.au/httpdocs/cacti/rra/localhost_apache_idle_workers_29.rrd":apache_total_hits:AVERAGE  DEF:b="/home/httpd/vhosts/netvantage.com.au/httpdocs/cacti/rra/localhost_apache_idle_workers_29.rrd":apache_total_kbytes:AVERAGE  CDEF:cdefa=a,UN,0,a,100000,GT,0,a,IF,IF  CDEF:cdefb=b,UN,0,b,100000,GT,0,b,IF,IF  CDEF:cdefc=cdefb,0,EQ,0,cdefa,1024,*,cdefb,/,IF,0,1000000,LIMIT  CDEF:cdefg=a,0,0,LIMIT  CDEF:cdefh=b,0,0,LIMIT  COMMENT:""   COMMENT:""   AREA:cdefc#4123A1:"Bytes / Request"   GPRINT:cdefc:LAST:"Current\:%8.2lf %s"   GPRINT:cdefc:AVERAGE:"Average\:%8.2lf %s"   GPRINT:cdefc:MAX:"Maximum\:%8.2lf %s\n"   LINE2:cdefg#:"kBytes"   LINE2:cdefh#:"Hits"   COMMENT:"                            Represents in /home/httpd/vhosts/netvantage.com.au/httpdocs/cacti/lib/rrd.php on line 56

Warning:  fgets(): supplied argument is not a valid stream resource in /home/httpd/vhosts/netvantage.com.au/httpdocs/cacti/lib/rrd.php on line 72
Cheers,

Justin
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests