[mrtg] installing mrtg: help!

Oswin Budiman oswin at email.com
Sun Jun 6 07:04:28 MEST 2004


Hello all,

I need some help here.. i'm quite newbie in mrtg. I want to use mrtg to monitor the traffic in my broadband router. I've been trying to install mrtg manually using the supplied documentation, but it hasn't work at all. I also tried MRTG bundle (2.01) but still end up the same. But when i use PRTG for windows, it works well... wonder what's the problem...

when i try to install the mrtg manually, i run the following command:
> perl cfgmaker kos36public at 192.168.1.1 --global "WorkDir: c:\www" --output mrtg.cfg
and here's some part of the mrtg.cfg:

######################################################################
# System: 
# Description: Internet Gateway Device
# Contact: 
# Location: 
######################################################################


### Interface 1 >> Descr: 'Ethernet-WAN' | Name: '' | Ip: '' |
Eth: '00-0d-88-00-79-f5' ###
### The following interface is commented out because:
### * has a speed of 0 which makes no sense
# 
# Target[192.168.1.1_1]: 1:kos36public at 192.168.1.1:

# SetEnv[192.168.1.1_1]: MRTG_INT_IP=""
MRTG_INT_DESCR="Ethernet-WAN"
# MaxBytes[192.168.1.1_1]: 0
# Title[192.168.1.1_1]: Traffic Analysis for 1 -- 
# PageTop[192.168.1.1_1]: <H1>Traffic Analysis for 1 --
</H1>
#  <TABLE>
#    <TR><TD>System:</TD>	<TD> in
</TD></TR>
#    <TR><TD>Maintainer:</TD>
<TD></TD></TR>
#   
<TR><TD>Description:</TD><TD>Ethernet-WAN 
</TD></TR>
#    <TR><TD>ifType:</TD>    
<TD>ethernetCsmacd (6)</TD></TR>
#    <TR><TD>ifName:</TD>    
<TD></TD></TR>
#    <TR><TD>Max Speed:</TD>	<TD>0.0
Bytes/s</TD></TR>
#  </TABLE>

i've tried to erase the comment (#) for the interface, it didn't work.

and when i try using mrtg bundle, i use documentation from http://www.webpronews.com/it/networksystems/wpn-21-20040507InstallingMRTGonaWindowsPlatform.html, still it didn't want to show any graph in http://localhost:9191

FYI,
i want to monitor 1 router and 15 computer in my network. i've installed the SNMP service from Windows XP for the computer, and the router is DLINK 704P which has SNMP v1. The community name has been set to kos36public for the router and public for the computer. For the perl, i use ActivePerl 5.6.1 build 638.

by the way, does anyone know how to uninstall mrtg bundle?
and can i use mrtg to specifically monitor the traffic from every IP based on the destination?

Thanks,
BR

-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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