Need help problem cacti on Centos

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

Moderators: Developers, Moderators

Post Reply
dhodi
Posts: 3
Joined: Mon Apr 23, 2012 2:01 am

Need help problem cacti on Centos

Post by dhodi »

hello everybody,

I am newbie to cacti, I am trying to monitor my linux on which Cacti is installed.
Last day everything was working fine.
All the graph was working.
When I tried to recreate after deleting default created graph for practice.
I am getting following error when I turn on debug mode for graph,

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='test - Traffic - 1' \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="/var/www/html/cacti/rra/test_traffic_in_892.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/html/cacti/rra/test_traffic_in_892.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00FF:"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#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n"

RRDTool Says:

ERROR: opening '/var/www/html/cacti/rra/test_traffic_in_892.rrd': No such file or directory

i've already try to run :
# php /var/www/html/cacti/poller.php
the output :
File size limit exceeded

my crontab :
# crontab -l
the output :
*/5 * * * * cacti /usr/bin/php /var/www/html/cacti/poller.php > /dev/null 2>&1

I google a lot but find no solution, waiting for reply :(
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Need help problem cacti on Centos

Post by gandalf »

Please see 2nd link of my sig for basic debugging help
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests