Re: more compile help questions...

2007-02-09 Thread Sami Kibria
Hi Dave...any ideas of how to get snmpd to be compiled statically with all libraries? Another this is, if this is a no go, where does snmpd expect the libraries to be? Thanks Dave. :) Dave Shield wrote: > And the other question: > >> >> > What is the command that's invoked to compile/link >>

RE: Compile mib module in C++

2007-02-09 Thread Stephen Yu
I actually have modified the configure.in to replace the 'mymodule.c' with 'mymodule.cpp' in mib_module_list_c makefile variable. However, since configure.in changes from version to version, I wonder whether there is a standard way to do that. Thanks, Stephen -Original Message- From: Wes

Re: Does the project have an AgentX test harness?

2007-02-09 Thread Wes Hardaker
> "cj" == chris jalbert <[EMAIL PROTECTED]> writes: cj> Would running testing/RUNTESTS configure and test an AgentX scenario cj> enough for us to consider it functional if it completed successfully? cj> If not, I would appreciate any suggestions for a test configuration cj> we may use. The RU

Re: Compile mib module in C++

2007-02-09 Thread Wes Hardaker
> "SY" == Stephen Yu <[EMAIL PROTECTED]> writes: SY> I implemented my own private mib module in C++. I want to compile and SY> link the module into the agent: snmpd. SY> I run 'configure --with-mib-modules=mymodule'. However, it assumes the SY> implementation file is a C file and won't compil

Compile mib module in C++

2007-02-09 Thread Stephen Yu
I implemented my own private mib module in C++. I want to compile and link the module into the agent: snmpd. I run 'configure --with-mib-modules=mymodule'. However, it assumes the implementation file is a C file and won't compile my .cpp source file. What is the way to specify C++ implementation f

Does the project have an AgentX test harness?

2007-02-09 Thread chris jalbert
We have an ancient bug with no configuration files claiming AgentX doesn't work on Mac OS X 10.3 (Panther) running Net-SNMP 5.0.8. (Specifically, a debug log notes "PDU length 671088660", which might have been the source of the hang.) Would running testing/RUNTESTS configure and test an Age

Re: parse usmUser line

2007-02-09 Thread Dave Shield
On 09/02/07, Fong Tsui <[EMAIL PROTECTED]> wrote: > If I configure snmp in a machine and want to transfer all snmpd > configuration, including v1/v2 access and also v3 users, etc. to other > machine, how can I do that if localized key cannot be re-used on > another machine and also no way to get or

RE: parse usmUser line

2007-02-09 Thread Fong Tsui
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Friday, February 09, 2007 1:03 AM DS>There is no way to reverse this, and go from a localised key to the original pass phrase. And that localised key cannot be re-used on another syst

Re: Help for writing , snmp application demon

2007-02-09 Thread Dave Shield
On 09/02/07, niket mhatre <[EMAIL PROTECTED]> wrote: > I would like to know how can i get complete library reference for net-snmp > api in c , Please see the project website http://www.net-snmp.org > And any one can help me out to write demon which will continuously running > with snmp funct

Help for writing , snmp application demon

2007-02-09 Thread niket mhatre
Hello , I would like to know how can i get complete library reference for net-snmp api in c , Since i has all man page installed on my Linux, but i would like to know is there any complete example nd help from where i can start up my coding , And any one can help me out to write demon which will

Re: more compile help questions...

2007-02-09 Thread Sami Kibria
The command that is invoked is from the Makefile itself. It is: /bin/sh ../libtool --mode=compile arm-linux-gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -static -O2 -c -o snmpd.lo snmpd.c arm-linux-gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -O2 -c

Re: more compile help questions...

2007-02-09 Thread Dave Shield
And the other question: > >> > What is the command that's invoked to compile/link > >> > the 'snmpd' binary? ? - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-inte

Re: more compile help questions...

