<p>Dear All,</p>
<p>I just installed the following packages under windows :<br>mrtg-2.16.2.zip<br>ActivePerl 5.8.8</p>
<p>And running the following command lines :<br>1, perl mrtg<br>2, perl cfgmaker <a href="mailto:public@192.168.0.1">public@192.168.0.1</a> --global "WorkDir: c:\inetpub\mrtg" --output mrtg.cfg</p>
<p>1, During the testing, there are some problem for asking :</p>
<p><a href="http://oss.oetiker.ch/mrtg/doc/mrtg-nt-guide.en.html">http://oss.oetiker.ch/mrtg/doc/mrtg-nt-guide.en.html</a></p>
<p>CONFIGURING MRTG<br>Now it is time to create a configuration for MRTG. But before we begin you need to know a few things. Take an opportunity to gather the following information:</p>
<p>The IP address or hostname and the SNMP port number, (if non standard), of the device you want to monitor. <br>If you want to monitor something other than bytes in and out, you must also know the SNMPOID of what you want to monitor. <br>
Finally you need to know the read-only SNMP community string for your device. If you don't know it, try public, that is the default. </p>
<p><a href="http://oss.oetiker.ch/mrtg/doc/mrtg-reference.en.html">http://oss.oetiker.ch/mrtg/doc/mrtg-reference.en.html</a></p>
<p>Target<br>With the Target keyword you tell mrtg what it should monitor. The Target keyword takes arguments in a wide range of formats:</p>
<p>Basic <br>The most basic format is "port:community@router" This will generate a traffic graph for the interface 'port' of the host 'router' (dns name or IP address) and it will use the community 'community' (snmp password) for the snmp query.</p>
<p>Example:<br>Target[myrouter]: 2:public@wellfleet-fddi.domain</p>
<p>1.1 All of the Server machines are running with Windows ( including bulid-in snmp protocol ). So, how to know the following info ?<br>1.1.1 SNMP port number<br>1.1.2 SNMPOID<br>1.1.3 read-only SNMP community string</p>
<p>2, How to setup the mrtg for measuring ( monitoring ) the following hardware usage percentage ?<br>2.1 CPU usage persentage.<br>2.2 Hard Disk usage persentage [ Total ( Read / Write ), Read, Write].<br>2.3 Ram ( Memory ) usage persentage [ Available MB, Page/sec ].<br>
2.4 Network INT usage persentage [ Total ( Packets/sec ), Packets Received/sec, Packets Sent/sec].</p>
<p>So, is there the sample config ( CPU, HD, Ram and Network INT ) for reference ?</p>
<p>Many thanks for your help !</p>
<p>Edward.</p>