Problem with RRDTool?

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

Moderators: Developers, Moderators

Post Reply
DavidM
Posts: 34
Joined: Sat Feb 08, 2003 9:52 pm

Problem with RRDTool?

Post by DavidM »

I just installed the latest Cacti on RH 9.

Cacti appears to be functioning.

MySQL works.

However, when I run

Code: Select all

php cmd.php
from the cacti directory, I receive the following errors:
X-Powered-By: PHP/4.2.2
Content-type: text/html

command: perl /var/www/html/cacti/scripts/linux_memory.pl MemFree:, output: 9264sh: line 1: /usr/local/rrdtool/bin: is a directory
command: perl /var/www/html/cacti/scripts/linux_memory.pl SwapFree:, output: 1035800
sh: line 1: /usr/local/rrdtool/bin: is a directory
MULTI command: perl /var/www/html/cacti/scripts/loadavg_multi.pl, output: 1min:0.10 5min:0.21 10min:0.26
MULTI expansion: found fieldid: 17, found rrdname: load_1min, value: 0.10
MULTI expansion: found fieldid: 18, found rrdname: load_5min, value: 0.21
MULTI expansion: found fieldid: 19, found rrdname: load_15min, value: 0.26
sh: line 1: /usr/local/rrdtool/bin: is a directory
command: perl /var/www/html/cacti/scripts/unix_users.pl, output: 2
sh: line 1: /usr/local/rrdtool/bin: is a directory
command: perl /var/www/html/cacti/scripts/unix_processes.pl, output: 80
sh: line 1: /usr/local/rrdtool/bin: is a directory
update /var/www/html/cacti/rra/localhost_mem_buffers_3.rrd --template mem_buffers N:9264
sh: line 1: /usr/local/rrdtool/bin: is a directory
update /var/www/html/cacti/rra/localhost_mem_swap_4.rrd --template mem_swap N:1035800
sh: line 1: /usr/local/rrdtool/bin: is a directory
update /var/www/html/cacti/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min N:0.10:0.21:0.26
sh: line 1: /usr/local/rrdtool/bin: is a directory
update /var/www/html/cacti/rra/localhost_users_6.rrd --template users N:2
sh: line 1: /usr/local/rrdtool/bin: is a directory
update /var/www/html/cacti/rra/localhost_proc_7.rrd --template proc N:80
sh: line 1: /usr/local/rrdtool/bin: is a directory
time: 1
[root@localhost cacti]#
I have installed the latest RRDTOOL and have place it in /usr/local/rrdtool directory.

I've tried changing the path from Cacti to /usr/local/rrdtool/bin and /usr/local/rrdtool without any success.

Please advise.
kkinderen
Posts: 25
Joined: Sun Dec 21, 2003 11:48 pm
Location: Wolfsville, MD
Contact:

Post by kkinderen »

Sounds like I have a similar setup - RH9 and rrdtool installed in /usr/local/rrdtool.

I created a soft link to /usr/local/rrdtool/bin/rrdtool in /usr/local/bin
(ln -s /usr/local/rrdtool/bin/rrdtool /usr/local/bin/rrdtool)

Then I used this for my settings: /usr/local/bin/rrdtool

Hope this helps.

K
Guest

Post by Guest »

Thanks -- I have it working now.

My problem was that it says "path" and that was what I was entering. I was not entering the path and executable name.

So I needed ../rrtdool/bin/rrdtool within the path.

Now I need to figure out how to add basic and custom graphs. I'm a few versions behind and I see things have changed a lot.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests