[mrtg] Re: Traffic Usage Calculations

Brander, Eric Eric.Brander at ACS-INC.com
Wed Mar 26 20:52:42 MET 2003


Even though you are using the bits option, the MAXBYTES setting is still, as
its name indicates, in bytes.  Change your maxbytes number to 1250000.

Eric Brander
ACS
Texas CHIP Account
Sr. Communications Engineer - Information Systems Department
512.336.3331
Eric dot Brander at acs-inc dot com

 -----Original Message-----
From: 	Degore, L R, SOLCM [mailto:rdegore at att.com] 
Sent:	Wednesday, March 26, 2003 1:43 PM
To:	Brander, Eric
Cc:	mrtg list
Subject:	RE: [mrtg] Traffic Usage Calculations

Eric

Here is a piece of it. It covers the first interface on the router.

# /usr/local/mrtg-2/bin/cfgmaker --ifref=name --global 'WorkDir:
/data1/httpd/mr
tg/traffic/wan' --global 'Options[_]: bits' --community=xxxx --if-template
/usr/
local/mrtg-2/templates/rich-traffic-test --global 'ThreshDir:
/data2/mrtg/alerts
' --output /usr/local/mrtg-2/configs/rich-traffic-test PDAZKCC001


### Global Config Options

#  for UNIX
# WorkDir: /home/http/mrtg

#  or for NT
# WorkDir: c:\mrtgdata

### Global Defaults

#  to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits
PathAdd:/usr/local/rrdtool-1.0.37/bin
LibAdd:/usr/local/rrdtool-1.0.37/lib/perl
LogFormat:rrdtool
RunAsDaemon:Yes
Forks:15

WorkDir: /data1/httpd/mrtg/traffic/wan
Options[_]: bits
ThreshDir: /data2/mrtg/alerts

######################################################################
# System: PDAZKCC001
# Description: Cisco Internetwork Operating System Software
#          IOS (tm) RSP Software (RSP-JSV-M), Version 12.0(5)XE1, EARLY
DEPLOYME
NT RELEASE SOFTWARE (fc1)
#          TAC:Home:SW:IOS:Specials for info
#          Copyright (c) 1986-1999 by cisco Systems, Inc.
#          Compiled Sun 19-Sep-99 06:45
# Contact:
# Location
######################################################################



### Interface 2 >> Descr: 'Ethernet0/1' | Name: 'Et0/1' | Ip:
'135.150.142.192'
| Eth: '00-30-f2-2a-c8-01' ###
#---------------------------------------------------------------------
Target[PDAZKCC001_Et0_1]:
1.3.6.1.2.1.2.2.1.10.2&1.3.6.1.2.1.2.2.1.16.2:gnoc at PDA
ZKCC001:
SetEnv[PDAZKCC001_Et0_1]: MRTG_INT_IP="135.150.142.192"
MRTG_INT_DESCR="Ethernet
0/1"
Directory[PDAZKCC001_Et0_1]: PDAZKCC001
MaxBytes[PDAZKCC001_Et0_1]: 10000000
Suppress[PDAZKCC001_Et0_1]: mwy
Title[PDAZKCC001_Et0_1]: Traffic Analysis for Et0/1 - PDAZKCC001
PageTop[PDAZKCC001_Et0_1]: <H1>Traffic Analysis for Et0/1 -- PDAZKCC001</H1>
 <TABLE>
   <TR><TD>SysName:</TD>    <TD>PDAZKCC001</TD></TR>
   <TR><TD>SysLoc:</TD>     <TD>;</TD></TR>
   <TR><TD>SysContact:</TD> <TD>;</TD></TR>
   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>10.0 Mbits/s</TD></TR>
 </TABLE>
# The following information allows you to perform some task(s)
# whenever a minimum of maximum threshold has been breached
# In order to activate this features, simply remove the # from the
# lines below.
#
#ThreshMinI[PDAZKCC001_Et0_1]:
ThreshMaxI[PDAZKCC001_Et0_1]: 40%
ThreshProgI[PDAZKCC001_Et0_1]: /usr/local/mrtg-2/scripts/alert.sh
ThreshProgOKI[PDAZKCC001_Et0_1]: /usr/local/mrtg-2/scripts/ok.sh
#
#ThreshMinO[PDAZKCC001_Et0_1]:
#ThreshMaxO[PDAZKCC001_Et0_1]:
#ThreshProgO[PDAZKCC001_Et0_1]: /usr/local/mrtg-2/scripts/mailalert.sh
#ThreshProgOKO[PDAZKCC001_Et0_1]: /usr/local/mrtg-2/scripts/mailok.sh

Rich DeGore
rdegore at att.com
407-805-6472

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list