On 27 January 2010 17:23, <[email protected]> wrote: > I have an agent running for all the SNMP versions. > > 1. I want to disable/enable SNMP V1, V2 for the whole agent on the fly,
The simplest way to do this is to remove any community-based access control settings. Either by editing the snmpd.conf file or by manipulating the VACM tables. > What net-snmp command should I use or which OID should I set to do this > while I don’t have to restart the agent and redo the configure? You can reload the configuration without restarting the agent, by issuing a SET request on UCD-SNMP-MIB::versionUpdateConfig.0 > 2. Right now I have “rwcommunity public” in the > /usr/local/share/snmp/snmpd.conf file for community string. > > Which net-snmp command alow me to change the community name? If you've got access control set up in the snmpd.conf file, then you will need to edit this file (and re-load the config) in order to change it. Most configuration set via that file is "static", and can't be changed via SET requests. Dave ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ 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
