[rrd-users] Re: measure the total traffic

Logg, Connie A. cal at SLAC.Stanford.EDU
Fri Aug 30 00:37:11 MEST 2002


You asked:

> is it possible to measure the total traffic with snmp which was gone through the network ?

Yes and no!  What do you mean by the total traffic through the network?  If you mean all the sum of all the bytes going in and out of each and every port in your network, yes, but it is a meaningless number.
Most packets(bytes) will go through more than one port, and so you will be double, triple, etc. counting the same packets(bytes).  Be careful what you ask for...you may get it, and it may be useless.

You need to take the time to really think about what questions you are trying to answer with your monitoring.

Connie Logg - Network Analyst - 650-926-2879
Stanford Linear Accelerator Center
MS 97; 2575 SandHill Road; Menlo Park CA 94025
"Happiness is found along the way, not at the end of the road"

-----Original Message-----
From: Luc Brouard [mailto:mailing-lists at slortar.net]
Sent: Thursday, August 29, 2002 3:10 PM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] Re: measure the total traffic



On Thu, Aug 29, 2002 at 11:07:44PM +0200, T. Xar wrote:
> hi all,
> 
> snmp gives me many information of my network

yes

> mrtg reads the snmp and make log files which i have configured that mrtg should do and generate the graphics for that.

yes

> rrdtools can do the same as mrtg, but it is more powerful, faster, make more graphics and store it in a database and does not need mrtg

yes

> 
> 
> so my questions are:
> is it possible to measure the total traffic with snmp which was gone through the network ?

yes

> would some logs get lost if the system crash ?

dunno

> if it's not possible with snmp, could it a other tool like tcpdump ?

ok with snmp, as well with netstat -k (on solaris), or ifconfig on
linux, or cat /proc/dev/net on linux also ..
Surely not tvpdump (too much resources used)

> can rrdtool and mrtg evaluate other log, dump files then from snmp ?

dunno

> can rrdtool and/or mrtg generate statistics of the built traffic per hour, day, week, month, year ?

yes (both)

> can i store the evaluation in a sql database ?

nope or at least to generate the graphs with rrdtool, data needs to be
in a rrd database also (flat file), but the sql database can be used to
fill data into rrd (I think cacti is working this way, not sure though
as I don't use cacti)

Luc

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list