Re: How to change the default directory

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 19/09/2007, Reza Salehi <[email protected]> wrote:
> I am trying to use  SNMPCONFPATH directive in snmp.conf  to change the
> default path to  /etc/snmp  for pointing to snmpd.conf.

You are trying to use a directive in a configuration file,
in order to change where the system looks for configuration files?
Don't you think that's there's a logical flaw there somewhere?


> When I add SNMPCONFPATH  in snmp.conf I am getting
> Unknow Token error once I run snmpget or walk.
> Could please advise me how to change the default directory?

SNMPCONFPATH is an environmental variable, not a config directive.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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.