<div><span class="gmail_quote">Dear Steve,</span></div>
<div><span class="gmail_quote"></span> </div>
<div><span class="gmail_quote">After installed and setup the mrtg with the Windows Server machine :</span></div>
<div><span class="gmail_quote">Running : perl cfgmaker <a href="mailto:public@xxx.xxx.xxx.xxx">public@xxx.xxx.xxx.xxx</a> --global "WorkDir: c:\inetpub\mrtg" --output mrtg.cfg</span></div>
<div><span class="gmail_quote">Then the mrtg may be know ( Auto detect ) the snmp port of the Network INT ( Surecom-EP320G-TX-Family-Gigabit-Ethernet-NIC ) is 16777219, but what is the SNMPOID ?</span></div>
<div><span class="gmail_quote"></span> </div>
<div><span class="gmail_quote">So, if this is the <font color="#000080" size="2">network traffic usage ( B/s ), then how can I create the following hardware usage config file also ?</font></span></div>
<div><span class="gmail_quote"><font color="#000080" size="2">1, CPU </font></span></div>
<div><span class="gmail_quote"><font color="#000080" size="2">2, HD</font></span></div>
<div><span class="gmail_quote"><font color="#000080" size="2">3, Ram</font></span></div>
<div><span class="gmail_quote"><font color="#000080" size="2">4, Network INT</font></span></div>
<div><span class="gmail_quote"><font color="#000080" size="2"></font></span> </div>
<div><span class="gmail_quote"><font color="#000080" size="2">"<font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">We use the nsclient agent under windows and the mrtg-pnsclient.pl script to query it instead of using SNMP" ???</span></font></font></span></div>
<div><span class="gmail_quote"><font color="#000080" size="2"></font></span> </div>
<div><span class="gmail_quote"><font color="#000080" size="2">Sorry, would you mind give me more help ?</font></span></div>
<div><span class="gmail_quote">All of the OS is Windows 2000 Server...</span></div>
<div><span class="gmail_quote"></span> </div>
<div><span class="gmail_quote">Many thanks for your help !</span></div>
<div><span class="gmail_quote"></span> </div>
<div><span class="gmail_quote">Edward.</span></div>
<div><span class="gmail_quote"></span> </div>
<div><span class="gmail_quote">2008/8/18, Steve Shipway <<a href="mailto:s.shipway@auckland.ac.nz">s.shipway@auckland.ac.nz</a>>:</span></div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div lang="EN-GB" vlink="purple" link="blue">
<div>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">1. The port number is probably the default. The OID depends on what you want to monitor: if you want network statistics, then MRTG will do this automatically. The community string should be provided to you by whoever configured and maintains SNMP on the device you are monitoring.</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">2. Depends on the OS you are monitoring</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">2.2, 2.3 these OIDs actually change depending on how many storage devices are attached</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">2.4 With SNMP, these come in the standard location and MRTG can monitor them directly</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">We use the nsclient agent under windows and the mrtg-pnsclient.pl script to query it instead of using SNMP, its easier and possibly more secure.</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I suggest you concentrate first on making it work with just network traffic, and probably on network switches and routers, before trying to monitor hosts and other host-related metrics. These require not only more complex configuration to obtain the data but also you have to do other additional configuration in the labels etc.</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Try to get it working in the simplest case (network traffic) first before trying to do server monitoring</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Also read the MRTG configuration reference on <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.mrtg.org/" target="_blank">www.mrtg.org</a> for more understanding of the Target[] definition.</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Steve</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none">
<div>
<div style="TEXT-ALIGN: center" align="center"><font face="Times New Roman" size="3"><span lang="EN-US" style="FONT-SIZE: 12pt">
<hr align="center" width="100%" size="2">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span lang="EN-US" style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</span></font></b><font face="Tahoma" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> Edward Leung [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:edwardspl.mo@gmail.com" target="_blank">edwardspl.mo@gmail.com</a>] <br>
<b><span style="FONT-WEIGHT: bold">Sent:</span></b> Monday, 18 August 2008 15:38<br><b><span style="FONT-WEIGHT: bold">To:</span></b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:mrtg@lists.oetiker.ch" target="_blank">mrtg@lists.oetiker.ch</a><br>
<b><span style="FONT-WEIGHT: bold">Subject:</span></b> Re: [mrtg] How to setup the mrtg for monitoring more things</span></font><span lang="EN-US"></span></p></div>
<div><span class="e" id="q_11bd3ebac4c1545c_1">
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">Dear You,</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p></div>
<div>
<div>
<p><font face="Arial" size="1"><span lang="EN-US" style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">I just installed the mrtg and perl with a Windows Server 2000 machine...</span></font></p></div></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">BUT there is my big problem as the following :</span></font></p></div>
<div>
<p><font face="Arial" size="1"><span lang="EN-US" style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"> </span></font></p></div>
<div>
<p><font face="Arial" size="1"><span lang="EN-US" style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">1, Would you mind to tell me how can we to find out the SNMP port number, </span></font></p>
<p><font face="Arial" size="1"><span lang="EN-US" style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">SNMPOID and read-only SNMP community string of the devices / hardwares ?</span></font></p>
<p><font face="Arial" size="1"><span lang="EN-US" style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" size="1"><span lang="EN-US" style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">2, How to setup the mrtg for measuring ( monitoring ) the following hardware usage percentage ( Windows OS also )?</span></font></p>
<p><font face="Arial" size="1"><span lang="EN-US" style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">2.1 CPU usage persentage.</span></font></p>
<p><font face="Arial" size="1"><span lang="EN-US" style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">2.2 Hard Disk usage persentage [ Total ( Read / Write ), Read, Write].</span></font></p>
<p><font face="Arial" size="1"><span lang="EN-US" style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">2.3 Ram ( Memory ) usage persentage [ Available MB, Page/sec ].</span></font></p>
<p><font face="Arial" size="1"><span lang="EN-US" style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">2.4 Network INT usage persentage [ Total ( Packets/sec ), Packets Received/sec, Packets Sent/sec].</span></font></p>
<p><font face="Arial" size="1"><span lang="EN-US" style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" size="1"><span lang="EN-US" style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">So, is there the sample config ( CPU, HD, Ram and Network INT ) for reference ?</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p>
<p><font face="Arial" size="1"><span lang="EN-US" style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">Many thanks for your help !</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p>
<p><font face="Arial" size="1"><span lang="EN-US" style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">Edward.</span></font></p></div></span></div></div></div></div></blockquote><br>