<div>thanks to Steve and <strong>Lyle Giese firstly .</strong></div>
<div><strong></strong> </div>
<div><strong>re-state my issue :</strong></div>
<div><strong></strong> </div>
<div>My cfg file :</div>
<div>//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////</div>
<div>RunAsDaemon: yes<br>Interval: 5<br>WorkDir: C:\Inetpub\wwwroot\PDSN</div>
<div>Options[_]: growright, bits, nopercent</div>
<div># Para calculo, cada 64Kbps = 8000</div>
<div>EnableIPv6: no</div>
<div><br># to get bits instead of bytes and graphs growing to the right<br>Options[_]: growright, nopercent, gauge, unknaszero</div>
<div>EnableIPv6: no<br>LoadMibs: c:\mrtg\ZTE-CN-PDSN-PMIRP-MIB</div>
<div><br>######################################################################<br># System: <br># Description: <br># Contact: <br># Location: <br>######################################################################</div>
<div><br>Target[PDSN]: 1.3.6.1.4.1.3902.7.222.3.5.1.3.1&1.3.6.1.4.1.3902.7.222.3.5.1.3.1:MVCSNMP_MNG_RO@10.2.0.100:::::2<br>ShortLegend[PDSN]:users<br>YLegend[PDSN]:users<br>MaxBytes[PDSN]: 15000<br>Title[PDSN]: ZTE PDSN<br>
PageTop[PDSN]: <h1>Usuarios Cunene</h1></div>
<div><strong></strong> </div>
<div><strong></strong> //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////</div>
<div> </div>
<div>after i run the command : perl mrtg PDSN.cfg </div>
<div> </div>
<div> </div>
<div>------------------------------------------------------------------------------------------------------------------------</div>
<div> </div>
<div><strong></strong> C:\mrtg\bin>perl mrtg PDSN.cfg<br>Daemonizing MRTG ...<br>Do Not close this window. Or MRTG will die<br>SNMP Error:<br>Received SNMP response with error code<br> error status: 19<br> index 3 (OID: 1.3.6.1.2.1.1.3.0)<br>
SNMPv2c_Session (remote host: "10.2.0.100" [10.2.0.100].161)<br> community: "MVCSNMP_MNG_RO"<br> request ID: 1604618615<br> PDU bufsize: 8000 bytes<br>
timeout: 2s<br> retries: 5<br> backoff: 1)<br> at C:/mrtg/bin\..\lib\mrtg2/SNMP_util.pm line 492<br>SNMPGET Problem for 1.3.6.1.4.1.3902.7.222.3.5.1.3.1 1.3.6.1.4.1.3902.7.222.3.5.<br>
1.3.1 sysUptime sysName on <a href="mailto:MVCSNMP_MNG_RO@10.2.0.100:::::2:v4only">MVCSNMP_MNG_RO@10.2.0.100:::::2:v4only</a><br> at mrtg line 2202<br>2010-10-05 09:38:14: ERROR: Target[pdsn][_IN_] ' $target->[0]{$mode} ' did not e<br>
val into defined data<br>2010-10-05 09:38:14: ERROR: Target[pdsn][_OUT_] ' $target->[0]{$mode} ' did not<br>eval into defined data<br>2010-10-05 09:38:14, Rateup WARNING: C:/mrtg/bin\rateup could not read the prima<br>
ry log file for pdsn<br>2010-10-05 09:38:14, Rateup WARNING: C:/mrtg/bin\rateup The backup log file for<br>pdsn was invalid as well<br>2010-10-05 09:38:14, Rateup WARNING: C:/mrtg/bin\rateup Can't remove pdsn.old up<br>
dating log file<br>2010-10-05 09:38:14, Rateup WARNING: C:/mrtg/bin\rateup Can't rename pdsn.log to<br> pdsn.old updating log file<br>Terminating on signal SIGINT(2)</div>
<div><strong></strong> </div>
<div> ------------------------------------------------------------------------------------------------------------------------</div>
<div> </div>
<div>a. when i used another snmp application , i found that when i used 'get- next' , it was ok .</div>
<div> when i used 'get' , it gave me Generic Error for this OID .</div>
<div> </div>
<div>b. after i captured the snmp packets , i found that :</div>
<div> </div>
<div> 1. there was snmp error ,Snmp error Status: Unkown (19) , Error Index :3 .</div>
<div> </div>
<div> 2. after i run the perl mrtg cfg , from the captured packets,</div>
<div> </div>
<div><strong> 192.168.4.40 (mrtg server)-----> 10.2.0.100 (target server)</strong></div>
<div> </div>
<div> SNMP :</div>
<div> Version:2C(1)</div>
<div> Community : MVCSNMP_MNG_RO</div>
<div> PDU type: GET (0)</div>
<div> Request ID: 0x5fa48977</div>
<div> Error Status: No Error (0)</div>
<div> Error Index: 0</div>
<div> Object identifier 1: 1.3.6.1.4.1.3902.7.222.3.5.1.3.1</div>
<div> Value: Null</div>
<div> Object identifier 2: 1.3.6.1.4.1.3902.7.222.3.5.1.3.1</div>
<div> Value: Null</div>
<div> Object identifier 3: 1.3.6.1.2.1.1.3.0 (SNMPv2-MIB::sysuptime.0)</div>
<div> Value: Null</div>
<div> Object identifier 4: 1.3.6.1.2.1.1.3.0 (SNMPv2-MIB::sysuptime.0)</div>
<div> Value: Null</div>
<div> </div>
<div> </div>
<div> <strong> 10.2.0.100 ---> 192.168.4.40</strong></div>
<div><strong></strong> </div>
<div> SNMP :
<div> Version:2C(1)</div>
<div> Community : MVCSNMP_MNG_RO</div>
<div> PDU type: Response (0)</div>
<div> Request ID: 0x5fa48977</div>
<div> Error Status: Unknow (19)</div>
<div> Error Index: 3</div>
<div> Object identifier 1: 1.3.6.1.4.1.3902.7.222.3.5.1.3.1</div>
<div> Value: 5135</div>
<div> Object identifier 2: 1.3.6.1.4.1.3902.7.222.3.5.1.3.1</div>
<div> Value: 5135</div>
<div> Object identifier 3: 1.3.6.1.2.1.1.3.0 (SNMPv2-MIB::sysuptime.0)</div>
<div> Value: NOSUCHOBJECT </div>
<div> Object identifier 4: 1.3.6.1.2.1.1.3.0 (SNMPv2-MIB::sysuptime.0)</div>
<div> Value: NOSUCHOBJECT <br> </div></div>
<div> </div>
<div> this is what i did .</div>
<div> </div>
<div>many thanks.</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div><br> </div>
<div class="gmail_quote">2010/9/16 Steve Shipway <span dir="ltr"><<a href="mailto:s.shipway@auckland.ac.nz" target="_blank">s.shipway@auckland.ac.nz</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div style="FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZE: 13px">
<div>Try adding a .0 suffix to the OIDs? This can often solve the issue as some programs suppress this on display.</div>
<div> </div>
<div>The MRTG error is saying that it is unable to retrieve the OID, and the 'undefined data' message is because the value is now undefined because it could not be retrieved.</div>
<div> </div>
<div>Steve</div>
<div><br>
<div style="FONT-FAMILY: Tahoma; FONT-SIZE: 13px">
<div style="FONT-FAMILY: Tahoma; FONT-SIZE: 13px"><strong>Steve Shipway</strong></div>
<div style="FONT-FAMILY: Tahoma; FONT-SIZE: 13px">University of Auckland ITS</div>
<div style="FONT-FAMILY: Tahoma; FONT-SIZE: 13px"><em>UNIX Systems Design Lead</em></div>
<div>
<div style="FONT-FAMILY: Tahoma; FONT-SIZE: 13px"><a href="mailto:s.shipway@auckland.ac.nz" target="_blank">s.shipway@auckland.ac.nz</a></div></div>
<div style="FONT-FAMILY: Tahoma; FONT-SIZE: 13px">Ph: +64 9 373 7599 ext 86487</div>
<div style="FONT-FAMILY: Tahoma; FONT-SIZE: 13px"><em></em> </div></div></div>
<hr>
<div style="DIRECTION: ltr"><font color="#000000" size="2" face="Tahoma"><b>From:</b> xia binhui [<a href="mailto:cz.binhui@gmail.com" target="_blank">cz.binhui@gmail.com</a>]<br><b>Sent:</b> Thursday, 16 September 2010 9:19 p.m.<br>
<b>To:</b> Steve Shipway; <a href="mailto:mrtg@lists.oetiker.ch" target="_blank">mrtg@lists.oetiker.ch</a><br><b>Subject:</b> Re: [mrtg] customize OID problem<br></font><br></div>
<div>
<div></div>
<div>
<div>10.2.0.100 is window 2003 server , and there is one applicaiton that enable snmp-agent .</div>
<div> </div>
<div>i can use other MIB Browser application to get the information using the same OID ,</div>
<div> </div>
<div>so OID is correct and snmp version is correct , i think .</div>
<div> </div>
<div>if is it possible that the target name is wrong because of snmp-agent ?</div>
<div> </div>
<div>the error is : "ERROR: Target[10.2.0.100][_IN_] ' $target->[0]{$mode} ' did not eval into defined data "</div>
<div> </div>
<div>and what does it mean about defined data , where i can find the defined data ?</div>
<div> </div>
<div>waiting ...</div>
<div> </div>
<div>thanks .</div>
<div> </div>
<div> </div>
<div><br><br> </div></div></div></div></div></blockquote></div><br>