Hi Dave,
I have tried both (with name as well as OID) to exclude snmpVacmMIB. But unfortunately I am not able to make it happen!!!
Finally I have commented out statements to REGISTER the vacm objects in vacm_var.c file in netsnmp-5.1.
Please let me know if you have idea why it's not getting excluded.
Thanks for your help.
Regards, Sanjib.
Dave Shield wrote:
Do you want to remove the access control completely, or just the SNMP tables that interface to it?
No, I don't want to remove the access control, but I don't want to display those objects while doing a snmpwalk/get.
With anything earlier, you'd have to set up a view to exclude access to the VACM tables, and suppress things that way.
Could you please let me know how to set up a view to suppress those objects?. Is it through snmpd.conf?
Yup.
Try view allBarVACM included .1 view allBarVACM excluded snmpVacmMIB
access ......... allBarVACM none none
That would give read-access to the whole OID tree, except for the VACM related tables.
If the agent hasn't got the MIB files loaded, you could use
view allBarVACM included .1 view allBarVACM excluded .1.3.6.1.6.3.16
instead - same effect, just with numbers instead of names.
Dave
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
