Graphs not displaying anywhere
Moderators: Developers, Moderators
Graphs not displaying anywhere
I searched the forums and found that most people having this issue are getting some graphs some areas and not other areas, Also this is usually due to an upgrade or a font issue.
Ive check the font out, though it still could be the issue as im new to this, and it seems fine.
This is a fresh install using the guide http://www.howtoforge.com/cacti_ispconfig so its definately not an upgrade problem.
I can log in fine and thats about all i know to do, I check the graphs section, and then click on the thumbnails of where the images should be and it goes into another page and still displays the no image icon where the image should be.
Any suggestions would be much appriciated
Ive check the font out, though it still could be the issue as im new to this, and it seems fine.
This is a fresh install using the guide http://www.howtoforge.com/cacti_ispconfig so its definately not an upgrade problem.
I can log in fine and thats about all i know to do, I check the graphs section, and then click on the thumbnails of where the images should be and it goes into another page and still displays the no image icon where the image should be.
Any suggestions would be much appriciated
i've got exactly the same problem... and here is the log from debug:
Code: Select all
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Localhost - Memory Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="kilobytes" \
--slope-mode \
DEF:a="/usr/share/cacti/site/rra/localhost_mem_buffers_18.rrd":mem_buffers:AVERAGE \
DEF:b="/usr/share/cacti/site/rra/localhost_mem_swap_19.rrd":mem_swap:AVERAGE \
AREA:a#FF4105:"Free" \
GPRINT:a:LAST:"Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" \
AREA:b#FFC73B:"Swap":STACK \
GPRINT:b:LAST:"Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s"
RRDTool Says:
ERROR: opening '/usr/share/cacti/site/rra/localhost_mem_buffers_18.rrd': No such file or directory
points i've got from your debug instructions:
i have 2 machines, one using Ubuntu Edgy Eft. (6.10) and another using Ubuntu Feisty Fawn (7.04).
From Feisty Fawn, when i added a host using SNMP it solved the issue, at Edgy Eft. i wasn't able to access the SNMP host so, i didn't tried it.
From Edgy Eft, (the one i still having troubles, my cacti.log is empty... maybe it's some permissions errors, but it's a clean installation from repository. Maybe you can point me a direction about this.
Apache2 is running with user apache and group www-data...
i also did an dpkg-reconfigure php5-mysql
and i think i found something that can lead to the problem:
this is an apache2 error.log
from cacti poller-error.log
i have 2 machines, one using Ubuntu Edgy Eft. (6.10) and another using Ubuntu Feisty Fawn (7.04).
From Feisty Fawn, when i added a host using SNMP it solved the issue, at Edgy Eft. i wasn't able to access the SNMP host so, i didn't tried it.
From Edgy Eft, (the one i still having troubles, my cacti.log is empty... maybe it's some permissions errors, but it's a clean installation from repository. Maybe you can point me a direction about this.
Apache2 is running with user apache and group www-data...
i also did an dpkg-reconfigure php5-mysql
and i think i found something that can lead to the problem:
this is an apache2 error.log
Code: Select all
ERROR: opening '/usr/share/cacti/site/rra/localhost_hdd_free_17.rrd': No such file or directory
ERROR: opening '/usr/share/cacti/site/rra/localhost_hdd_free_17.rrd': No such file or directory
ERROR: opening '/usr/share/cacti/site/rra/localhost_hdd_free_17.rrd': No such file or directory
ERROR: opening '/usr/share/cacti/site/rra/localhost_hdd_free_17.rrd': No such file or directory
ERROR: opening '/usr/share/cacti/site/rra/localhost_mem_buffers_18.rrd': No such file or directory
ERROR: opening '/usr/share/cacti/site/rra/localhost_hdd_free_17.rrd': No such file or directory
ERROR: opening '/usr/share/cacti/site/rra/localhost_hdd_free_17.rrd': No such file or directory
ERROR: opening '/usr/share/cacti/site/rra/localhost_mem_buffers_18.rrd': No such file or directory
ERROR: opening '/usr/share/cacti/site/rra/localhost_hdd_free_17.rrd': No such file or directory
ERROR: opening '/usr/share/cacti/site/rra/localhost_mem_buffers_18.rrd': No such file or directory
ERROR: opening '/usr/share/cacti/site/rra/localhost_mem_buffers_18.rrd': No such file or directory
ERROR: opening '/usr/share/cacti/site/rra/localhost_hdd_free_17.rrd': No such file or directory
ERROR: opening '/usr/share/cacti/site/rra/localhost_mem_buffers_18.rrd': No such file or directory
ERROR: opening '/usr/share/cacti/site/rra/localhost_hdd_free_17.rrd': No such file or directory
ERROR: opening '/usr/share/cacti/site/rra/localhost_hdd_free_17.rrd': No such file or directory
Code: Select all
PHP Warning: mime_magic: type regex BEGIN[[:space:]]*[{] application/x-awk invalid in Unknown on line 0
Here is my print out. Im going to look at your link in a secondgandalf wrote:Please visit one of the graphs at Graph Management. Switch to DEBUG node and post a screenshot
Reinhard
Code: Select all
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Localhost - Memory Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="kilobytes" \
--slope-mode \
DEF:a="/var/www/web7/web/rra/localhost_mem_buffers_3.rrd":mem_buffers:AVERAGE \
DEF:b="/var/www/web7/web/rra/localhost_mem_swap_4.rrd":mem_swap:AVERAGE \
AREA:a#FF4105:"Free" \
GPRINT:a:LAST:"Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" \
AREA:b#FFC73B:"Swap":STACK \
GPRINT:b:LAST:"Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s"
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Please run
from cli and post results
Reinhard
Code: Select all
/usr/bin/rrdtool graph /tmp/foo.png \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Localhost - Memory Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="kilobytes" \
--slope-mode \
DEF:a="/var/www/web7/web/rra/localhost_mem_buffers_3.rrd":mem_buffers:AVERAGE \
DEF:b="/var/www/web7/web/rra/localhost_mem_swap_4.rrd":mem_swap:AVERAGE \
AREA:a#FF4105:"Free" \
GPRINT:a:LAST:"Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" \
AREA:b#FFC73B:"Swap":STACK \
GPRINT:b:LAST:"Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s"
Reinhard
Who is online
Users browsing this forum: No registered users and 2 guests