[mrtg] SNMPv3 config problem

Azrol Hezri Badarudin azrol at tnb.com.my
Tue Mar 18 08:13:51 CET 2008


Hi,
 
The following error occurs: -
 
90300000ED733EC1B: not found
 
tq
 
-- azrol --

________________________________

From: Sean Cheesman [mailto:scheesman at caeveo.com] 
Sent: Tuesday, March 18, 2008 12:57 PM
To: Azrol Hezri Badarudin
Subject: RE: SNMPv3 config problem



Hello,

 

Try taking the "context" out of your contextengineid line ( ie.
--contextengineid=800000090300000ED733EC1B)

 

Sean

 

From: mrtg-bounces at lists.oetiker.ch
[mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Azrol Hezri
Badarudin
Sent: Monday, March 17, 2008 11:21 PM
To: mrtg at lists.oetiker.ch
Subject: [mrtg] SNMPv3 config problem

 

Hi, 

I am trying to use cfgmaker to generate the mrtg config file. Below is
my cfgmaker command line: - 

/usr/local/mrtg-2/bin/cfgmaker / 
--global WorkDir:/usr/local/apache/htdocs/mrtg/WAN/GSR/gsr2 / 
--global "Options[_]:bits,growright" / 
--enablesnmpv3 / 
--snmp-options=:::::3 / 
--username=readonlyuser / 
--authproto=MD5 / 
--authpassword=readonly123 / 
--contextengineid=context 800000090300000ED733EC1B / 
--output /usr/local/mrtg-2/cfg/mrtg_gsr2.cfg a.b.c.d 

But I got the following error: - 

SNMPopen failed: Unable to resolve UDP/IPv4 address
'800000090300000ED733EC1B' 
 
Net_SNMP_util::snmpopen('public at 800000090300000ED733EC1B:::::3:v4only',0
,'ARRAY(0x660008)') called at
/usr/local/mrtg-2/bin/../lib/mrtg2/Net_SNMP_util.pm line 1656

 
Net_SNMP_util::snmpwalk_flg('public at 800000090300000ED733EC1B:::::3:v4onl
y','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

 
Net_SNMP_util::snmpwalk('public at 800000090300000ED733EC1B:::::3:v4only','
HASH(0x6c32e4)',1.3.6.1.2.1.1) called at /usr/local/mrtg-2/bin/cfgmaker
line 950

 
main::DeviceInfo('public at 800000090300000ED733EC1B:::::3','HASH(0x721170)
','HASH(0x6c32e4)') called at /usr/local/mrtg-2/bin/cfgmaker line 137

        main::main() called at /usr/local/mrtg-2/bin/cfgmaker line 155 
SNMPWALK Problem for public at 800000090300000ED733EC1B:::::3:v4only at
/usr/local/mrtg-2/bin/cfgmaker line 950 
WARNING: Skipping public at 800000090300000ED733EC1B:::::3 as no info could
be retrieved 

Tried to omit "--contextengineid=context 800000090300000ED733EC1B" but I
got the following error: - 

Use of --authpassword requires --contextengineid at
/usr/local/mrtg-2/bin/cfgmaker line 1504. 

My snmpget is working: - 

snmpget -v3 -u readonlyuser -a MD5 -A readonly123 -l authNoPriv a.b.c.d
1.3.6.1.2.1.1.3.0 

DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (490114526) 56 days,
17:25:45.26 

MRTG version: mrtg-2.16.1 
Net::snmp version: 5.2.0 
Net-snmp version:5.4.1 
Perl version: 5.8.3 

Any help would be much appreciated. 

Regards, 

-- Azrol -- 
Network Engineer 
Tenaga Nasional Berhad 

NOTIFICATION

This e-mail and the attachments is intended solely for the person 
to 
whom it has been addressed. It contains privileged and/or 
confidential 
information and is privileged or otherwise protected from 
disclosure. 
If you are not the person for whom this e-mail was intended, or 
the e-
mail has reached you by mistake, please delete it immediately 
and 
inform us of the error. Our e-mail address is admin at tnb.com.my.

All opinions, conclusions and other information in this message 
that 
do not relate to the official business of TNB shall be understood 
as 
neither given nor endorsed by TNB. TNB shall not be responsible 
for 
any
activity that may be considered as illegal and/or improper use of 
e-
mail and TNB further disclaims and shall not accept liability for 
any 
content of this e-mail, or for the consequences of any actions 
taken 
on the basis of the information provided, unless that information 
is 
subsequently confirmed in writing.

WARNING
Internet communications cannot be guaranteed to be secured or 
error-
free as information could be intercepted, corrupted, lost, arrive 
late 
or contain viruses. As such, we do not accept liability for any 
errors 
or omissions in the content of this message which may arise as 
a 
result of internet transmission.

TNB does not authorise any of its employees to make any 
defamatory or 
seditious statements or commit any offence which is contrary to 
the 
laws of Malaysia. Any such communications and/or actions by 
such 
employees are outside the scope of employment of the said 
individuals 
and TNB shall not be liable for such communications and/or 
actions.



NOTIFICATION

This e-mail and the attachments is intended solely for the person 
to 
whom it has been addressed. It contains privileged and/or 
confidential 
information and is privileged or otherwise protected from 
disclosure. 
If you are not the person for whom this e-mail was intended, or 
the e-
mail has reached you by mistake, please delete it immediately 
and 
inform us of the error. Our e-mail address is admin at tnb.com.my.

All opinions, conclusions and other information in this message 
that 
do not relate to the official business of TNB shall be understood 
as 
neither given nor endorsed by TNB. TNB shall not be responsible 
for 
any
activity that may be considered as illegal and/or improper use of 
e-
mail and TNB further disclaims and shall not accept liability for 
any 
content of this e-mail, or for the consequences of any actions 
taken 
on the basis of the information provided, unless that information 
is 
subsequently confirmed in writing.

WARNING
Internet communications cannot be guaranteed to be secured or 
error-
free as information could be intercepted, corrupted, lost, arrive 
late 
or contain viruses. As such, we do not accept liability for any 
errors 
or omissions in the content of this message which may arise as 
a 
result of internet transmission.

TNB does not authorise any of its employees to make any 
defamatory or 
seditious statements or commit any offence which is contrary to 
the 
laws of Malaysia. Any such communications and/or actions by 
such 
employees are outside the scope of employment of the said 
individuals 
and TNB shall not be liable for such communications and/or 
actions.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080318/b1d9e1a5/attachment-0001.html 


More information about the mrtg mailing list