From owner-freebsd-questions Fri Sep 6 2:16:36 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0AE537B400 for ; Fri, 6 Sep 2002 02:16:33 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEA6C43E4A for ; Fri, 6 Sep 2002 02:16:32 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk ([IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g869GVGk038962; Fri, 6 Sep 2002 10:16:31 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g869GQgU038961; Fri, 6 Sep 2002 10:16:26 +0100 (BST) Date: Fri, 6 Sep 2002 10:16:26 +0100 From: Matthew Seaman To: Olga Zenkova Cc: freebsd-questions@FreeBSD.ORG Subject: Re: mrtg Message-ID: <20020906091626.GD34657@happy-idiot-talk.infracaninophi> References: <20020906085448.21438.qmail@web9601.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020906085448.21438.qmail@web9601.mail.yahoo.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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