Hello,<div><br></div><div>For point 1, how to enable the ADSL machine has SNMP function ?</div><div>For point 5, how can we config the command line ?</div><div>( there are 3 of fixed ip address and 1 of gateway Ip address about the Broadband service.... )</div>
<div><br></div><div>Thanks !</div><div><br></div><div>Edward.</div><div><br><div class="gmail_quote">2010/11/22 Craig Humphrey <span dir="ltr">&lt;<a href="mailto:Craig.Humphrey@chapmantripp.com">Craig.Humphrey@chapmantripp.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">








<div lang="EN-NZ" link="blue" vlink="purple">

<div>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black">Hi Edward,</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> </span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black">Well, each broadband router can be different, but the basic steps
are:</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> </span></p>

<p><span style="font-size:10.0pt;color:black"><span>1.<span style="font:7.0pt &quot;Times New Roman&quot;">   
</span></span></span><span style="font-size:10.0pt;color:black">Ensure your broadband router has SNMP turned on and that you know
the “community” name (usually “public”)</span></p>

<p><span style="font-size:10.0pt;color:black"><span>2.<span style="font:7.0pt &quot;Times New Roman&quot;">   
</span></span></span><span style="font-size:10.0pt;color:black">Have a web server installed and running on the PC/Server that will
run MRTG.</span></p>

<p><span style="font-size:10.0pt;color:black"><span>3.<span style="font:7.0pt &quot;Times New Roman&quot;">   
</span></span></span><span style="font-size:10.0pt;color:black">Make sure you have Perl installed (if you’re using a
Microsoft Windows based PC/Server, then <a href="http://www.activestate.com/activeperl" target="_blank">ActiveState Perl</a> is a good
start)</span></p>

<p><span style="font-size:10.0pt;color:black"><span>4.<span style="font:7.0pt &quot;Times New Roman&quot;">   
</span></span></span><span style="font-size:10.0pt;color:black">Make sure that you have MRTG installed (the official <a href="http://oss.oetiker.ch/mrtg/doc/index.en.html" target="_blank">MRTG instructions</a> are a
good place to start)</span></p>

