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
Goto page 1, 2  Next
 
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: 36

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 [Last update Aug 13] インストール方法[最終更新 8月13日]

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@vyatta# su -

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

vyatta:~# update-rc.d ntop defaults





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
http://www.first-priority.yi.org/
support@first-priority.yi.org


Last edited by first-priority on Sat Sep 4, 2010 5:47 am; edited 17 times in total
Back to top
View user's profile Send private message
pirateghost
Super User
Super User


Joined: 10 Mar 2009
Posts: 356

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: 36

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: 33

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: 104

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
kskewes
Forum Newbie
Forum Newbie


Joined: 04 Jun 2010
Posts: 1

PostPosted: Fri Jun 11, 2010 1:37 am    Post subject: Reply with quote

I needed to create server.pem certificate for lighthttpd to run over https.

Used as per below:
Code:

sudo openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes
Back to top
View user's profile Send private message
BarrySDCA
Active Member
Active Member


Joined: 15 Feb 2009
Posts: 32

PostPosted: Sat Jun 26, 2010 3:16 pm    Post subject: Reply with quote

what kind of load does this put on the router? tx
Back to top
View user's profile Send private message
russell.ogi
Forum Newbie
Forum Newbie


Joined: 21 Apr 2009
Posts: 4

PostPosted: Mon Jul 12, 2010 7:33 am    Post subject: Worked Great Reply with quote

works great running off of VC6.0-2010.06.01_i386
Back to top
View user's profile Send private message
adabbas
Super User
Super User


Joined: 23 Aug 2008
Posts: 261

PostPosted: Sun Jul 18, 2010 5:50 am    Post subject: Reply with quote

I think that ntop or something with smiler graphing abilities should be part of the Vyatta Distribution. Do not you agree??
Back to top
View user's profile Send private message
pirateghost
Super User
Super User


Joined: 10 Mar 2009
Posts: 356

PostPosted: Sun Jul 18, 2010 10:03 am    Post subject: Reply with quote

adabbas wrote:
I think that ntop or something with smiler graphing abilities should be part of the Vyatta Distribution. Do not you agree??

yes. i think it would be a great feature. add in the squid reports (ala SARG or similar) and it would be an excellent feature set.
Back to top
View user's profile Send private message
jarkenx6
Forum Newbie
Forum Newbie


Joined: 06 May 2010
Posts: 4

PostPosted: Wed Jul 28, 2010 6:17 am    Post subject: Reply with quote

I follow the bove steps without problems but I am unable to load http://xxx.xxx.xxx.xxx:3000 Do I have to create a firewall rule to allow port 3000 on eth0
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
Goto page 1, 2  Next
Page 1 of 2

 
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