Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Sep 2002 10:16:26 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Olga Zenkova <siro200@yahoo.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: mrtg
Message-ID:  <20020906091626.GD34657@happy-idiot-talk.infracaninophi>
In-Reply-To: <20020906085448.21438.qmail@web9601.mail.yahoo.com>
References:  <20020906085448.21438.qmail@web9601.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 06, 2002 at 01:54:48AM -0700, Olga Zenkova wrote:

> Would like to ask: is it possible with the help of
> MRTG to get similar graphs not only for ip traffic at
> all but elso for the different types of packet ports -
> http, ftp, smtp, etc. .... to see what type of packets
> makes traffic at the moment? May be some other
> software, not MRTG?

Yes, absolutely.  However, you're probably going to have to do a
little programming or scripting to make it all work.  Here's an
example of precisely what you want:

http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/gallery/simon-01.html

There are many more examples accessible from the rrdtool site: hunt
around for ideas.

I recomend that you use rrdtool (ports: net/rrdtool), rather than MRTG
to generate your graphs --- rrdtool is Tobi Oetiker's next generation
graphing tool, and it's designed to be rather more general purpose
than MRTG --- it can cope with graphing more than two/four quantities
at a time.

In you case, you would also need something like ntop (ports: net/ntop)
to generate the per-protocol statistics which output you feed into
rrdtool for storage in a .rrd 'round robin database'. You can then use
rrdtool in a different mode to generate graphs for display on your
website using rrdtool on demand.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
                                                      Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

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?20020906091626.GD34657>