<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>SNMPv3 config problem</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I am trying to use cfgmaker to generate the mrtg config file. Below is my cfgmaker command line: -</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">/usr/local/mrtg-2/bin/cfgmaker /</FONT>
<BR><FONT SIZE=2 FACE="Arial">--global WorkDir:/usr/local/apache/htdocs/mrtg/WAN/GSR/gsr2 /</FONT>
<BR><FONT SIZE=2 FACE="Arial">--global "Options[_]:bits,growright" /</FONT>
<BR><FONT SIZE=2 FACE="Arial">--enablesnmpv3 /</FONT>
<BR><FONT SIZE=2 FACE="Arial">--snmp-options=:::::3 /</FONT>
<BR><FONT SIZE=2 FACE="Arial">--username=readonlyuser /</FONT>
<BR><FONT SIZE=2 FACE="Arial">--authproto=MD5 /</FONT>
<BR><FONT SIZE=2 FACE="Arial">--authpassword=readonly123 /</FONT>
<BR><FONT SIZE=2 FACE="Arial">--contextengineid=context 800000090300000ED733EC1B /</FONT>
<BR><FONT SIZE=2 FACE="Arial">--output /usr/local/mrtg-2/cfg/mrtg_gsr2.cfg a.b.c.d</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">But I got the following error: -</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">SNMPopen failed: Unable to resolve UDP/IPv4 address '800000090300000ED733EC1B'</FONT>
<BR><FONT SIZE=2 FACE="Arial"> Net_SNMP_util::snmpopen('public@800000090300000ED733EC1B:::::3:v4only',0,'ARRAY(0x660008)') called at /usr/local/mrtg-2/bin/../lib/mrtg2/Net_SNMP_util.pm line 1656</FONT></P>
<P><FONT SIZE=2 FACE="Arial"> Net_SNMP_util::snmpwalk_flg('public@800000090300000ED733EC1B:::::3:v4only','undef','HASH(0x6c32e4)',1.3.6.1.2.1.1) called at /usr/local/mrtg-2/bin/../lib/mrtg2/Net_SNMP_util.pm line 766</FONT></P>
<P><FONT SIZE=2 FACE="Arial"> Net_SNMP_util::snmpwalk('public@800000090300000ED733EC1B:::::3:v4only','HASH(0x6c32e4)',1.3.6.1.2.1.1) called at /usr/local/mrtg-2/bin/cfgmaker line 950</FONT></P>
<P><FONT SIZE=2 FACE="Arial"> main::DeviceInfo('public@800000090300000ED733EC1B:::::3','HASH(0x721170)','HASH(0x6c32e4)') called at /usr/local/mrtg-2/bin/cfgmaker line 137</FONT></P>
<P><FONT SIZE=2 FACE="Arial"> main::main() called at /usr/local/mrtg-2/bin/cfgmaker line 155</FONT>
<BR><FONT SIZE=2 FACE="Arial">SNMPWALK Problem for public@800000090300000ED733EC1B:::::3:v4only at /usr/local/mrtg-2/bin/cfgmaker line 950</FONT>
<BR><FONT SIZE=2 FACE="Arial">WARNING: Skipping public@800000090300000ED733EC1B:::::3 as no info could be retrieved</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Tried to omit "--contextengineid=context 800000090300000ED733EC1B" but I got the following error: -</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Use of --authpassword requires --contextengineid at /usr/local/mrtg-2/bin/cfgmaker line 1504.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">My snmpget is working: -</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">snmpget -v3 -u readonlyuser -a MD5 -A readonly123 -l authNoPriv a.b.c.d 1.3.6.1.2.1.1.3.0</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (490114526) 56 days, 17:25:45.26</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">MRTG version: mrtg-2.16.1</FONT>
<BR><FONT SIZE=2 FACE="Arial">Net::snmp version: 5.2.0</FONT>
<BR><FONT SIZE=2 FACE="Arial">Net-snmp version:5.4.1</FONT>
<BR><FONT SIZE=2 FACE="Arial">Perl version: 5.8.3</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Any help would be much appreciated.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Regards,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">-- Azrol --</FONT>
<BR><FONT SIZE=2 FACE="Arial">Network Engineer</FONT>
<BR><FONT SIZE=2 FACE="Arial">Tenaga Nasional Berhad</FONT>
</P>
</BODY>
</HTML>
<p>
NOTIFICATION<br>
<br>
This e-mail and the attachments is intended solely for the person <br>
to <br>
whom it has been addressed. It contains privileged and/or <br>
confidential <br>
information and is privileged or otherwise protected from <br>
disclosure. <br>
If you are not the person for whom this e-mail was intended, or <br>
the e-<br>
mail has reached you by mistake, please delete it immediately <br>
and <br>
inform us of the error. Our e-mail address is admin@tnb.com.my.<br>
<br>
All opinions, conclusions and other information in this message <br>
that <br>
do not relate to the official business of TNB shall be understood <br>
as <br>
neither given nor endorsed by TNB. TNB shall not be responsible <br>
for <br>
any<br>
activity that may be considered as illegal and/or improper use of <br>
e-<br>
mail and TNB further disclaims and shall not accept liability for <br>
any <br>
content of this e-mail, or for the consequences of any actions <br>
taken <br>
on the basis of the information provided, unless that information <br>
is <br>
subsequently confirmed in writing.<br>
<br>
WARNING<br>
Internet communications cannot be guaranteed to be secured or <br>
error-<br>
free as information could be intercepted, corrupted, lost, arrive <br>
late <br>
or contain viruses. As such, we do not accept liability for any <br>
errors <br>
or omissions in the content of this message which may arise as <br>
a <br>
result of internet transmission.<br>
<br>
TNB does not authorise any of its employees to make any <br>
defamatory or <br>
seditious statements or commit any offence which is contrary to <br>
the <br>
laws of Malaysia. Any such communications and/or actions by <br>
such <br>
employees are outside the scope of employment of the said <br>
individuals <br>
and TNB shall not be liable for such communications and/or <br>
actions.<br>
</p>