Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MRTG and Windows 2003

Status
Not open for further replies.

LWComputingMVP

IS-IT--Management
Jul 3, 2005
870
US
Ok, first, I admit it - I've never really experimented with SNMP, so while I understand the BASIC concept that it's "Simple Network Management Protocol" I don't really understand all that much more about it or how to use it.

Now, I'm trying to setup MRTG on a 2003 server that is also acting as a router with a public interface and a private interface. Actually, I have two internet connections, one DSL, one cable. The 2003 Server is connected to the DSL line and acting as a router with two NICs. The cable line is connected to a linux box that's also got two NICs and has IPTABLES setup to also act as a router (This is more FYI - I have issues with that SNMP setup, but I'll deal with those in another question/section).

I've got it there are no error messages from MRTG when polling the 2003 server, but the graph is coming up completely empty - Even the In/Out Max/Min/Avg is coming all all zeros - which I know is not correct.

My MRTG config file looks like this:

Code:
# Created by 
# cfgmaker home@***DSL-IP*** --global "WorkDir: c:\inetpub\[URL unfurl="true"]wwwroot\mrtg"[/URL] --output mrtg.cfg
# But since, this has been modified by the inclusion of 3 other targets and customized 
# graphics size

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

######################################################################
# System: 
# Description: 
# Contact: 
# Location: 
######################################################################


WorkDir: c:\inetpub\[URL unfurl="true"]wwwroot\mrtg[/URL]

# Target[IP-Address.{something - not sure}]: {1 = ISO standards and is numeric name reference}:communityName@IP-Address

Target[***DSL-IP***.1]: 1:public@***DSL-IP***
Target[192.168.1.254.2]: 1:public@192.168.1.254
Target[***CABLE-IP***.1]: 1:public@***CABLE-IP***
Target[192.168.1.19.1]: 1:public@192.168.1.19

MaxBytes[***DSL-IP***.1]: 193000
MaxBytes[192.168.1.254.2]: 12500000
MaxBytes[***CABLE-IP***.1]: 3750000
MaxBytes[192.168.1.19.1]: 12500000

YTics[***DSL-IP***.1]: 6
XSize[***DSL-IP***.1]: 600
YSize[***DSL-IP***.1]: 120

YTics[***CABLE-IP***.1]: 6
XSize[***CABLE-IP***.1]: 600
YSize[***CABLE-IP***.1]: 120

YTics[192.168.1.19.1]: 6
XSize[192.168.1.19.1]: 600
YSize[192.168.1.19.1]: 120

YTics[192.168.1.254.2]: 6
XSize[192.168.1.254.2]: 600
YSize[192.168.1.254.2]: 120


Title[***DSL-IP***.1]: Router Utilization - DSL
Title[192.168.1.254.2]: LAN NIC Utilization - VEGA
Title[***CABLE-IP***.1]: Router Utilization - CABLE
Title[192.168.1.19.1]: LAN NIC Utilization - POLARIS

PageTop[***DSL-IP***.1]: <H1>Traffic Analysis for VEGA/DSL</H1>
 <TABLE>
 <TR><TD>System:</TD><TD>Vega</TD></TR>
 <TR><TD>Interface:</TD><TD>WAN</TD></TR>
 <TR><TD>IP:</TD><TD>***DSL-IP***</TD></TR>
 <TR><TD>Max Speed:</TD>
 <TD>193 KBytes/s</TD></TR>
 </TABLE>

PageTop[192.168.1.254.2]: <H1>Traffic Analysis for VEGA/DSL</H1>
 <TABLE>
 <TR><TD>System:</TD><TD>Vega</TD></TR>
 <TR><TD>Interface:</TD><TD>LAN</TD></TR>
 <TR><TD>IP:</TD><TD>192.168.1.254</TD></TR>
 <TR><TD>Max Speed:</TD>
 <TD>12.5 MBytes/s</TD></TR>
 </TABLE>

PageTop[***CABLE-IP***.1]: <H1>Traffic Analysis for POLARIS/CABLE</H1>
 <TABLE>
 <TR><TD>System:</TD><TD>Polaris</TD></TR>
 <TR><TD>Interface:</TD><TD>WAN</TD></TR>
 <TR><TD>IP:</TD><TD>***CABLE-IP***</TD></TR>
 <TR><TD>Max Speed:</TD>
 <TD>3.75 MBytes/s</TD></TR>
 </TABLE>

PageTop[192.168.1.19.1]: <H1>Traffic Analysis for POLARIS/CABLE</H1>
 <TABLE>
 <TR><TD>System:</TD><TD>POLARIS</TD></TR>
 <TR><TD>Interface:</TD><TD>LAN</TD></TR>
 <TR><TD>IP:</TD><TD>192.168.1.19</TD></TR>
 <TR><TD>Max Speed:</TD>
 <TD>12.5 MBytes/s</TD></TR>
 </TABLE>

So given my lack of knowledge (I haven't been able to find anything in the MRTG documentation) anyone have any suggestions on this? I'd like to see actual stats - not just flat-lined graphs.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top