Graphs don't work since system upgrade

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Christoph
Posts: 8
Joined: Wed Dec 01, 2004 8:04 am

Graphs don't work since system upgrade

Post by Christoph »

Hi there!

Unfortunately i decided yesterday to upgrade my Debian Sarge Linux box. Before the upgrade i used Cacti 0.8.6b and everything worked fine. Since the update the graphs don't show up anymore. Instead of the graph i see only a "picture" which can't be loaded inside the webbrowser.

To exclude compatibilty problems i upgraded Cacti to 0.8.6c, but this didn't help. Still no graphs. I set logging to debug and when i try to open one graph this line shows up:

Code: Select all

01/09/2005 11:10:22 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph -  --imgformat=PNG  --start=-86400  --end=-300  --title="knecht - Logged in Users"  --rigid  --base=1000  --height=120  --width=500  --alt-autoscale-max  --lower-limit=0  --vertical-label="users"  DEF:a="/usr/share/cacti/rra/localhost_users_6.rrd":users:AVERAGE  AREA:a#4668E4:"Users"   GPRINT:a:LAST:"Current\:%8.0lf"   GPRINT:a:AVERAGE:"Average\:%8.0lf"   GPRINT:a:MAX:"Maximum\:%8.0lf"
Debug Mode says nothing but "RRDTool Says:". No error output. Paths and user rights should be ok. Just doublechecked them. The logging of the data works, all files inside the cacti/rra directory are updated every five minutes.

Unfortunately, i've got no clue what else i can do :( Any suggestions? Here are the versions i'm using:

RRDtool 1.0.49
Cacti 0.8.6c
PHP 4.3.10-2 (cli)
mysql Ver 12.22 Distrib 4.0.23, for pc-linux-gnu (i386)

Thanks
Christoph
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please downgrade PHP to 4.3.9 and respond with results.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Christoph
Posts: 8
Joined: Wed Dec 01, 2004 8:04 am

Post by Christoph »

Downgraded to

PHP 4.3.9-1 (cli) (built: Oct 5 2004 08:45:32)

but it didn't help. Still no graphs.

Thanks
Christoph
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Run in debug 1 pass and post logfile.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Christoph
Posts: 8
Joined: Wed Dec 01, 2004 8:04 am

Post by Christoph »

Thanks for your help TheWitness. I set all log features inside inside "Cacti Settings (General)", so that i get as much logs as possible. Here's the log of a a graph on the number of TCP Connections:

Code: Select all

# tail -f -n 0 /var/log/cacti/cacti.log
01/10/2005 03:10:49 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph -  --imgformat=PNG  --start=-604800  --end=-1800  --title="knecht - TCP Connections"  --rigid  --base=1000  --height=120  --width=500  --alt-autoscale-max  --lower-limit=0  --vertical-label="tcp connections"  DEF:a="/usr/share/cacti/rra/localhost_connections_26.rrd":connections:AVERAGE  AREA:a#005199:"TCP Connections"   GPRINT:a:LAST:"Current\:%8.0lf"   GPRINT:a:AVERAGE:"Average\:%8.0lf"   GPRINT:a:MAX:"Maximum\:%8.0lf"
01/10/2005 03:10:49 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph -  --imgformat=PNG  --start=-33053184  --end=-86400  --title="knecht - TCP Connections"  --rigid  --base=1000  --height=120  --width=500  --alt-autoscale-max  --lower-limit=0  --vertical-label="tcp connections"  DEF:a="/usr/share/cacti/rra/localhost_connections_26.rrd":connections:AVERAGE  AREA:a#005199:"TCP Connections"   GPRINT:a:LAST:"Current\:%8.0lf"   GPRINT:a:AVERAGE:"Average\:%8.0lf"   GPRINT:a:MAX:"Maximum\:%8.0lf"
01/10/2005 03:10:49 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph -  --imgformat=PNG  --start=-2678400  --end=-7200  --title="knecht - TCP Connections"  --rigid  --base=1000  --height=120  --width=500  --alt-autoscale-max  --lower-limit=0  --vertical-label="tcp connections"  DEF:a="/usr/share/cacti/rra/localhost_connections_26.rrd":connections:AVERAGE  AREA:a#005199:"TCP Connections"   GPRINT:a:LAST:"Current\:%8.0lf"   GPRINT:a:AVERAGE:"Average\:%8.0lf"   GPRINT:a:MAX:"Maximum\:%8.0lf"
01/10/2005 03:10:49 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph -  --imgformat=PNG  --start=-86400  --end=-300  --title="knecht - TCP Connections"  --rigid  --base=1000  --height=120  --width=500  --alt-autoscale-max  --lower-limit=0  --vertical-label="tcp connections"  DEF:a="/usr/share/cacti/rra/localhost_connections_26.rrd":connections:AVERAGE  AREA:a#005199:"TCP Connections"   GPRINT:a:LAST:"Current\:%8.0lf"   GPRINT:a:AVERAGE:"Average\:%8.0lf"   GPRINT:a:MAX:"Maximum\:%8.0lf"
Thanks
Christoph

// Edit: Gosh i am stupid.... Somehow i screwed up my php.ini, safe_mode was set to "on". So php couldn't execute rrdtool...I set it to off and everything works fine again.

Sorry for bothering you and thanks for your help
Christoph
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

No problem. Evening!

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests