RE: Question about persistent community names

"Archer, Walker (W.A.)" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <E037466F30DD454FA3F82C941DFF92E106BFCF68@na1fcm10.dearborn.ford.com>
Thomas... Perfect answer.  My issue is that there is another snmpd.conf
file in the config path.  I discovered this with the -Dread_config
parameter.

Thanks for your help!

Walker

-----Original Message-----
From: Thomas Anders [mailto:[email protected]] 
Sent: Wednesday, August 15, 2007 5:37 PM
To: Archer, Walker (W.A.)
Cc: [email protected]
Subject: Re: Question about persistent community names

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.