Re: Re:Re: why ucd-snmp agent can only be get, can't be set always

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 23/08/07, ye_cl <[email protected]> wrote:
> Using the command of "./snmpd -c
> /usr/local/share/snmp/snmpd.conf -f &" to run the agent in
> target board's uClinux, Now I can set the agent from the client. I think the
> reason is that the snmpd.conf under /usr/local/share/snmp/ dir can't be read
> by the agent in uClinux by default,we must manually tell the agent where
> snmpd.conf is.

Try running the agent as

    ./snmpd -f -Le -Dread_config

That will show you where it is looking for config information.

Dave

-------------------------------------------------------------------------
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.