Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing rrdtool and related tools in Gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
booyaa
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2006
Posts: 85

PostPosted: Thu Apr 06, 2006 4:39 pm    Post subject: Installing rrdtool and related tools in Gentoo Reply with quote

Ok I have installed an RRDTOOL based network reporting system 3 times and I can get NO data into my rrdtool.

I believe this is a permissions issue.

Here is my question for the Guru's:

Someone please explain to me the proper procedure in installing these tools: rrdtool, apache, etc.. and with what USER?

I have 2 users on my system: root and my user. If I am logging in and operating as me is it standard practice to install these things as me? What group should my user ne in? Because I seem to have lots of issues with permissions after installing things as root with default users installed by the application - if that makes sense.

I apologize for being such a retard and needing further clarification - tired of raking my head
Back to top
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Thu Apr 06, 2006 4:59 pm    Post subject: Reply with quote

Did you use portage to install these programs?
Code:
emerge rrdtool apache
Back to top
View user's profile Send private message
booyaa
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2006
Posts: 85

PostPosted: Thu Apr 06, 2006 5:06 pm    Post subject: Reply with quote

No and let me make this a little more confusing. There is a tool called JKFlow that takes Cisco NetFlow packets and uses RRD to report them

Dude has an install script that manually installa all of this: rrdtool, apache, perl, flow-tools, flow-scan, etc

I want to run this script to get all of these tools on there

Can I and what user do I use?
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Thu Apr 06, 2006 5:44 pm    Post subject: Reply with quote

Moved from Other Things Gentoo to Networking & Security.

I've also changed the thread title - "Freaking out!!!" is not the most helpful title I've ever seen... :wink:
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Fri Apr 07, 2006 1:10 am    Post subject: Reply with quote

I'd use portage to do the work for you.

vi /etc/portage/package.keywords
Code:

dev-perl/JKFlow                         ~x86
net-analyzer/FlowScan                   ~x86
dev-perl/Cflow                          ~x86
net-analyzer/flow-tools                 ~x86


Make sure everything looks okay with the build
emerge -pv dev-perl/JKFlow

Then install it. You'll likely need to mess with the configs a bit. I also see that it requires rrdtool 1.0.x and not 1.2.x which might be where your original probably was coming from.

kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
booyaa
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2006
Posts: 85

PostPosted: Sun Apr 09, 2006 1:48 am    Post subject: Reply with quote

Thanks for the reply, guys. Ok I emerged JKFlow after changing they keywords, then emerged rrdtool.. Everything seems to be working.. JKFlow, flow-capture and Flowscan.

I am even getting images from rrdtool, but no data. Here is my error:

graph failed: (rpn expressions without variables are not supported)

I believe that emerging rrdtool wass correct, somhere in flowscan my rrds arent being created.

If I was to install rrdtool by downloading/compiling/installing.. it will install it to where i unpack and compile...

Where does portage put it?
Back to top
View user's profile Send private message
Zyrix
n00b
n00b


Joined: 28 Dec 2004
Posts: 4

PostPosted: Wed Sep 06, 2006 6:54 pm    Post subject: Reply with quote

Not sure if your still trying to use JKFlow. But here's an article about using NetFlow data on Gentoo:

Code:
http://www.disciplina.net/howto/HOWTO-network_monitoring.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum