Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2003 05:52:28 -0800
From:      Saint Aardvark the Carpeted <aardvark@saintaardvarkthecarpeted.com>
To:        =?utf-8?B?0JjQktCm?= <roslada@dtc.syzran.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: help needed!
Message-ID:  <20030128135228.GF16487@hardesty.saintaardvarkthecarpeted.com>
In-Reply-To: <12224572883.20030128142459@dtc.syzran.ru>
References:  <12224572883.20030128142459@dtc.syzran.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
> We have
> no specialists in UNIX systems, but we have a great need of measuring
> IP-traffic via the server. Can we use any standard commands for this
> purpose or do we need to get a special program for it?

MRTG is probably what you're looking for:  it produces graphs, updated every
five minutes by default, that show the level of traffic going in and out
of your server.  It's more for seeing how traffic has been over time (it keeps
statistics for a year), rather than seeing what's happening right this very second.
(If right-this-moment information is what you're after, ask about trafshow.)
It's in ports, so to install it you could either fetch it precompiled:

# pkg_add -r mrtg

or compile it yourself if you have the ports tree installed:

# cd /usr/ports/net/mrtg && make install distclean

(To see if you have the ports tree installed, do "ls /usr/ports"; if you see
lots of directories, you've got it.  The first method is probably easier... )

MRTG uses SNMP to get its traffic numbers, and the graphs it generates
are usually displayed via web pages -- so in addition to MRTG itself, you'd usually
need a web server like Apache, and an SNMP daemon like Net-SNMP or UCD-SNMP.

You can find more info on MRTG and some examples of how to use it at the website:

http://people.ee.ethz.ch/~oetiker/webtools/mrtg/

Hope this helps!

Hugh

-- 
Saint Aardvark the Carpeted
aardvark@saintaardvarkthecarpeted.com
Because the plural of Anecdote is Myth.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030128135228.GF16487>