Hi
I have the following error when I try to create a Graph
RRDTool Command:
/usr/local/rrdtool/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Router Tenancingo - Traffic - Se0.1" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
DEF:a="/var/www/html/cacti/rra/router_tenancingo_traffic_in_42.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/html/cacti/rra/router_tenancingo_traffic_in_42.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
RRDTool Says:
ERROR: opening '/var/www/html/cacti/rra/router_tenancingo_traffic_in_42.rrd': No such file or directory
I saw the instructions in a past post and I follow it. I check the rra permission and the owner is my cacti user and it has the permission ok
I detect some particular think. Whe I run the following command inside the cacti directory
shell>php poller.php
the rrd file of my divices are created and the box of the graphic apears in the graph manager but I don't have any data.
If I set up a new device I get the error of the top.
Some one can help me with this issue , please???
Thank you
RRD file problem
Moderators: Developers, Moderators
RRD file problem
Today, I just find what's problem..
Actually, you should reconfigure connection between php and mysql
Example: dpkg-reconfigure php4-mysql
you should choose YES,in every question. And then,try it again
Thx
Actually, you should reconfigure connection between php and mysql
Example: dpkg-reconfigure php4-mysql
you should choose YES,in every question. And then,try it again
Thx
I resolve IT!!!
Thank you for the comments
I found that my problem was the PHP PATH in the crontab file, I only copy the script of the Manual but I havce another PATH in my computer to the PHP file.
This resolve my problem and now I can see my traffic graphics.
I hope this help someone.
Thank you
Armando Gonzalez
I found that my problem was the PHP PATH in the crontab file, I only copy the script of the Manual but I havce another PATH in my computer to the PHP file.
This resolve my problem and now I can see my traffic graphics.
I hope this help someone.
Thank you
Armando Gonzalez
Who is online
Users browsing this forum: No registered users and 0 guests