Re: Issue about how to parse snmpd.conf for proxy agent

2011-12-13 Thread 梅亮
Thanks a lot, Magnus, I got it now. Much appreciated. Liang 2011/12/13 Magnus Fromreide > On Tue, 2011-12-13 at 09:57 +0800, 梅亮 wrote: > > Hi NET-SNMP coders, > > > > > > There is something about parsing snmpd.conf for proxy agent that I > > need to ask for your input. I have successfully enabl

Re: Issue about how to parse snmpd.conf for proxy agent

2011-12-12 Thread Magnus Fromreide
On Tue, 2011-12-13 at 09:57 +0800, 梅亮 wrote: > Hi NET-SNMP coders, > > > There is something about parsing snmpd.conf for proxy agent that I > need to ask for your input. I have successfully enabled proxy agent by > following the link of > http://www.net-snmp.org/wiki/index.php/Snmpd_proxy . But

Issue about how to parse snmpd.conf for proxy agent

2011-12-12 Thread 梅亮
Hi NET-SNMP coders, There is something about parsing snmpd.conf for proxy agent that I need to ask for your input. I have successfully enabled proxy agent by following the link of http://www.net-snmp.org/wiki/index.php/Snmpd_proxy . But I am confused as to how net-snmp parses the snmpd.conf, espe

Re: parse snmpd.conf

2008-07-10 Thread Thomas Anders
Paul wrote: > "./trap: error while loading shared libraries: libnetsnmp.so.15: cannot > open shared object file: No such file or directory". > I am sure there are netsnmp libraries in /usr/local/lib. > Why do I get this error? man ldconfig +Thomas --

RE: parse snmpd.conf

2008-07-10 Thread Paul
Hi all, I find that there is an error in my Makefile, and I have reworked it now. But there is still an error when I exectue ./trap, it just shows "./trap: error while loading shared libraries: libnetsnmp.so.15: cannot open shared object file: No such file or directory". I am sure there are nets

parse snmpd.conf

2008-07-09 Thread Paul
Hi all, I tried to write an application(.exe) to parse snmpd.conf. The source file I wrote is as attached file "trap.c". Now my trap.c should only find "trapsink" and "trap2sink". I modified the Makefile downloaded from NET-SNMP Tutorials to build trap.c as a .e