Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 1997 09:30:44 +0100
From:      Josef Karthauser <joe@pavilion.net>
To:        freebsd-isp@freebsd.org
Subject:   Re: How can I measure Mb downloaded?
Message-ID:  <19970403093044.18528@pavilion.net>
In-Reply-To: <3.0.1.32.19970403173015.006f5aec@mail.island.net.au>; from Hugh Blandford on Thu, Apr 03, 1997 at 05:30:15PM %2B1000
References:  <3.0.1.32.19970403173015.006f5aec@mail.island.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 03, 1997 at 05:30:15PM +1000, Hugh Blandford wrote:
> Hi,
> 
> I am trying to find a piece of software/utility that will tell me how many
> Mbytes have been sent to and from an IP address or device.  I would like to
> log the traffic.  I have a P50 for my router and it is not really upto the
> task.  I am aware of the end of day routine that gives how many packets
> have come in and out of the interface, but I have no idea how you can get
> from the number of packets to the number of bits or megabytes etc.
> 
> Regards,
> 
> Hugh.
> 

You should be able to do it with snmp (simple network management protocol.)
There's a package called ucd-snmp that contains a program called 'snmpget'.
This allows you to query the values of internal variables in the Pipe50.
The Ascend MIB files are available at:
ftp://ftp.ascend.com/pub/Software-Releases/SNMP/
along with the documentation of the variables.

I'm doing a similar thing to what you need on my Cisco routers, and I'm
using SNMP to query my Ascend Max4000s to give me a running status about
the number of ports being used at one time.  I'll send you the max script
if you want, it's written in perl.

Joe
-- 
Josef Karthauser        
Technical Manager       Email: joe@pavilion.net
Pavilion Internet plc.  [Tel: +44 1273 607072  Fax: +44 1273 607073]




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