From owner-freebsd-questions Fri Apr 19 18:39:39 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f63.law11.hotmail.com [64.4.17.63]) by hub.freebsd.org (Postfix) with ESMTP id 118FF37B419 for ; Fri, 19 Apr 2002 18:39:26 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 19 Apr 2002 18:39:25 -0700 Received: from 67.34.7.189 by lw11fd.law11.hotmail.msn.com with HTTP; Sat, 20 Apr 2002 01:39:25 GMT X-Originating-IP: [67.34.7.189] From: "Roger Williams" To: adam@kdcomputers.com Cc: freebsd-questions@freebsd.org Subject: RE: Monitoring/Recording Bandwidth Usage Date: Fri, 19 Apr 2002 21:39:25 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 20 Apr 2002 01:39:25.0851 (UTC) FILETIME=[3457DEB0:01C1E80C] 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 Hey Adam, To do that type of stuff I use ipf running on the target machine. You would suggest maybe seting up a "firewall" machine inline and count packets destine for paticular machines or see if the snmp on your switch has a "counter" (running/or can be configed) for each of the ports. Roger >From: "Adam Fladwood" >To: "Roger Williams" >CC: >Subject: RE: Monitoring/Recording Bandwidth Usage >Date: Fri, 19 Apr 2002 20:26:01 -0500 > >Hey Roger, > >Thanks, I had a setup that was similar. I stll have one question though, >is >it possible to go from the MRTG stats and break it down into the actual >amount if GB's transfered for that month? For example, I have a client >that >has a dedicated server on my network and he's allocated 30 GB of transfer a >month, any idea how I would determine how much of that he used or how much >he went over? > >Maybe I'm totally overlooking things here, and if I am, I appoligze. > >Thanks again! :) > >Adam > >-----Original Message----- >From: owner-freebsd-questions@FreeBSD.ORG >[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Roger Williams >Sent: Friday, April 19, 2002 7:46 PM >To: adam@kdcomputers.com; freebsd-questions@freebsd.org >Subject: Re: Monitoring/Recording Bandwidth Usage > > >Below is the mrtg conf file i use to monitor my 3com switch. I run a small >hosting company and I can keep track of what machine is using what. > >Roger > > > > >LogDir: /var/log/mrtg >HtmlDir: /var/www/htdocs/bandwidth/ >Imagedir: /var/www/htdocs/bandwidth/images/ > >Target[all]: 101:public@216.242.xxx.2 >Options[all]: bits,nopercent,noinfo,growright >Title[all]: NaviServers BandWidth Usage >PageTop[all]:

BandWidth Usage

>MaxBytes[all]: 1000000 >YLegend[all]: Total Bandwidth >ShortLegend[all]: Bits >LegendI[all]: In: >LegendO[all]: Out: >WithPeak[all]: wmy >Language: iso2022jp > > >Target[edo]: -103:public@216.242.xxx.2 >Options[edo]: bits,nopercent,noinfo,growright >Title[edo]: Edo BandWidth Usage >PageTop[edo]:

Edo BandWidth Usage

>MaxBytes[edo]: 500000 >YLegend[edo]: Edo Bandwidth >ShortLegend[edo]: Bits >LegendI[edo]: In: >LegendO[edo]: Out: >WithPeak[edo]: wmy >Language: iso2022jp > >Target[asuka]: -104:public@216.242.xxx.2 >Options[asuka]: bits,nopercent,noinfo,growright >Title[asuka]: Asuka BandWidth Usage >PageTop[asuka]:

Asuka BandWidth Usage

>MaxBytes[asuka]: 500000 >YLegend[asuka]: Asuka Bandwidth >ShortLegend[asuka]: Bits >LegendI[asuka]: In: >LegendO[asuka]: Out: >WithPeak[asuka]: wmy >Language: iso2022jp > > >Target[nara]: -105:public@216.242.xxx.2 >Options[nara]: bits,nopercent,noinfo,growright >Title[nara]: Nara BandWidth Usage >PageTop[nara]:

Nara BandWidth Usage

>MaxBytes[nara]: 500000 >YLegend[nara]: Nara Bandwidth >ShortLegend[nara]: Bits >LegendI[nara]: In: >LegendO[nara]: Out: >WithPeak[nara]: wmy >Language: iso2022jp > >Target[heian]: -106:public@216.242.xxx.2 >Options[heian]: bits,nopercent,noinfo,growright >Title[heian]: Heian BandWidth Usage >PageTop[heian]:

Heian BandWidth Usage

>MaxBytes[heian]: 500000 >YLegend[heian]: Heian Bandwidth >ShortLegend[heian]: Bits >LegendI[heian]: In: >LegendO[heian]: Out: >WithPeak[heian]: wmy >Language: iso2022jp > > >Target[kamakura]: -108:public@216.242.xxx.2 >Options[kamakura]: bits,nopercent,noinfo,growright >Title[kamakura]: Kamakura BandWidth Usage >PageTop[kamakura]:

Kamakura BandWidth Usage

>MaxBytes[kamakura]: 500000 >YLegend[kamakura]: Kamakura Bandwidth >ShortLegend[kamakura]: Bits >LegendI[kamakura]: In: >LegendO[kamakura]: Out: >WithPeak[kamakura]: wmy >Language: iso2022jp > > >Target[nanbokucho]: -107:public@216.242.xxx.2 >Options[nanbokucho]: bits,nopercent,noinfo,growright >Title[nanbokucho]: Nanbokucho BandWidth Usage >PageTop[nanbokucho]:

Nanbokucho BandWidth Usage

>MaxBytes[nanbokucho]: 500000 >YLegend[nanbokucho]: Nanbokucho Bandwidth >ShortLegend[nanbokucho]: Bits >LegendI[nanbokucho]: In: >LegendO[nanbokucho]: Out: >WithPeak[nanbokucho]: wmy >Language: iso2022jp > >Target[nancho]: -111:public@216.xxx.xxx.2 >Options[nancho]: bits,nopercent,noinfo,growright >Title[nancho]: Nancho BandWidth Usage >PageTop[nancho]:

Nancho BandWidth Usage

>MaxBytes[nancho]: 500000 >YLegend[nancho]: Nancho Bandwidth >ShortLegend[nancho]: Bits >LegendI[nancho]: In: >LegendO[nancho]: Out: >WithPeak[nancho]: wmy >Language: iso2022jp > >Target[hokucho]: -110:public@216.242.xxx.2 >Options[hokucho]: bits,nopercent,noinfo,growright >Title[hokucho]: Nancho BandWidth Usage >PageTop[hokucho]:

Hokucho BandWidth Usage

>MaxBytes[hokucho]: 500000 >YLegend[hokucho]: Nancho Bandwidth >ShortLegend[hokucho]: Bits >LegendI[hokucho]: In: >LegendO[hokucho]: Out: >WithPeak[hokucho]: wmy >Language: iso2022jp > > >From: "Adam Fladwood" > >To: > >Subject: Monitoring/Recording Bandwidth Usage > >Date: Fri, 19 Apr 2002 19:23:36 -0500 > > > >Hey Everyone, > > > >I'm curious if there are any programs (or possibly an addon for mrtg?) >that > >can break down bandwidth into how many gigs were transfered from a >specific > >port on my switch. I've done some searching but came up empty handed. > > > >Any help would be greatly appreciated! > > > >Thanks in advance, > >Adam Fladwood > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-questions" in the body of the message > > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message