Forum SubscriptionsForum Subscriptions   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Vyatta Real-Time Network Stats

 
Post new topic   Reply to topic    Vyatta.org Forum Index -> Hackers
View previous topic :: View next topic  
Author Message
first-priority
Active Member
Active Member


Joined: 04 May 2008
Posts: 30

PostPosted: Mon Jul 20, 2009 5:29 am    Post subject: Vyatta Real-Time Network Stats Reply with quote

Real-Time Network Stats Tool












How to install [Jul 27]

Code:


vyatta@vyatta:~$ configure
[edit]
vyatta@vyatta# set system package repository lenny components main
vyatta@vyatta# set system package repository lenny url http://http.us.debian.org/debian
vyatta@vyatta# set system package repository lenny distribution lenny
vyatta@vyatta# commit
vyatta@vyatta# save

vyatta:~# aptitude update

vyatta:~# aptitude install ntop tcpd

vyatta:~# ntop -A
Please enter the password for the admin user: **********
Please enter the password again: **********

vyatta:~# /etc/init.d/ntop start





http://your-vyattahost-name:3000






Recommended method

Vi editer
http://www.vyatta.org/forum/viewtopic.php?t=2475


Terminal emulator
http://www.vyatta.org/forum/viewtopic.php?t=2495


FREE WEB HOSTHING
FIRST-PRIORITY.YI.ORG
support@first-priority.yi.org


Last edited by first-priority on Thu Aug 20, 2009 12:57 pm; edited 12 times in total
Back to top
View user's profile Send private message
pirateghost
Super User
Super User


Joined: 10 Mar 2009
Posts: 202

PostPosted: Tue Jul 21, 2009 2:35 pm    Post subject: Reply with quote

allow me to be the first to say thank you. if you have any more tips like this one or the fwanalog, please keep them coming. i would love to see a howto section supported by the community for items like these.
Back to top
View user's profile Send private message
mlovall723
Forum Newbie
Forum Newbie


Joined: 21 Jul 2008
Posts: 6

PostPosted: Mon Jul 27, 2009 7:12 am    Post subject: Reply with quote

what repository are you using?
Back to top
View user's profile Send private message
first-priority
Active Member
Active Member


Joined: 04 May 2008
Posts: 30

PostPosted: Thu Aug 20, 2009 12:59 pm    Post subject: Make sure aptitude update Reply with quote

Make sure aptitude update command install before!
Back to top
View user's profile Send private message
ubcadmin
Active Member
Active Member


Joined: 06 Oct 2008
Posts: 30

PostPosted: Fri Aug 21, 2009 8:49 am    Post subject: Reply with quote

Installed ntop with no problems. Very Happy Thanks for the how-to!
Back to top
View user's profile Send private message
dorient
Forum Veteran
Forum Veteran


Joined: 13 Feb 2009
Posts: 103

PostPosted: Thu Oct 15, 2009 12:00 am    Post subject: Reply with quote

Hi first-priority,

Thanks for the awesome simple and quick how-to! Got it working in under 5 minutes...

What about installing ntop on a remote station and pulling data from Vyatta?



Thanks,
D
Back to top
View user's profile Send private message
Reece
Forum Newbie
Forum Newbie


Joined: 05 Nov 2009
Posts: 3

PostPosted: Thu Nov 5, 2009 7:39 am    Post subject: Reply with quote

Thanks it works perfectly.

This may be a stupid question, but how do I get it to start on boot? We run a mostly windows shop here so I don't deal with Linux as much.

Thanks.
_________________
Reece Savage
Information Technology Manager
King & Ballow Law Offices
315 Union Street
Suite 1100
Nashville, TN 37201
Phone (615) 726-5525
Fax (615) 254-7907
rsavage@kingballow.com
Back to top
View user's profile Send private message
wdingus
Forum Newbie
Forum Newbie


Joined: 02 Jul 2008
Posts: 7

PostPosted: Mon Nov 9, 2009 1:39 pm    Post subject: Reply with quote

A big thank you for this! Very handy for finding mis-configured PCs, malware-infested PCs, etc...

The "Local Network Traffic Map" option reports this:
Missing dot tool (expected /usr/bin/dot). Please set its path (key dot.path) here.

I can't seem to install that with apt. I tried packages named both "dot" and "graphviz" to no avail. Thoughts?

Thanks...
Back to top
View user's profile Send private message
Reece
Forum Newbie
Forum Newbie


Joined: 05 Nov 2009
Posts: 3

PostPosted: Mon Nov 9, 2009 2:33 pm    Post subject: Reply with quote

I did figure out how to make the program run on boot with the rc.local file. Thanks to Vyatta for that doc. It should be noted that ntop only starts with root powers and then hands off to a user with less privileges. Now I don't know enough about linux users to give ntop user enough privileges to have root powers.

So if you have multiple interfaces the way I found to do it was ntop -M -u root -d

If you start ntop with that command it turns off interface merging with -M and -u specifies the user and so i put root there because -M will still only see eth0 without the -u root in there. Finally -d will send the app to the background so you can continue using the shell. So in rc.local i have it setup to boot that way and so I can see my 5 interfaces.

Great app for traffic tracking.
_________________
Reece Savage
Information Technology Manager
King & Ballow Law Offices
315 Union Street
Suite 1100
Nashville, TN 37201
Phone (615) 726-5525
Fax (615) 254-7907
rsavage@kingballow.com
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Vyatta.org Forum Index -> Hackers All times are GMT - 8 Hours
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