Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-02-2006, 01:08 AM   #1
Registered: Oct 2005
Location: Bangladesh
Posts: 502

Rep: Reputation: 31
Smile Network traffic Grapher usinf RRDTool

Dear Friends ,

I want to make a "Network traffic Grapher" using RRDTool and Hence i am using the following websites : and

Now I have install successfully using the first web link . Using 2nd web link , When i am going to make ""
then my configuration is the following way , Here i mention that i am using just One Ethernet(Eth0) :

In this moment when i run the script then it shows the following Error :

Can't locate in @INC (@INC contains: /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at ./ line 8.
BEGIN failed--compilation aborted at ./ line 8.

Now i can't understand what is the problem . I can try in different way to make different changes , But i become fail ....So plz give me some clue for helping me .plz help............... Thx..
Old 05-03-2006, 10:43 AM   #2
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Where is this file on your system?
From the link you've given:
The RRDTool Perl library simplifies things when using RRDTool from a Perl script, so to compile and install the Perl library for RRDTool:

make site-perl-install
Did this work?
Old 11-15-2006, 08:48 AM   #3
Registered: Apr 2006
Distribution: Fedora Core 3
Posts: 47

Rep: Reputation: 15
hey. i have the same problem as the OP. however it seems the OP did not reply back. pfff, not even with a thanks. anyway,

i did run that command

make site-perl-install
however the problem still persists. any suggestions?

many thanks
Old 11-18-2006, 08:37 AM   #4
LQ Newbie
Registered: Jun 2005
Location: UK
Posts: 6

Rep: Reputation: 0
I installed RRDTool etc. using the instructions on the creator's website:
These instructions are very good, although you may have more success installing the dependencies using yum rather than building from source.

After I installed RRDTool the perl module was in /usr/local/rrdtool/lib/perl/5.8.5/i386-linux-thread-multi (on a CentOS 4 server).

If you run #perl -V you will see your @INC array listed - this is where your perl installation will look by default for any extra modules you try to load into your scripts. If the location of your is not in the list, then you need to define it's location specifically in your perl scripts:

#in my case:
use lib '/usr/local/rrdtool/lib/perl/5.8.5/i386-linux-thread-multi'

Personally I use mrtg + rrdtool + mrtg-rrd.cgi (see for more info)

Hope this helps.
Old 11-19-2006, 06:27 AM   #5
Registered: Apr 2006
Distribution: Fedora Core 3
Posts: 47

Rep: Reputation: 15
thx a lot. ill give it a try


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Traffic Brian031168 Linux - Networking 3 12-03-2005 12:18 AM
When the network traffic increase over some limit network works interruptedly therrman Linux - Hardware 0 11-15-2005 03:23 AM
rrdtool total traffic count burn0ut Linux - Networking 3 02-02-2005 08:56 AM
How to allow traffic from One Network to Other??? cranium2004 Linux - Networking 1 01-06-2005 01:17 PM
Network Traffic BxBoy Programming 3 02-24-2003 09:31 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration