<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I think you need to re-state your issue. 'not working well' is not
something we can make intelligent suggestions to fix.<br>
<br>
Lyle Giese<br>
LCR Computer Services, Inc.<br>
<br>
xia binhui wrote:
<blockquote
cite="mid:AANLkTik6CQqo=-U1rZKskEGc+wiz8ANSf6rV5KFQxCi9@mail.gmail.com"
type="cite">
<div>is there any one can help me ?</div>
<div> </div>
<div>thanks </div>
<div> </div>
<div><br>
<br>
</div>
<div class="gmail_quote">2010/9/10 xia binhui <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:cz.binhui@gmail.com">cz.binhui@gmail.com</a>></span><br>
<blockquote
style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"
class="gmail_quote">
<div>thanks to Steve Shipway .</div>
<div> </div>
<div><span style="color: rgb(31, 73, 125); font-size: 11pt;">On
your MRTG server, you say you can use a mibbrowse utility?
---------- yes , there is response from 10.2.0.100 .</span></div>
<div><span style="color: rgb(31, 73, 125); font-size: 11pt;"></span> </div>
<div><span style="color: rgb(31, 73, 125); font-size: 11pt;">but i
found that the OID is not correct , because after i analyzed the packet
between MRTG server and 10.2.0.100 server , the value about this OID
is NULL .</span></div>
<div><span style="color: rgb(31, 73, 125); font-size: 11pt;"></span> </div>
<div><span style="color: rgb(31, 73, 125); font-size: 11pt;">after i
changed the OID , the value is not NULL from "captured packet " , it
is correct , but MRTG is also not working well .</span></div>
<div><span style="color: rgb(31, 73, 125); font-size: 11pt;"></span> </div>
<div><span style="color: rgb(31, 73, 125); font-size: 11pt;"></span> </div>
<div><span style="color: rgb(31, 73, 125); font-size: 11pt;">new
cfgfile is below :</span></div>
<div><span style="color: rgb(31, 73, 125); font-size: 11pt;"></span> </div>
<div><span style="color: rgb(31, 73, 125); font-size: 11pt;">-----------------------------------------------------------------------</span></div>
<div class="im">
<div><span style="color: rgb(31, 73, 125); font-size: 11pt;">RunAsDaemon:
yes<br>
Interval: 5<br>
WorkDir: C:\inetpub\wwwroot\PDSN</span></div>
<div><span style="color: rgb(31, 73, 125); font-size: 11pt;">Options[_]:
growright, bits, nopercent</span></div>
<div><span style="color: rgb(31, 73, 125); font-size: 11pt;"># Para
calculo, cada 64Kbps = 8000</span></div>
<div><span style="color: rgb(31, 73, 125); font-size: 11pt;">EnableIPv6:
no</span></div>
</div>
<span style="color: rgb(31, 73, 125); font-size: 11pt;">
<div><br>
# to get bits instead of bytes and graphs growing to the right<br>
Options[_]: growright, nopercent, gauge, unknaszero</div>
<div>EnableIPv6: no
<div class="im"><br>
LoadMibs: c:\mrtg\ZTE-CN-PDSN-PMIRP-MIB<br>
</div>
WorkDir: c:\Inetpub\wwwroot\PDSN</div>
<div>######################################################################<br>
# System: <br>
# Description: <br>
# Contact: <br>
# Location: <br>
######################################################################</div>
<div><br>
Target[10.2.0.100]:
<a class="moz-txt-link-abbreviated" href="mailto: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:public@10.2.0.100:::::2">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:public@10.2.0.100:::::2</a><br>
LegendI[10.2.0.100]: Total de usuários<br>
LegendO[10.2.0.100]: Usuários activos<br>
Legend1[10.2.0.100]: Total usuários PDSN16K<br>
Legend2[10.2.0.100]: Usuários activos PDSN16K<br>
ShortLegend[10.2.0.100]:users<br>
YLegend[10.2.0.100]:users<br>
MaxBytes[10.2.0.100]: 15000<br>
Title[10.2.0.100]: ZTE PDSN </div>
<div> </div>
<div>-------------------------------------------------------------------------------</div>
<div> </div>
<div>the information is that after i run mrtg cfgfile :</div>
<div> </div>
<div> </div>
<div>C:\mrtg\bin>perl mrtg PDSN.cfg
<div class="im"><br>
Daemonizing MRTG ...<br>
Do Not close this window. Or MRTG will die<br>
SNMP Error:<br>
Received SNMP response with error code<br>
</div>
error status: 19<br>
index 3 (OID: 1.3.6.1.2.1.1.3.0)
<div class="im"><br>
SNMPv2c_Session (remote host: "10.2.0.100" [10.2.0.100].161)<br>
community: "public"<br>
</div>
request ID: 2143957165
<div class="im"><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>
</div>
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 moz-do-not-send="true"
href="mailto:public@10.2.0.100:::::2:v4only" target="_blank">public@10.2.0.100:::::2:v4only</a><br>
at mrtg line 2202<br>
2010-09-10 08:42:00: ERROR: Target[10.2.0.100][_IN_] '
$target->[0]{$mode} ' did
<div class="im"><br>
not eval into defined data<br>
</div>
2010-09-10 08:42:00: ERROR: Target[10.2.0.100][_OUT_] '
$target->[0]{$mode} ' di
<div class="im"><br>
d not eval into defined data<br>
</div>
2010-09-10 08:42:00, Rateup WARNING: C:/mrtg/bin\rateup Can't remove
10.2.0.100.<br>
old updating log file
<div class="im"><br>
SNMP Error:<br>
Received SNMP response with error code<br>
</div>
error status: 19<br>
index 3 (OID: 1.3.6.1.2.1.1.3.0)
<div class="im"><br>
SNMPv2c_Session (remote host: "10.2.0.100" [10.2.0.100].161)<br>
community: "public"<br>
</div>
request ID: 2143957166
<div class="im"><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>
</div>
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 moz-do-not-send="true"
href="mailto:public@10.2.0.100:::::2:v4only" target="_blank">public@10.2.0.100:::::2:v4only</a><br>
at mrtg line 2202<br>
2010-09-10 08:47:00: ERROR: Target[10.2.0.100][_IN_] '
$target->[0]{$mode} ' did
<div class="im"><br>
not eval into defined data<br>
</div>
2010-09-10 08:47:00: ERROR: Target[10.2.0.100][_OUT_] '
$target->[0]{$mode} ' di
<div class="im"><br>
d not eval into defined data<br>
</div>
</div>
<div><br>
thanks for your attention .</div>
</span>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div><br>
<br>
</div>
<div class="gmail_quote">2010/9/9 Steve Shipway <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:s.shipway@auckland.ac.nz"
target="_blank">s.shipway@auckland.ac.nz</a>></span>
<div>
<div class="h5"><br>
<blockquote
style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"
class="gmail_quote">
<div link="blue" vlink="purple" lang="EN-NZ">
<div>
<p class="MsoNormal"><span
style="color: rgb(31, 73, 125); font-size: 11pt;">MRTG (and cfgmaker)
are unable to use SNMP to query this OID.</span></p>
<p class="MsoNormal"><span
style="color: rgb(31, 73, 125); font-size: 11pt;"> </span></p>
<p class="MsoNormal"><span
style="color: rgb(31, 73, 125); font-size: 11pt;">Either your
community string is wrong, or you have a firewall or ACL blocking you
from talking to this server, or the OID is wrong.</span></p>
<p class="MsoNormal"><span
style="color: rgb(31, 73, 125); font-size: 11pt;"> </span></p>
<p class="MsoNormal"><span
style="color: rgb(31, 73, 125); font-size: 11pt;">On your MRTG server,
you say you can use a mibbrowse utility? Try to use something simple
like snmpwalk to verify you can talk to the server. If you can, then
check that this is EXACTLY the correct OID – sometimes there is a
trailing .0 suffix that is not displayed.</span></p>
<p class="MsoNormal"><span
style="color: rgb(31, 73, 125); font-size: 11pt;"> </span></p>
<p class="MsoNormal"><span
style="color: rgb(31, 73, 125); font-size: 11pt;">You are using SNMPv2
– check this is supported, maybe the device only has this OID in
SNMPv1? Maybe you are testing with SNMPv1 but MRTG is using SNMPv2c?</span></p>
<p class="MsoNormal"><span
style="color: rgb(31, 73, 125); font-size: 11pt;"> </span></p>
<p class="MsoNormal"><span
style="color: rgb(31, 73, 125); font-size: 11pt;">Steve</span></p>
<p class="MsoNormal"><span
style="color: rgb(31, 73, 125); font-size: 11pt;"> </span></p>
<div style="text-align: center;" class="MsoNormal" align="center"><span
style="color: rgb(31, 73, 125); font-size: 11pt;" lang="EN-US">
<hr align="center" size="2" width="100%"></span></div>
<p class="MsoNormal"><b><span
style="color: rgb(31, 73, 125); font-size: 11pt;">Steve Shipway</span></b></p>
<p class="MsoNormal"><span
style="color: rgb(31, 73, 125); font-size: 10pt;">ITS Unix Services
Design Lead</span></p>
<p class="MsoNormal"><span
style="color: rgb(31, 73, 125); font-size: 10pt;">University of
Auckland</span></p>
<p class="MsoNormal"><span
style="color: rgb(31, 73, 125); font-size: 10pt;">Floor 2, 58 Symonds
Street</span></p>
<p class="MsoNormal"><i><span
style="color: rgb(31, 73, 125); font-size: 10pt;">09 3737599 ext 86487</span></i></p>
<p class="MsoNormal"><span
style="font-family: Webdings; color: green; font-size: 18pt;"
lang="EN-GB">P</span><span style="color: blue; font-size: 11pt;"
lang="EN-GB"> </span><span style="color: green; font-size: 10pt;"
lang="EN-GB">Please consider the environment before printing this
e-mail</span><span style="color: blue; font-size: 11pt;" lang="EN-GB"> </span><span
style="color: navy; font-size: 7.5pt;" lang="EN-GB"></span></p>
<p class="MsoNormal"><i><span
style="color: rgb(31, 73, 125); font-size: 10pt;"> </span></i></p>
<p class="MsoNormal"><span
style="color: rgb(31, 73, 125); font-size: 11pt;"> </span></p>
<div
style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0cm 0cm 0cm 4pt;">
<div>
<div
style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span style="font-size: 10pt;"
lang="EN-US">From:</span></b><span style="font-size: 10pt;"
lang="EN-US"> mrtg-bounces+s.shipway=<a moz-do-not-send="true"
href="http://auckland.ac.nz/" target="_blank">auckland.ac.nz</a>@<a
moz-do-not-send="true" href="http://lists.oetiker.ch/" target="_blank">lists.oetiker.ch</a>
[mailto:<a moz-do-not-send="true" href="mailto:mrtg-bounces%2Bs.shipway"
target="_blank">mrtg-bounces+s.shipway</a>=<a moz-do-not-send="true"
href="http://auckland.ac.nz/" target="_blank">auckland.ac.nz</a>@<a
moz-do-not-send="true" href="http://lists.oetiker.ch/" target="_blank">lists.oetiker.ch</a>]
<b>On Behalf Of </b>xia binhui<br>
<b>Sent:</b> Thursday, 9 September 2010 9:13 p.m.<br>
<b>To:</b> <a moz-do-not-send="true"
href="mailto:mrtg@lists.oetiker.ch" target="_blank">mrtg@lists.oetiker.ch</a><br>
<b>Subject:</b> [mrtg] customize OID problem</span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US">Dear all ,</span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"> </p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US">when i tried to use the following cfgfile, but it failed
, can anyone help me ?</span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"> </p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US">< !----------</span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US">RunAsDaemon: yes</span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US">Interval: 5</span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US">WorkDir: C:\inetpub\wwwroot\PDSN</span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US"> </span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US"># Options[_]: growright, bits, nopercent</span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US"> </span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US"># Para calculo, cada 64Kbps = 8000</span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US"> </span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US">EnableIPv6: no</span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US"> </span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US"> </span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US"> </span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US"> </span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US"> </span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US">#################################### MOVINET
##################################################</span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US"> </span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US">### Usuários Activos ###</span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US"> </span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US">Target[Movinet_Users]:
<a class="moz-txt-link-abbreviated" href="mailto:1.3.6.1.4.1.3902.7.222.3.5.1.3&1.3.6.1.4.1.3902.7.222.3.5.1.3:public@10.2.0.100:::::2">1.3.6.1.4.1.3902.7.222.3.5.1.3&1.3.6.1.4.1.3902.7.222.3.5.1.3:public@10.2.0.100:::::2</a></span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US">YLegend[Movinet_Users]: Usuários</span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US">ShortLegend[Movinet_Users]: Usuários</span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US">MaxBytes[Movinet_Users]: 15000 </span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US">Options[Movinet_Users]: nopercent, gauge, unknaszero,
growright</span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US">Legend1[Movinet_Users]: Total de Usuários Conectados</span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US">LegendI[Movinet_Users]: </span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US">LegendO[Movinet_Users]: Movinet Total </span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US">Title[Movinet_Users]: Total de Usuários Conectados (TODO
PAIS)</span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US">PageTop[Movinet_Users]: <H1> Total de Usuários
Conectados</H1></span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US">WithPeak[Movinet_Users]: ymw</span></p>
<p
style="margin-bottom: 0pt; margin-left: 36pt; margin-right: 0cm;"><span
lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US"> !----- ></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US"> ERROR:</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">C:\mrtg\bin>perl mrtg
mrtg.cfg</span></p>
<p class="MsoNormal"><span lang="EN-US">Daemonizing MRTG ...</span></p>
<p class="MsoNormal"><span lang="EN-US">Do Not close this window.
Or MRTG will die</span></p>
<p class="MsoNormal"><span lang="EN-US">SNMP Error:</span></p>
<p class="MsoNormal"><span lang="EN-US">Received SNMP response
with error code</span></p>
<p class="MsoNormal"><span lang="EN-US"> error status: genErr</span></p>
<p class="MsoNormal"><span lang="EN-US"> index 1 (OID:
1.3.6.1.4.1.3902.7.222.3.5.1.3)</span></p>
<p class="MsoNormal"><span lang="EN-US">SNMPv2c_Session (remote
host: "10.2.0.100" [10.2.0.100].161)</span></p>
<p class="MsoNormal"><span lang="EN-US">
community: "public"</span></p>
<p class="MsoNormal"><span lang="EN-US"> request
ID: 433882435</span></p>
<p class="MsoNormal"><span lang="EN-US"> PDU
bufsize: 8000 bytes</span></p>
<p class="MsoNormal"><span lang="EN-US">
timeout: 2s</span></p>
<p class="MsoNormal"><span lang="EN-US">
retries: 5</span></p>
<p class="MsoNormal"><span lang="EN-US">
backoff: 1)</span></p>
<p class="MsoNormal"><span lang="EN-US"> at
C:/mrtg/bin\..\lib\mrtg2/SNMP_util.pm line 492</span></p>
<p class="MsoNormal"><span lang="EN-US">SNMPGET Problem for
1.3.6.1.4.1.3902.7.222.3.5.1.3 1.3.6.1.4.1.3902.7.222.3.5.1.3</span></p>
<p class="MsoNormal"><span lang="EN-US">sysUptime sysName on </span><span
lang="EN-US"><a moz-do-not-send="true"
href="mailto:public@10.2.0.100:::::2:v4only" target="_blank"><span>public@10.2.0.100:::::2:v4only</span></a></span><span
lang="EN-US"> at mrtg line 2202</span></p>
<p class="MsoNormal"><span lang="EN-US">2010-08-30 11:02:40:
ERROR: Target[movinet_users][_IN_] ' $target->[0]{$mode} '</span></p>
<p class="MsoNormal"><span lang="EN-US">did not eval into defined
data</span></p>
<p class="MsoNormal"><span lang="EN-US">2010-08-30 11:02:40:
ERROR: Target[movinet_users][_OUT_] ' $target->[0]{$mode} '</span></p>
<p class="MsoNormal"><span lang="EN-US"> did not eval into
defined data</span></p>
<p class="MsoNormal"><span lang="EN-US">Terminating on signal
SIGINT(2)</span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
<br>
</blockquote>
</div>
<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mrtg mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mrtg@lists.oetiker.ch">mrtg@lists.oetiker.ch</a>
<a class="moz-txt-link-freetext" href="https://lists.oetiker.ch/cgi-bin/listinfo/mrtg">https://lists.oetiker.ch/cgi-bin/listinfo/mrtg</a>
</pre>
</blockquote>
<br>
</body>
</html>