<p><span style="font-size:10.0pt;color:black"><span>5.<span style="font:7.0pt &quot;Times New Roman&quot;">   
</span></span></span><span style="font-size:10.0pt;color:black">Use the MRTG script “<a href="http://oss.oetiker.ch/mrtg/doc/cfgmaker.en.html" target="_blank">cfgmaker</a>” to
scan your broadband router for its network ports. Most likely, it will have at
least two, one for broadband and one for your internal network. (Note: if it
has an on-board multiport switch, this may appear as multiple ports, or [as in
the case of my Netgear router!] a single port.<br>
You’ll want to point the output at a folder that is being served up by
your webserver.</span></p>

<p><span style="font-size:10.0pt;color:black"><span>6.<span style="font:7.0pt &quot;Times New Roman&quot;">   
</span></span></span><span style="font-size:10.0pt;color:black">You may like to use the MRTG script “<a href="http://oss.oetiker.ch/mrtg/doc/indexmaker.en.html" target="_blank">indexmaker</a>”
to make a pretty index page of the ports that you’re monitoring.</span></p>

<p><span style="font-size:10.0pt;color:black"><span>7.<span style="font:7.0pt &quot;Times New Roman&quot;">   
</span></span></span><span style="font-size:10.0pt;color:black">Run <a href="http://oss.oetiker.ch/mrtg/doc/mrtg.en.html" target="_blank">MRTG</a>
manually a couple of times to make sure there are no errors. Don’t forget
to check that you can get to the pages on your website.</span></p>

<p><span style="font-size:10.0pt;color:black"><span>8.<span style="font:7.0pt &quot;Times New Roman&quot;">   
</span></span></span><span style="font-size:10.0pt;color:black">Run MRTG as a service/daemon.  Refer to the MRTG <a href="http://oss.oetiker.ch/mrtg/doc/index.en.html" target="_blank">docs</a> on the best way to
do this for your PC/Server (unix is easy, Windows requires a little effort)</span></p>

<p><span style="font-size:10.0pt;color:black"><span>9.<span style="font:7.0pt &quot;Times New Roman&quot;">   
</span></span></span><span style="font-size:10.0pt;color:black">You’re done.</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> </span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black">Note: if the PC/Server that is running MRTG goes down, then you’ll
end up with blanks/straight lines in your graphs. Also watch out for routers
that lose their SNMP settings when they are rebooted (like mine Netgear, grrrr)</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> </span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black">Any other issues, read the great online documentation and if you’re
still stuck, post to this mailing list.</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> </span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black">Later’ish<br>
Craig</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black">[feeling overly helpful today]</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> </span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> </span></p>

<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">

<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt">From:</span></b><span lang="EN-US" style="font-size:10.0pt"> Edward S.P. Leung
[mailto:<a href="mailto:edwardspl.mo@gmail.com" target="_blank">edwardspl.mo@gmail.com</a>] <br>
<b>Sent:</b> Monday, 22 November 2010 4:32 p.m.<br>
<b>To:</b> Craig Humphrey<br>
<b>Cc:</b> <a href="mailto:mrtg@lists.oetiker.ch" target="_blank">mrtg@lists.oetiker.ch</a><br>
<b>Subject:</b> Re: [mrtg] How to config to measure the boardband traffic ( 3
Static IP address range and 1 IP gateway ) ?</span></p>

</div>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Hello Craig,</p>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<p class="MsoNormal">I want to <span><span style="font-size:10.0pt">measure the total traffic...</span></span></p>

</div>

<div>

<p class="MsoNormal">So, how to <span><span style="font-size:10.0pt">point MRTG at ADSL machine and ensure it picks up the
port carrying the broadband traffic ?</span></span></p>

</div>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<p class="MsoNormal">Thanks !</p>

</div>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<p class="MsoNormal" style="margin-bottom:12.0pt">Edward.</p>

<div>

<p class="MsoNormal">2010/11/22 Craig Humphrey &lt;<a href="mailto:Craig.Humphrey@chapmantripp.com" target="_blank">Craig.Humphrey@chapmantripp.com</a>&gt;</p>

<div>

<div>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black">Hi Edward,</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> </span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black">If you’re wanting to measure your
total traffic, then just point MRTG at your broadband router and ensure it
picks up the port carrying the broadband traffic.</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> </span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black">If you’re wanting to measure the
traffic per IP, then you’ll need some other tool (like ntop say) which
looks at individual IPs.</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> </span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black">Hope that helps.</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> </span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black">Later’ish</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black">Craig</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> </span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> </span></p>

<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">

<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt">From:</span></b><span lang="EN-US" style="font-size:10.0pt"> mrtg-bounces+craig.humphrey=<a href="http://chapmantripp.com" target="_blank">chapmantripp.com</a>@<a href="http://lists.oetiker.ch" target="_blank">lists.oetiker.ch</a> [mailto:<a href="mailto:mrtg-bounces%2Bcraig.humphrey" target="_blank">mrtg-bounces+craig.humphrey</a>=<a href="http://chapmantripp.com" target="_blank">chapmantripp.com</a>@<a href="http://lists.oetiker.ch" target="_blank">lists.oetiker.ch</a>] <b>On
Behalf Of </b>Edward S.P. Leung<br>
<b>Sent:</b> Wednesday, 17 November 2010 9:00 p.m.<br>
<b>To:</b> <a href="mailto:mrtg@lists.oetiker.ch" target="_blank">mrtg@lists.oetiker.ch</a><br>
<b>Subject:</b> [mrtg] How to config to measure the boardband traffic ( 3
Static IP address range and 1 IP gateway ) ?</span></p>

</div>

<div>

<div>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Dear
All,</p>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<p class="MsoNormal">Would
you mind to help ?</p>

</div>

<div>

<p class="MsoNormal">Any
hints ?</p>

</div>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<p class="MsoNormal">Thanks
!</p>

</div>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<p class="MsoNormal">Edward.</p>

</div>

</div>

</div>

</div>

<p><span style="font-size:7.5pt;color:gray">This
email is intended solely for the use of the addressee and may contain
information that is confidential or subject to legal professional privilege. If
you receive this email in error please immediately notify the sender and delete
the email. </span><span style="font-size:7.5pt"></span></p>

</div>

</div>

<p class="MsoNormal"> </p>

</div>

</div>


<font face="Verdana" size="1">
<p><font color="#808080"><font face="Verdana" size="1">This email is intended solely 
for the use of the addressee and may contain information that is confidential or 
subject to legal professional privilege. If you receive this email in error 
please immediately notify the sender and delete the email.</font> 
</font></p></font>
</div>


</blockquote></div><br></div>