RRDTool

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

Moderators: Developers, Moderators

Post Reply
3amir
Posts: 8
Joined: Fri Aug 14, 2009 3:48 am
Location: Iraq
Contact:

RRDTool

Post by 3amir »

I install Cacti-0.8.7e on CentOS 5.2 but but always have problem with rrdtool , I tried all version available in many sites like http://www.express.org/~wrl/rrdtool/ with no luck .
all RRDTool installed from site above show path /usr/local/bin/rrdtool while Binary path should be /usr/bin/rrdtool .
please advice which one should I use ??? Do I have to re-install Cacti again or I can just use the right one ???
charlesdf23
Cacti User
Posts: 77
Joined: Thu Nov 13, 2008 2:30 pm

Post by charlesdf23 »

How did you install rrdtool and how did you install Cacti?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: RRDTool

Post by Howie »

3amir wrote:I install Cacti-0.8.7e on CentOS 5.2 but but always have problem with rrdtool , I tried all version available in many sites like http://www.express.org/~wrl/rrdtool/ with no luck .
all RRDTool installed from site above show path /usr/local/bin/rrdtool while Binary path should be /usr/bin/rrdtool .
please advice which one should I use ??? Do I have to re-install Cacti again or I can just use the right one ???
Just change it in the Cacti Paths settings to match where the rrdtool binary really is.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
3amir
Posts: 8
Joined: Fri Aug 14, 2009 3:48 am
Location: Iraq
Contact:

Post by 3amir »

Well , following procedure used to install Cacti
yum -y install gcc
yum -y install httpd
yum -y install mysq-server
yum -y install php php-mysql php-snmp

Download rrdtool RPM distribution from http://www.express.org/~wrl/rrdtool/ to a temporary folder and install it
cd /tmp
wget http://www.express.org/~wrl/rrdtool/rrd ... l.i386.rpm
rpm -ivh rrdtool-1.2.30-4.el4.wrl.i386.rpm
Download Cacti and install .
I tried to change path setting to /usr/bin/rrdtool but still have same error which is (ERROR: Installed RRDTool version does not match configured version Please visit the Configuration Settings and select the correct RRDTool Utility Version )
All configuration have no problem except RRDTool installation .
Please advice if there is any other way to download and install a compatible RRDTool with Cacti-0.8.7e on Centos 5.2 .
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

3amir wrote:Well , following procedure used to install Cacti
yum -y install gcc
yum -y install httpd
yum -y install mysq-server
yum -y install php php-mysql php-snmp

Download rrdtool RPM distribution from http://www.express.org/~wrl/rrdtool/ to a temporary folder and install it
cd /tmp
wget http://www.express.org/~wrl/rrdtool/rrd ... l.i386.rpm
rpm -ivh rrdtool-1.2.30-4.el4.wrl.i386.rpm
Download Cacti and install .
I tried to change path setting to /usr/bin/rrdtool but still have same error which is (ERROR: Installed RRDTool version does not match configured version Please visit the Configuration Settings and select the correct RRDTool Utility Version )
All configuration have no problem except RRDTool installation .
Please advice if there is any other way to download and install a compatible RRDTool with Cacti-0.8.7e on Centos 5.2 .
And did you go into the Cacti settings and change the rrdtool version to 1.2, like the message says?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
3amir
Posts: 8
Joined: Fri Aug 14, 2009 3:48 am
Location: Iraq
Contact:

Post by 3amir »

yes i change it to 1.2 but still have same error .
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

3amir wrote:yes i change it to 1.2 but still have same error .
It sounds like maybe you have two rrdtools installed (one in /usr/bin/ and one in /usr/local/bin).

If you take the path from the Cacti settings, and then paste it into a command-line, then you should get the version number of that version. Maybe it's 1.3 in one and 1.2 in the other?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
3amir
Posts: 8
Joined: Fri Aug 14, 2009 3:48 am
Location: Iraq
Contact:

Post by 3amir »

it seems that there is no rrdtool installed yet , when i try rrdtool -help i have this message :-
[root@localhost ~]# rrdtool --help
bash: rrdtool: command not found
[root@localhost ~]# yum install rddtool
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.intergenia.de
* updates: centos.intergenia.de
* addons: centos.intergenia.de
* extras: centos.intergenia.de
Setting up Install Process
Parsing package install arguments
No package rddtool available.
Nothing to do
[root@localhost ~]#
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

3amir wrote:it seems that there is no rrdtool installed yet , when i try rrdtool -help i have this message :-
[root@localhost ~]# rrdtool --help
bash: rrdtool: command not found
[root@localhost ~]# yum install rddtool
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.intergenia.de
* updates: centos.intergenia.de
* addons: centos.intergenia.de
* extras: centos.intergenia.de
Setting up Install Process
Parsing package install arguments
No package rddtool available.
Nothing to do
[root@localhost ~]#
That might do it :-)

rpmforge has rrdtool available via yum. You need to install the rpmforge-release package, which configures yum to use that repo first.
http://rpmrepo.org/RPMforge/Using

EDIT: sorry - maybe they don't after all :(

EDIT 2: Actually they do: http://packages.sw.be/rrdtool/
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
metal_icer
Posts: 5
Joined: Fri Jul 25, 2008 1:41 am

Post by metal_icer »

If you want to install rrdtool via yum in CentOS. This is how to do it:

RRDTool, to compile or using RPM is not easy. It required many other packages. So, what I did is to follow this instruction : Installing RRDTool Using Yum
1. Create a file dag.repo under /etc/yum.repos.d :
shell> nano /etc/yum.repos.d/dag.repo
2. Then, copy and paste the following code :
[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
gpgkey=http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
enabled=1
3. Save and run :
shell> yum install perl-rrdtool rrdtool

This is taken from http://www.bxtra.net/Articles/2008-09-1 ... irectAdmin

good luck
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest