problem when configured view(SNMPv3)..

This is a discussion on problem when configured view(SNMPv3).. within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. ------_=_NextPart_001_01C65F74.80E6D174 Content-Type: text/plain; charset="us-ascii&...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-14-2006
 
Posts: n/a
Default problem when configured view(SNMPv3)..

This is a multi-part message in MIME format.

------_=_NextPart_001_01C65F74.80E6D174
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi All,
=20
I am using net-snmp-5.3.0.1. my /usr/local/share/snmp/snmpd.conf
file has following configuration
=20
#-----------------snmpd.conf file begins----------------------- =20
=20
# viewname incl/excl OID
view test-view included system
=20
# groupName securityModel securityName
group mygroup usm raghu
=20
# group context sec.model sec.level prefix read write notif
access mygroup "" usm auth exact test-view none
none
=20
#user configuration
authuser read raghu auth -v test-view
=20
#-----------------snmpd.conf file ends----------------------- =20
=20
my /var/net-snmp/snmpd.conf has following line
createUser raghu MD5 testraghu DES testraghu
=20
which gets encrypted after enabling snmpd(which is enabled on
192.168.31.14). The problem that I have here is I am doing snmpget which
is not giving the expected output. I am executing snmpget from
192.168.31.199. command and output as goes below.
=20
snmpget -v 3 -u raghu -l authNoPriv -a MD5 -A testraghu 192.168.31.14
system.sysUpTime.0
DISMAN-EVENT-MIB::sysUpTimeInstance =3D No Such Object available on this
agent at this OID

=20
Can any one tell me what is wrong in this configuration file. If I
remove -v test-view from user it works fine but it does not serve any
purpose.
=20
Regards,
Raghavendra. S

------_=_NextPart_001_01C65F74.80E6D174
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=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.2802" name=3DGENERATOR></HEAD>
<BODY>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial size=3D2><SPAN=20
class=3D215130212-12042006>Hi All,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D215130212-12042006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D215130212-12042006>&nbsp;&nbsp;&nbsp;&nbsp;I am using=20
<STRONG>net-snmp-5.3.0.1</STRONG>.&nbsp;</SPAN></FONT><FONT face=3DArial =

size=3D2><SPAN class=3D215130212-12042006>my=20
<STRONG>/usr/local/share/snmp/snmpd.conf</STRONG> file has following=20
configuration</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D215130212-12042006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D215130212-12042006>#-----------------snmpd.conf file=20
begins-----------------------&nbsp;&nbsp; </SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D215130212-12042006></SPAN></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D215130212-12042006><SPAN =
class=3D529131803-14042006><FONT=20
face=3DArial size=3D2>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;=20
viewname&nbsp;&nbsp;&nbsp;&nbsp;incl/excl&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OID</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=3D215130212-12042006><FONT size=3D2><FONT =
face=3DArial><SPAN=20
class=3D529131803-14042006>&nbsp;</SPAN>view&nbsp;&nbsp;&nbsp;=20
<STRONG>test-view</STRONG>&nbsp;&nbsp;&nbsp;&nbsp;=20
included&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;=20
system</FONT></FONT></SPAN></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D215130212-12042006>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
groupName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; securityModel=20
securityName<BR>group&nbsp;&nbsp;=20
mygroup&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 20
usm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;=20
<STRONG>raghu</STRONG></SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D215130212-12042006>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
group&nbsp;&nbsp;=20
context sec.model sec.level prefix read&nbsp;&nbsp; write&nbsp;=20
notif<BR>access&nbsp; mygroup ""&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
usm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; auth&nbsp;&nbsp;&nbsp; =
exact&nbsp;=20
<STRONG>test-view</STRONG>&nbsp;&nbsp;&nbsp; none&nbsp;&nbsp;=20
none</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D215130212-12042006>#user=20
configuration<BR>authuser read <STRONG>raghu</STRONG>&nbsp; auth =
<STRONG>-v=20
test-view</STRONG></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D215130212-12042006></SPAN></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D215130212-12042006>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D215130212-12042006>#-----------------snmpd.conf file=20
ends-----------------------&nbsp;&nbsp; </SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D215130212-12042006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D215130212-12042006>my=20
<STRONG>/var/net-snmp/snmpd.conf</STRONG> has following =
line</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D215130212-12042006>createUser raghu MD5=20
testraghu DES testraghu</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D215130212-12042006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D215130212-12042006>which =
gets encrypted=20
after enabling <STRONG>snmpd(</STRONG>which is&nbsp;enabled on=20
<STRONG>192.168.31.14</STRONG>). The problem that I have here&nbsp;is I =
am doing=20
snmpget which&nbsp;is not giving the expected&nbsp;output. I am =
executing=20
<STRONG>snmpget</STRONG> from <STRONG>192.168.31.199</STRONG>.<STRONG>=20
</STRONG>command and output as goes below.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D215130212-12042006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D215130212-12042006>snmpget -v 3 -u=20
raghu -l authNoPriv -a MD5 -A testraghu 192.168.31.14=20
system.sysUpTime.0<BR>DISMAN-EVENT-MIB::sysUpTimeInstance =3D No Such =
Object=20
available on this agent at this OID<BR></SPAN></FONT></DIV>
<DIV><SPAN class=3D215130212-12042006><FONT face=3DArial><FONT =
size=3D2><SPAN=20
class=3D529131803-14042006><FONT=20
color=3D#0000ff></FONT></SPAN></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D215130212-12042006><FONT face=3DArial><FONT =
size=3D2><SPAN=20
class=3D529131803-14042006>&nbsp;</SPAN>Can any one tell me what is =
wrong in this=20
configuration file. If I remove <STRONG>-v test-view</STRONG> from user =
it works=20
fine but it does not serve any purpose.</FONT></FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D215130212-12042006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D215130212-12042006>Regards,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D215130212-12042006>Raghavendra.=20
S</SPAN></FONT></SPAN></DIV></DIV></BODY></HTML>

------_=_NextPart_001_01C65F74.80E6D174--


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=...720&dat=121642
_______________________________________________
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
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 10:35 PM.


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