>>>>> On Wed, 18 Aug 2010 09:00:14 +0800, "Alexander King" <new...@foxmail.com> 
>>>>> said:

>>> No,I mean,use the commands the net-snmp itself has,such as snmpset
>>> or something,for example set a trap receiver IP,or delete a IP from
>>> the snmpd.conf,is it feasible ???

The software will not, by design, modify *your* snmpd.conf files.
That's a scary thing to ask it to do, so we don't do it.

That being said, it will actually use a special snmpd.conf file as a
"persistent storage" file, usually in /var/net-snmp/snmpd.conf.  This is
where SET operation information gets stored.  But you don't want to put
normal config there as it'll get overwritten.

Generally information should either be:

a) static configuration from your normal snmpd.conf
b) dynamic configuration from a network manager.

It is unsafe to mix the two.
-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
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

Reply via email to