Cacti, Graphics do not display

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

Moderators: Developers, Moderators

Post Reply
Braynid
Posts: 8
Joined: Fri Sep 15, 2006 8:58 am

Cacti, Graphics do not display

Post by Braynid »

Hello!
I have cacti up and running on my ubuntu server rc 6.06 with Apache/2.0.55 (Ubuntu) PHP/5.1.2 mod_ssl/2.0.55 OpenSSL/0.9.8a. If it's of any importance it is the .tar.gz that i have installeb becouse with 'apt-get install cacti' it instals cacti on php4 and i's giving me some bad errors.
So cacti is now installed and i've created a new device and some graphics for it, but i can only see the name of the graphic as seen in the picture below. The host is a generic snmp host, i have instaleed 'snmpd' on the linux machine and the snmp is running.
I have up and running 'rrdtool', the path in cacti for rrdtool is correct but i get this error:
RRDTool Command:GRAPH ACCESS DENIEDRRDTool Says:GRAPH ACCESS DENIED

What is the problem?
Thanks.
Attachments
Cacti.JPG
Cacti.JPG (107.71 KiB) Viewed 1821 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please check
- RRDTool Utility settings must match "rrdtool -v"
- when using rrdtool 1.2.x, set the font path to the /full/path/to/the/font, _not_ /full/path/to/font/dir!
Reinhard
Braynid
Posts: 8
Joined: Fri Sep 15, 2006 8:58 am

Post by Braynid »

I use RRDtool 1.0.46.
As for:
- RRDTool Utility settings must match "rrdtool -v"
I don't really know what you say by rrdtool -v. I've tried it in bash but i presume it needs some more arguments..
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

rrdtool -v tells you the currently used version "along with copyright and more". You may need to provide the full path to rrdtool.
Reinhard
Braynid
Posts: 8
Joined: Fri Sep 15, 2006 8:58 am

Post by Braynid »

In the cacti config the following path is given;
/usr/bin/rrdtool
That i presume it's correct, for there is the binary file for rrdtool.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

I assume a severe misunderstanding between the both of us. I'll try to explain in more detail:

In cacti Settings, you'll find a field called RRDTool Utilities Setting. Two choices are presented, 1.0.x and 1.2.x.

And there's a command for rrdtool to get the current version number of the installed binary. You may get this information from rrdtool by applying the pam [/b]-v. This may produce sth like

Code: Select all

rrdtool -v
RRDtool 1.2.12  Copyright 1997-2005 by Tobias Oetiker <tobi@oetiker.ch>
               Compiled Dec 19 2005 11:26:17

Usage: rrdtool [options] command command_options

Valid commands: create, update, updatev, graph, dump, restore,
                last, first, info, fetch, tune, resize, xport

RRDtool is distributed under the Terms of the GNU General
Public License Version 2. (www.gnu.org/copyleft/gpl.html)

For more information read the RRD manpages
In this case, I'm running rrdtool 1.2.x with respect to the settings within cacti.
This is cruical for "rrdtool" command generation, as the syntax has changed slightly from 1.0.x to 1.2.x. And cacti (currently) does not fetch version information from rrdtool itself. So you have to verify this on your own.
Reinhard
Braynid
Posts: 8
Joined: Fri Sep 15, 2006 8:58 am

Post by Braynid »

Braynid wrote:I use RRDtool 1.0.46.
As for:
- RRDTool Utility settings must match "rrdtool -v"
I don't really know what you say by rrdtool -v. I've tried it in bash but i presume it needs some more arguments..
Using the given command i have stated the version of RRDTool that i use since my last post. I use RRDtool 1.0.46 hence there is no need of setting the font path, the path to rrdtool is set corretly to my /usr/bin/rrdtool

I hope this will clear some of the misunderstanding betwen us.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The errors given in your first post are shown when displaying the graphs? Please have a look at your apache's error_log. And check, that your web server has at least read access to those rrd files found in cacti's ./rra directory
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests