Re: Question about persistent community names

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Archer, Walker (W.A.) wrote:
> Now BOTH community names are enabled!  I can do an snmpwalk on either of
> them.  This must be a rookie mistake, but I assumed the old community
> string would be removed from the config.  Can anyone explain where the
> old community name is coming from and how I can get rid of it?

Run "snmpd -Dread_config ..." to see where it reads the old community
name from.

> I'd rather not use the '-C' parameter since I could lose information in the
> persistent cache.  But if that's the only way then let me know.

You could set

  SNMPCONFPATH=/etc:"`net-snmp-config --persistent-directory`"

to restrict to a single config file location *and* the persistent directory.


+Thomas

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.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
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.