SNMPD not responding when a context name is given in the request

This is a discussion on SNMPD not responding when a context name is given in the request within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --===============0175031980== Content-class: urn:content-classes:message Content-Type: multipart/alternative; ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-07-2008
Pamidipati Suresh-G20238
 
Posts: n/a
Default SNMPD not responding when a context name is given in the request

This is a multi-part message in MIME format.

--===============0175031980==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C85146.582EB87A"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C85146.582EB87A
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

All,
=20
We are using Net-snmp-5.2.2 as Agentx master agent and subagent.
I have configured the agent to be SNMPv3 agent and created user, group
and access permissions with a non-null context name. But when snmp v3
request is sent with valid username, security level and context name,
SNMPD is responding with " No more variables left in this MIB View". I
am not sure where the configuration went wrong. However SNMPD is
responding when a null context name ( -n "" ) is given in the request.
=20
Following are the directives/lines added in snmpd.conf for snmpv3
configuration.
=20
#########################################
rwuser user1 noAuthNoPriv 1
createUser user1 MD5 user123 DES
=20
group mygroup v1 user1
group mygroup v2c user1
group mygroup usm user1
view myview included .1.3.6.1
access mygroup context any noauth prefix myview myview myview
##########################################
=20
Following is the output of snmpwalk command.
=20
# snmpwalk -v 3 -u user1 -l noAuthNoPriv -r 0 -t 10 -n "context1" -m
/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt localhost nsModuleEntry
NET-SNMP-AGENT-MIB::nsModuleEntry =3D No more variables left in this MIB
View (It is past the end of the MIB tree)
=20
Did any of you encounter this kind of problem..? Can you please let me
know if there are any changes required in the configuration..?
Any help on this will be really appreciated.
=20
Thanks & Regards,
Suresh.


=20
=20

------_=_NextPart_001_01C85146.582EB87A
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2900.3199" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D531512315-07012008>All,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D531512315-07012008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D531512315-07012008>We are =
using=20
Net-snmp-5.2.2 as Agentx master agent and subagent.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D531512315-07012008>I have =
configured=20
the agent to be SNMPv3 agent and created user, group and access =
permissions with=20
a non-null context name. But when snmp v3 request is sent with valid =
username,=20
security level and context&nbsp;name, SNMPD is responding&nbsp;with " No =
more=20
variables left in this MIB View". I am not sure where the configuration =
went=20
wrong. However SNMPD is responding when&nbsp;a null context name ( -n "" =
) is=20
given in the request.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D531512315-07012008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D531512315-07012008>Following are the=20
directives/lines added in snmpd.conf for snmpv3=20
configuration.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D531512315-07012008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D531512315-07012008>######################################### </SPA=
N></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D531512315-07012008>rwuser&nbsp;user1=20
noAuthNoPriv 1<BR>createUser&nbsp;user1 MD5 user123 =
DES</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D531512315-07012008>group =
mygroup v1=20
user1<BR>group mygroup v2c user1<BR>group mygroup usm user1<BR>view =
myview=20
included .1.3.6.1<BR>access mygroup context any noauth prefix myview =
myview=20
myview</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D531512315-07012008>######################################### #</SP=
AN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D531512315-07012008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D531512315-07012008>Following is the=20
output of snmpwalk command.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D531512315-07012008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D531512315-07012008># =
snmpwalk -v 3=20
-u&nbsp;user1 -l noAuthNoPriv -r 0 -t 10 -n "context1" -m=20
/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt localhost=20
nsModuleEntry<BR>NET-SNMP-AGENT-MIB::nsModuleEntry =3D No more variables =
left in=20
this MIB View (It is past the end of the MIB tree)</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D531512315-07012008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D531512315-07012008>Did =
any of you=20
encounter this kind of problem..? Can you please let me know if =
there&nbsp;are=20
any changes required in the configuration..?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D531512315-07012008>Any =
help on this=20
will be really appreciated.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D531512315-07012008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D531512315-07012008>Thanks =
&amp;=20
Regards,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D531512315-07012008>Suresh.</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV></SPAN></FONT>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D531512315-07012008></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D531512315-07012008></SPAN></FONT>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C85146.582EB87A--


--===============0175031980==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--===============0175031980==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users

--===============0175031980==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:38 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0