[mrtg] MRTG not getting bandwidth data

James Calamore jcalam1 at mindspring.com
Tue Aug 17 17:24:34 MEST 2004


I am running mrtg 2.10.14 on Solaris 9 and I'm having problems capturing (and graphing) my bandwidth data.  I am able to get all the other info (i.e. uptime, system name, and other descriptive info).

Here is my mrtg.cfg file:
-------------------------------------------------
#Created by
# ./cfgmaker --global 'WorkDir: /usr/local/apache2/htdocs/mrtg' --global 'Options[_]: bits,growright' --ifref=ip --output /usr/local/apache2/mrtg/cfg/mrtg.cfg public at 192.168.10.1

### 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

EnableIPv6: no
WorkDir: /usr/local/apache2/htdocs/mrtg
Options[_]: bits,growright

######################################################################
# System: M1
# Description: Marconi ESR Switch Agent v5.2.14
# Contact: NetOps
# Location: XYZ_123
######################################################################

### Interface 20 >> Descr: 'XYZ-Ethernet' | Name: '' | Ip: '192.168.10.1' | Eth: '00-a0-78-1b-03-14' ###

Target[192.168.10.1_192.168.10.1]: /192.168.10.1:public at 192.168.10.1:
SetEnv[192.168.10.1_192.168.10.1]: MRTG_INT_IP="192.168.10.1"
MRTG_INT_DESCR="XYZ-Ethernet"
MaxBytes[192.168.10.1_192.168.10.1]: 1310720000
Title[192.168.10.1_192.168.10.1]: Traffic Analysis for 192.168.10.1 -- M1
PageTop[192.168.10.1_192.168.10.1]: <H1>Traffic Analysis for 192.168.10.1 -- M1</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>M1 in Closet</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>NetOps </TD></TR>
   <TR><TD>Description:</TD><TD>XYZ-Ethernet </TD></TR>
   <TR><TD>ifType:</TD>     <TD>IP</TD></TR>
   <TR><TD>ifName:</TD>     <TD></TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>10.5 Mbits/s</TD></TR>
   <TR><TD>IP:</TD>         <TD>192.168.10.1 ()</TD></TR>
 </TABLE>

---------------------------------------------------

Now when I use a config file that points to 'localhost', it captures and graphs the bandwidth data just fine.  What am I missing?

Any help would be greatly appreciated!

Thanks,
James


--
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