Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support
It is currently Sun Oct 26, 2014 3:26 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: cacti graph not show
PostPosted: Tue Apr 10, 2007 6:46 am 
Offline

Joined: Tue Apr 10, 2007 6:41 am
Posts: 2
Location: Pakistan
hello everyone
i have installed cacti and all relevent tools and when i add devices and make graph it doesnt show and i have already start poller manually and it show the following test
[root@Squid cacti]# php poller.php
sh: /usr/local/rrdtool-1.2.19/bin: is a directory
Content-type: text/html
X-Powered-By: PHP/4.3.9

04/10/2007 04:36:52 PM - SYSTEM STATS: Time:1.0330 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:9 RRDsProcessed:7
after that there is no file in rra directory[img][/img]


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 10, 2007 8:40 am 
Offline
Developer/Forum Admin
User avatar

Joined: Mon Nov 17, 2003 6:35 pm
Posts: 5904
Location: Michigan, USA
Check your settings, you have the directory defined, not the rrdtool binary in the path section of your Cacti Settings.

_________________
Tony Roman
Experience is what causes a person to make new mistakes instead of old ones.
There are only 3 way to complete a project: Good, Fast or Cheap, pick two.
With age comes wisdom, what you choose to do with it determines whether or not you are wise.


Top
 Profile  
 
 Post subject: rrdtool: Permission denied
PostPosted: Thu Apr 12, 2007 1:39 am 
Offline

Joined: Tue Apr 10, 2007 6:41 am
Posts: 2
Location: Pakistan
Hello
After changing the path it show like this and graph still not show
Content-type: text/html
X-Powered-By: PHP/4.3.9

04/12/2007 11:36:24 AM - SYSTEM STATS: Time:1.0125 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:3 RRDsProcessed:2
OK u:0.00 s:0.00 r:0.00
OK u:0.00 s:0.00 r:0.00
when i run it on debug mode it shows
/usr/local/rrdtool-1.2.19/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Squid - Traffic - 192.168.100.220 (eth0)" \
--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/squid_traffic_in_43.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/html/cacti/rra/squid_traffic_in_43.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:

sh: /usr/local/rrdtool-1.2.19/bin/rrdtool: Permission denied

[quote][/quote]


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 12, 2007 2:07 am 
Offline
Cacti Guru User
User avatar

Joined: Fri Sep 19, 2003 8:36 am
Posts: 2326
Location: Sophia-Antipolis, France
Hi

can you run that :
Code:
$ ls -l /usr/local/rrdtool-1.2.19/bin/rrdtool
$ file /usr/local/rrdtool-1.2.19/bin/rrdtool
$ ldd /usr/local/rrdtool-1.2.19/bin/rrdtool

Also, what operating system are you using ?
If Linux, is SELinux disabled ?

_________________

HOWTOs :
Templates :


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group