PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > Network Bandwidth Usage tool
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

Network Bandwidth Usage tool

Réponse
 
LinkBack Outils de la discussion
Vieux 20/08/2007, 23h00   #1
betty Snoop
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Network Bandwidth Usage tool

I have Debian 4.0 installed running as a gateway. Command line only.

How can I log the ethernet ports for bandwidth usage? Logging virtual
ports would be nice too.

Here's the situation. I set up OpenVPN to allow remote users to
connect but I think the internet connection is not sufficient for what
is needed. I want to periodically sample the networks interfaces for
a total bandwidth usage. For example every minute I want to sample
both eth0 and tun0.

What tools are out there that simply log the total bandwidth usage on a
port?

  Réponse avec citation
Vieux 20/08/2007, 23h10   #2
David Brodbeck
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Network Bandwidth Usage tool


On Aug 20, 2007, at 2:34 PM, betty Snoop wrote:

> I have Debian 4.0 installed running as a gateway. Command line only.
>
> How can I log the ethernet ports for bandwidth usage? Logging virtual
> ports would be nice too.
>
> Here's the situation. I set up OpenVPN to allow remote users to
> connect but I think the internet connection is not sufficient for what
> is needed. I want to periodically sample the networks interfaces for
> a total bandwidth usage. For example every minute I want to sample
> both eth0 and tun0.
>
> What tools are out there that simply log the total bandwidth usage
> on a port?


There are several options.

MRTG and Cacti are the classic tools for this job. They work very
well for basic bandwidth usage logging, but you need to be running
snmpd, because that's how they get their data. Once you've set that
up, though, they can log anything they can get from SNMP, like memory
and CPU usage. An added advantage is that many network appliances
are also SNMP enabled, so you can log the load on your switches and
routers with the same tool. Cacti is sort of a swiss army knife for
SNMP monitoring and graphing -- I even use it for logging
temperatures, with an APC Environmental Monitoring Unit.

Another option is to run ntop. It will log traffic on one or more
network interfaces and give you a nice web interface with a breakdown
by host and by protocol. One caveat -- if you have very high data
rates (>10Mbit/second) ntop can begin to consume a lot of CPU as it
processes all those packets.

Finally, for real-time information, look at iftop. It gives a top-
style display of how your bandwidth is being used. Very slick.



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 18h44.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,07707 seconds with 10 queries