答复: 答复:

"MCG PENG Mingxing" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi Dave:
	OK, thanks for your friendly help, I have solved this problem.

-----原始邮件-----
发件人: [email protected] [mailto:[email protected]]代表 Dave Shield
发送时间: 2006年8月25日 16:32
收件人: MCG PENG Mingxing
抄送: [email protected]
主题: Re: 答复:


On 25/08/06, MCG PENG Mingxing <[email protected]> wrote:
>   But when I run "net-snmp-config --snmpconfpath" command, the output is:
>  "unknown option --snmpconfpath"
> .................
> ................
> (My net-snmp package version is 5.1.2 for linux enterprise 4.0)

That's an extremely old version (and work on that line has been closed down).
I strongly suggest that you upgrade to a more recent version.

>         Another,about the path of subagent configuration file, whether I have to create it at the directory of /etc/snmp/ ?   because when I  locate it  at  /usr/local/etc/snmp/  , my subagent can't  read any configration information (I have described this in prior mail), and locate it at /etc/snmp, ererything is OK, why?
>
>         But when I run command: ./snmpd -Dread_config -H 2>&1|grep "config path"|sort -u
> the output is :
>         read_config: config path used:/usr/local/etc/snmp:/usr/local/share/snmp:/usr/local/lib/snmp:/root/.snmp:/var/net-snmp

That certainly looks like the default search path for a
source-compiled installation.
I wouldn't expect anything compiled against these libraries to be
looking in /etc/snmp.
That feels more like a vendor-supplied configuration.

Do you have a vendor-supplied version of Net-SNMP installed as well as
your locally compiled version?    Try removing both of them - then
re-install your local setup.

Working with two installed versions is a recipe for confusion.

Dave
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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.