RE: Problem with Community string setting for v2

"Anusuja Gagganapally" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Jinag,
   Please find attached the two files snmp.conf and snmpd.conf .Let me know if they are incorrect.

Thanks,
Anu.

----- Original Message -----
From: jiang jilin
Sent: Fri, 2/2/2007 5:02am
To: Anusuja Gagganapally
Cc: [email protected]
Subject: Re: Problem with Community string setting for v2

Hi,
   check the snmp.conf,attention,not snmpd.conf,and can you find the directives defCommunity,defVersion and etc.?Could you show your snmpd.conf & the explicit commands you used to get & set?

Jiang


On 2/2/07, Anusuja Gagganapally <[email protected]> wrote: Hi,
   I have problem setting the community strings properly. I have checked the snmpd.conf file and have set the rocummunity and rwcommunity properly, but when I use a mibbroswer or command line snmpget or set , eventhough I have not specified the community string the set or get seems to work. I have looked around a lot of code and couldn't figure out whats going wrong . Can you please help me .
 
 
Thanks,
Anu.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
snmp.conf (application/octet-stream, 935 B)
###########################################################################
#
# snmp.conf
#
#   - created by the snmpconf configuration program
#
###########################################################################
# SECTION: Default Authentication Options
#
#   This section defines the default authentication
#   information.  Setting these up properly in your
#   ~/.snmp/snmp.conf file will greatly reduce the amount of
#   command line arguments you need to type (especially for snmpv3).

# defversion: The default snmp version number to use.
#   override: with -v on the command line.
#   arguments: 1|2c|3

defversion  2c

# defcommunity: The default snmpv1 and snmpv2c community name to use when needed.
#   If this is specified, you don't need to include the community
#   name as an argument to the snmp applications.  
#   override: with -c on the command line.
#   arguments: communityname

defcommunity
snmpd.conf (application/octet-stream, 902 B)
###########################################################################
#
# snmpd.conf
#
#   - created by the snmpconf configuration program
#









###########################################################################
# SECTION: Access Control Setup
#
#   This section defines who is allowed to talk to your running
#   snmp agent.

# rwuser: a SNMPv3 read-write user
#   arguments:  user [noauth|auth|priv] [restriction_oid]

rwuser  "aylus-user auth"  

# rouser: a SNMPv3 read-only user
#   arguments:  user [noauth|auth|priv] [restriction_oid]

rouser  aylus  

# rocommunity: a SNMPv1/SNMPv2c read-only access community name
#   arguments:  community [default|hostname|network/bits] [oid]

rocommunity  aylus-user  

# rwcommunity: a SNMPv1/SNMPv2c read-write access community name
#   arguments:  community [default|hostname|network/bits] [oid]

rwcommunity  aylus-admin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.