Re: How to configure snmpd.conf file via CLI?!

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Wed, 18 Aug 2010 09:00:14 +0800, "Alexander King" <[email protected]> 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
[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.