Re: How to prevent net-snmp from working in v1/v2 (only v3)

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 13 March 2011 06:42, Naama Bar Menachem
<[email protected]> wrote:
> 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"?

If you check the code that implements this object
(in agent/mibgroup/ucd-snmp/versioninfo.c:update_hook()
then you'll see that at heart, this simply calls the routine

    update_config();

This will re-read the agent configuration.

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
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.