View previous topic :: View next topic |
Author |
Message |
booyaa Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 02 Mar 2006 Posts: 85
|
Posted: Thu Apr 06, 2006 4:39 pm Post subject: Installing rrdtool and related tools in Gentoo |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
BlackEdder Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/18387544340ac9a5f1b27a.jpg)
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Thu Apr 06, 2006 4:59 pm Post subject: |
|
|
Did you use portage to install these programs?
Code: | emerge rrdtool apache |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
booyaa Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 02 Mar 2006 Posts: 85
|
Posted: Thu Apr 06, 2006 5:06 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Maedhros Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/8825449514782674ca8d88.gif)
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Thu Apr 06, 2006 5:44 pm Post subject: |
|
|
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 :wink:](images/smiles/icon_wink.gif) _________________ No-one's more important than the earthworm. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kashani Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/9629732313ee51df8c5935.jpg)
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Fri Apr 07, 2006 1:10 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
booyaa Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 02 Mar 2006 Posts: 85
|
Posted: Sun Apr 09, 2006 1:48 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Zyrix n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 28 Dec 2004 Posts: 4
|
Posted: Wed Sep 06, 2006 6:54 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|