2007-02-09 Thread Sami Kibria
Oops...sorry. :) When I do the ls -ls command, I get the following... libdl.so -> libdl.so.2 libdl.so.2 -> libdl-2.3.2.so libc.so libc.so.6 -> libc-2.3.2.so libc.a When I try running the application on my arm board, all I get is a "not found" error. Not very helpful at all. But my assumption

Re: more compile help questions...

2007-02-09 Thread Dave Shield
On 09/02/07, Sami Kibria <[EMAIL PROTECTED]> wrote: > > What is the output of > >ls -l /usr/lib/libm* /lib/libm* > >ls -l /usr/lib/libc* /lib/libc* > Hi Dave. My lib's are in my lib directory of my cross compiler... > > /opt/arm/3.4.1/arm-linux/lib/ OK - so what do the equivalent "

Re: more compile help questions...

2007-02-09 Thread Sami Kibria
Hi Dave. My lib's are in my lib directory of my cross compiler... /opt/arm/3.4.1/arm-linux/lib/ Do you know anyone who has been able to get this work? :) Dave Shield wrote: > On 09/02/07, Sami Kibria <[EMAIL PROTECTED]> wrote: >> Here is what I am using for ./configure... >> >> ./configure

Re: compile help....

2007-02-09 Thread Sami Kibria
Hi Dave. Thanks for the response. I have tried this and no luck...still get my "NEEDED". Hmmm Dave Shield wrote: > On 09/02/07, Sami Kibria <[EMAIL PROTECTED]> wrote: >> I need to statically compile an agent for an embedded board >> How do I do this??? > > Please see >http://www.fr

linkup linkdown monitoring via netlink revisited

2007-02-09 Thread Michael Leslie
Greetings All, Last March, Robert Story, Peder Norgaard and some others were discussing the possibility of having the snmp agent receive interface status directly from the linux kernel using the netlink interface, as opposed to polling on a relatively infrequent basis. Has anyone had a chance to

net-snmp move to SVN. Objections?

2007-02-09 Thread Wes Hardaker
The developers with write access to the repository want to move to SVN service on sourceforge from CVS and want to know if anyone objects to this plan. It will likely occur in the next few weeks (exact plan will be sent later). -- Wes Hardaker Sparta, Inc. -

Re: more compile help questions...

2007-02-09 Thread Dave Shield
On 09/02/07, Sami Kibria <[EMAIL PROTECTED]> wrote: > Here is what I am using for ./configure... > > ./configure --with-cflags="-O2 -static" > > I can compile everything into the agent but libc, libdl, libm...any > ideas why? I would have thought that the "-static" option ought to link in the

Re: MIB implementation of GUI

2007-02-09 Thread Dave Shield
On 09/02/07, Suba J <[EMAIL PROTECTED]> wrote: > We install the SNMP and create sample MIB also. > > But we don't about how to implement the MIB to my User Interface because our > GUI was written in Java code, MIB is C language. No - the MIB is *not* written in C. The MIB is written in SMI - a syn

MIB implementation of GUI

2007-02-09 Thread Suba J
I am a new of SNMP-Environment. We install the SNMP and create sample MIB also. But we don?t about how to implement the MIB to my User Interface because our GUI was written in Java code, MIB is C language. Please u tells a step to implementation of MIB in our user interface. Thank you, **

Re: parse usmUser line

2007-02-09 Thread Dave Shield
On 09/02/07, Fong Tsui <[EMAIL PROTECTED]> wrote: > Is there a way to get auth passphrase and private passphrase from > usmUser line in the persistent snmpd.conf? No. The agent does not work with the passphrases themselves. Instead it converts them into "localised keys", and this is what is saved

Re: compile help....

2007-02-09 Thread Dave Shield
On 09/02/07, Sami Kibria <[EMAIL PROTECTED]> wrote: > I need to statically compile an agent for an embedded board > How do I do this??? Please see http://www.freesnmp.com/net-snmp/faqs/index.html#static Dave - Using