Hi All,
I have the snmpd.conf working file for 3-users: snmpusr1, snmpusr2,
snmpusr3
As below:
/***************************start of
snmpd.conf*****************************************
#testGroup
group OperatorGroup usm snmpusr1
group ManagerGroup usm snmpusr2
group ManagerGroup usm snmpusr3
####
# Third, create a view for us to let the groups have rights to:
# incl/excl subtree
mask
view all included .1
80
view operatorWrite included .1.3.6.1.4.1.388.14.1.2.1.1.1
view operatorWrite included .1.3.6.1.4.1.388.14.3.2.1.10.6.1.9
FF:FE
view operatorWrite included .1.3.6.1.4.1.388.14.3.2.1.10.9.1.9
FF:FE
createUser snmpusr1 SHA "password123"
AES " password123"
createUser snmpusr2 SHA "
password123" AES " password123"
createUser snmpusr3 SHA "
password123" AES " password123"
####
# Finally, grant the 2 groups access to the 1 view with different
# write permissions:
# context
sec.model sec.level match read write
notify
access OperatorGroup "" any
authPriv exact all operatorWrite
none
access ManagerGroup "" any
authPriv exact all all
none
/***************************End of
snmpd.conf*****************************************
I have the following requirement:
1. There are list of MIB object which are implemented in my Agent
code.
2. These list of MIB object are required the access permission
under certain condition but need to mask under other condition.
3. I want create a group/access/view for these list of MIB object
in snmpd.conf file
to mask the read/write/notify permission for all 3-users as in the
above snmpd.conf file.
4. For example: let us consider OID is:
".1.3.6.1.4.1.388.14.2.6.1.7"
5. As per the requirement, code should be present in Agent and we
will maintain the 2-snmpd.conf file.
6. By selecting the snmpd.conf file we will "allow/don't allow"
the permission for the Object(.1.3.6.1.4.1.388.14.2.6.1.7)
Can someone help me what are changes need to do in snmpd.conf file ?
Thanks,
Sanjay
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
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/listinfo/net-snmp-users