| View previous topic :: View next topic |
| Author |
Message |
first-priority Active Member


Joined: 04 May 2008 Posts: 36
|
Posted: Mon Jul 20, 2009 5:29 am Post subject: Vyatta Real-Time Network Stats |
|
|
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 |
|
 |
pirateghost Super User

Joined: 10 Mar 2009 Posts: 356
|
Posted: Tue Jul 21, 2009 2:35 pm Post subject: |
|
|
| 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 |
|
 |
mlovall723 Forum Newbie

Joined: 21 Jul 2008 Posts: 6
|
Posted: Mon Jul 27, 2009 7:12 am Post subject: |
|
|
| what repository are you using? |
|
| Back to top |
|
 |
first-priority Active Member


Joined: 04 May 2008 Posts: 36
|
Posted: Thu Aug 20, 2009 12:59 pm Post subject: Make sure aptitude update |
|
|
| Make sure aptitude update command install before! |
|
| Back to top |
|
 |
ubcadmin Active Member

Joined: 06 Oct 2008 Posts: 33
|
Posted: Fri Aug 21, 2009 8:49 am Post subject: |
|
|
Installed ntop with no problems. Thanks for the how-to! |
|
| Back to top |
|
 |
dorient Forum Veteran

Joined: 13 Feb 2009 Posts: 104
|
Posted: Thu Oct 15, 2009 12:00 am Post subject: |
|
|
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 |
|
 |
Reece Forum Newbie

Joined: 05 Nov 2009 Posts: 3
|
Posted: Thu Nov 5, 2009 7:39 am Post subject: |
|
|
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 |
|
 |
wdingus Forum Newbie

Joined: 02 Jul 2008 Posts: 7
|
Posted: Mon Nov 9, 2009 1:39 pm Post subject: |
|
|
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 |
|
 |
Reece Forum Newbie

Joined: 05 Nov 2009 Posts: 3
|
Posted: Mon Nov 9, 2009 2:33 pm Post subject: |
|
|
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 |
|
 |
kskewes Forum Newbie

Joined: 04 Jun 2010 Posts: 1
|
Posted: Fri Jun 11, 2010 1:37 am Post subject: |
|
|
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 |
|
 |
BarrySDCA Active Member

Joined: 15 Feb 2009 Posts: 32
|
Posted: Sat Jun 26, 2010 3:16 pm Post subject: |
|
|
| what kind of load does this put on the router? tx |
|
| Back to top |
|
 |
russell.ogi Forum Newbie

Joined: 21 Apr 2009 Posts: 4
|
Posted: Mon Jul 12, 2010 7:33 am Post subject: Worked Great |
|
|
| works great running off of VC6.0-2010.06.01_i386 |
|
| Back to top |
|
 |
adabbas Super User

Joined: 23 Aug 2008 Posts: 261
|
Posted: Sun Jul 18, 2010 5:50 am Post subject: |
|
|
| I think that ntop or something with smiler graphing abilities should be part of the Vyatta Distribution. Do not you agree?? |
|
| Back to top |
|
 |
pirateghost Super User

Joined: 10 Mar 2009 Posts: 356
|
Posted: Sun Jul 18, 2010 10:03 am Post subject: |
|
|
| 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 |
|
 |
jarkenx6 Forum Newbie

Joined: 06 May 2010 Posts: 4
|
Posted: Wed Jul 28, 2010 6:17 am Post subject: |
|
|
| 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 |
|
 |
|