Can't see graphs and create rrd files

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

Moderators: Developers, Moderators

Post Reply
prdantos
Posts: 2
Joined: Sat Dec 17, 2005 4:08 pm

Can't see graphs and create rrd files

Post by prdantos »

I have spent the last few days combing your Forum for an answer, but I am coming up short. :(

I have two problems that I believe are related and solvable :D

First I can't view graphs http://mysite.foo.com/cacti/graph_view.php

You don't have permission to access /cacti/graph_view.php on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Somehow I think this is tied to the problem that I can't create rrd files, but the poller wants to. There is no localhost_proc_15.rrd in /rra and I have the permissions set to 777 :cry:, BUT I do have some rrd's created and are being updated

Here is some useful log outputs;

12/17/2005 07:09:45 PM - WEBLOG: Poller[0] CACTI2RRD: /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" DEF:a="/var/www/html/cacti/rra/localhost_mem_buffers_3.rrd":mem_buffers:AVERAGE DEF:b="/var/www/html/cacti/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"
12/17/2005 07:07:54 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=-86400 --end=-300 --title="Localhost - Hard Drive Space" --rigid --base=1024 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bytes" DEF:a="/var/www/html/cacti/rra/localhost_hdd_free_20.rrd":hdd_used:AVERAGE DEF:b="/var/www/html/cacti/rra/localhost_hdd_free_20.rrd":hdd_free:AVERAGE CDEF:cdefa=a,1024,* CDEF:cdefe=b,1024,* CDEF:cdefi=TIME,1134864174,GT,a,a,UN,0,a,IF,IF,TIME,1134864174,GT,b,b,UN,0,b,IF,IF,+,1024,* AREA:cdefa#F51D30:"Used" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" STACK:cdefe#002A97:"Available" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n" LINE2:cdefi#000000:"Total" GPRINT:cdefi:LAST:" Current\:%8.2lf %s" GPRINT:cdefi:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefi:MAX:"Maximum\:%8.2lf %s"

localhost_hdd_free_20.rrd does not exist in the RRA file, but localhost_mem_buffers_3.rrd does :o

If I go to /cacti/graphs.php?action=graph_edit&id=2&debug=1, I can see the graph for the files that have associated .rrds, but I can not see them from the graph tab.

I am running a stock redhat ES 4 on an Intel EM64T compliant chipset

Any thoughts on how I can fix this?

Happy holidays,

Paul
prdantos
Posts: 2
Joined: Sat Dec 17, 2005 4:08 pm

Solved

Post by prdantos »

:D

I rebuilt the application and it works like a champ!

:D
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests