Hi Dave I am not compiling, and need to change it on-the-fly. I change the snmpd.config file and set " UCD-SNMP-MIB::versionUpdateConfig" to 1 as you suggested. Is there a way to do it from server's code other than calling "snmpset"? (I do it as a system call)
Thank you Naama -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield Sent: Wednesday, March 09, 2011 2:20 PM To: Naama Bar Menachem Cc: [email protected] Subject: Re: How to prevent net-snmp from working in v1/v2 (only v3) On 9 March 2011 12:13, Naama Bar Menachem <[email protected]> wrote: > Is there a way of preventing snmp from working in v1/v2 and only respond to v3? If you don't configure any valid community strings, then the agent will ignore any SNMPv1 or SNMPv2c requests. If you are compiling from source, you could run configure --disable-snmpv1 --disable-snmpv2c .... and this will omit the community-based code altogether. Dave ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ 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
