No graphics...

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

Moderators: Developers, Moderators

Post Reply
ruben-
Posts: 1
Joined: Sun Sep 11, 2005 6:31 am

No graphics...

Post by ruben- »

Hi, I don't get any graphics (in IE the images are not visable, in firefox they just contain text (cpu-usage or mem or so on)
Is there a way I can check if this is a problem with rrdtool or cacti?
I turned on the logging, but now it only states: "rrdtool says:" but nothing beneath it..

Thanks in advance.

- Ruben
budman
Posts: 1
Joined: Sun Sep 11, 2005 8:03 pm

No Image

Post by budman »

I am having the same issue.

FreeBSD 5.4

Every tool is installed and working.

/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=1126400643 \
--end=1126487043 \
--title="Nameserver 1 ip - Memory Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2005/09/10 18:04:03 To 2005/09/11 18:04:03\c" \
COMMENT:"\n" \
--vertical-label="kilobytes" \
DEF:a="/usr/home/mhosting/domains/mabushosting.net/public_html/cacti-0.8.6c/rra/localhost_mem_buffers_3.rrd":mem_buffers:AVERAGE \
DEF:b="/usr/home/mhosting/domains/mabushosting.net/public_html/cacti-0.8.6c/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" \
STACK:b#FFC73B:"Swap" \
GPRINT:b:LAST:"Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s"
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Double check that your setting for rrdtool path is set to the path of the rrdtool executable.

Or that SELinux is disabled or configured to allow the webserver to access rrdtool.

Or if you are running the web server in a chroot, that you have a copy of rrdtool that the web server can access.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests