Hi!
Actually my oid is "Full path:
iso(1).member-body(2).us(840).ieee802dot11(10036).smt(1)" I have
included this oid in snmpd.conf as shown in the below.
# sec.name
source community
com2sec notConfigUser default
rwcommunity
# Second, map the security name into a group name:
# groupName securityModel
securityName
group notConfigGroup v1
notConfigUser
group notConfigGroup v2c
notConfigUser
# Third, create a view for us to let the group have rights to:
# Open up the whole tree for ro, make the RFC 1213 required ones
rw.
# name
incl/excl subtree mask(optional)
view roview included
.1.2.840.10036.1
view rwview included
.1.2.840.10036.1.1.1.2
# Finally, grant the group read-only access to the systemview
view.
# group context
sec.model sec.level prefix read write
notif
access notConfigGroup "" any
noauth exact roview rwview none
Under this 1.2.840.10036.1 oid, dot11stationConfigTable(oid is
1.2.840.10036.1.1) is there under the stationconfig table there are 23
variables are there which starts from .1.2.840.10036.1.1.1.1 to
1.2.840.10036.1.1.1.23
1. how to write readwrite access to these 23 variables in
snmpd.conf file.
2. I gave readwrite access to the one of the variable for
testing purpose as show below
name incl/excl
subtree mask(optional)
view rwview included
.1.2.840.10036.1.1.1.2
(i.e., Full
path: iso(1).member-body(2).us(840).ieee802dot11(10036).dot11smt
(1).dot11StationConfigTable(1).dot11StationConfigEntry(1).dot11MediumOcc
upancyLimit(2))
But when I'm trying to run "snmpd -f -L -Dieee802dot11_persistent,dlmod"
It is showing "/etc/snmp/snmpd.conf: line 160: Error: bad SUBTREE
object id"
I don't know how to give readwrite access to subtrees , pls help me out
in this problem.
With Regards.
G.Siva Prakash Reddy.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Monday, August 21, 2006 3:13 PM
To: Siva Prakash Reddy G
Cc: [email protected]
Subject: Re: Routine is not working
>> What are the access control settings in your snmpd.conf file? In
>> particular, are you sure that you have given the "public"
community write access?
> I have shown my snmpd.conf file below,
As I suspected.
You haven't changed the access control settings from the initial
distribution. In particular, 'public' doesn't have write access.
Please read the FAQ entry
"How do I configure access control?"
I would suggest that:
a) You use a community string *other* than "public" or "private"
b) You start with a fresh (empty) snmpd.conf file
Dave
The information contained in, or attached to, this e-mail, contains
confidential information and is intended solely for the use of the individual
or entity to whom they are addressed and is subject to legal privilege. If you
have received this e-mail in error you should notify the sender immediately by
reply e-mail, delete the message from your system and notify your system
manager. Please do not copy it for any purpose, or disclose its contents to any
other person. The views or opinions presented in this e-mail are solely those
of the author and do not necessarily represent those of the company. The
recipient should check this e-mail and any attachments for the presence of
viruses. The company accepts no liability for any damage caused, directly or
indirectly, by any virus transmitted in this email.
www.aztecsoft.com
-------------------------------------------------------------------------
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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders