From owner-freebsd-isp Tue Jan 18 10:49:24 2000 Delivered-To: freebsd-isp@freebsd.org Received: from mimer.webgiro.com (mimer.webgiro.com [212.209.29.5]) by hub.freebsd.org (Postfix) with ESMTP id 3E6C114E25 for ; Tue, 18 Jan 2000 10:49:19 -0800 (PST) (envelope-from abial@webgiro.com) Received: by mimer.webgiro.com (Postfix, from userid 66) id 79F082DC0B; Tue, 18 Jan 2000 19:49:06 +0100 (CET) Received: by mx.webgiro.com (Postfix, from userid 1001) id 9FD137811; Tue, 18 Jan 2000 19:47:44 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mx.webgiro.com (Postfix) with ESMTP id 9489910E10; Tue, 18 Jan 2000 19:47:44 +0100 (CET) Date: Tue, 18 Jan 2000 19:47:44 +0100 (CET) From: Andrzej Bialecki To: Luigi Rizzo Cc: Troy Settle , freebsd-isp@FreeBSD.ORG Subject: Re: Bandwidth limiting on Switch. In-Reply-To: <200001171352.OAA53761@info.iet.unipi.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 17 Jan 2000, Luigi Rizzo wrote: > [Charset iso-8859-1 unsupported, filtering to ASCII...] > > > > Ok, ipfw show gives me numbers... are those packets or bytes? The man page > > doesn't say. > > both... > > > For bandwidth monitoring, I was thinking something more along the lines of > > being able to access a byte counter via SNMP, ala MRTG. > > no snmp support yet, sorry (i have no idea, but maybe snmp daemon can > be modified to fetch counters through the ipfw ioctl etc ?) The /usr/ports/net/ucd-snmp can be easily extended to report the output of ipfw show, by using simple shell script. Take a look at examples in the config file included in distribution (I think the port fails to install that file, though...) Andrzej Bialecki // WebGiro AB, Sweden (http://www.webgiro.com) // ------------------------------------------------------------------- // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message