/usr/local/lib/perl5/5.10.1/x86_64-linux/CORE/libperl.a: could not read symbols: Bad value

2010-07-09 Thread Alexander King
Hi all, I compiled the net-snmp-5.4,net-snmp-5.6 edition,use ./configure,make command in CLI,and I got error like this: helpers/.libs/instance.o helpers/.libs/mode_end_call.o helpers/.libs/multiplexer.o helpers/.libs/null.o helpers/.libs/old_api.o helpers/.libs/read_only.o

./.libs/libnetsnmpagent.so: undefined reference to `boot_DynaLoader'

2010-07-09 Thread Alexander King
I got a another error. gcc -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/CORE -o .libs/snmpd .libs/snmpd.o -Wl,-E -Wl,-rpath

Example reading the ifTable with C

2010-07-09 Thread Tsolakos Stavros
Hi list. Can anyone provide some sample code about how could I read the interface table of a router from a C application? I have found some code under the 'agent/mibgroup/if-mib' directory of the source distribution, but I am not very sure that I know how to use it. Thank you all in advance!

what is the boot_DynaLoader function's use?

2010-07-09 Thread Alexander King
I compiled the subagent into the snmpd,but I got the error like this: gcc -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/CORE

net-snmp-5.5 Compilation problems

2010-07-09 Thread tomy
Hi, While compiling net-snmp-5.5 for xscale architecture with the following commands ./configure --target=xscale-linux --host=xscale --build=i686 --with-cc=mxscaleb-gcc --with-ar=mxscaleb-ar --with-endianness=big --disable-embedded-perl --disable-perl-cc-checks --without-perl-modules

net-snmp-5.5 Compilation problems

2010-07-09 Thread tomy
Hi, While compiling net-snmp-5.5 for xscale architecture with the following commands ./configure --target=xscale-linux --host=xscale --build=i686 --with-cc=mxscaleb-gcc --with-ar=mxscaleb-ar --with-endianness=big --disable-embedded-perl --disable-perl-cc-checks --without-perl-modules

SNMP SET of sysLocation and sysContact

2010-07-09 Thread Doroubo Doroubo
Hi, I am having a problem on setting the syslocation and syscontact in RFC1213. I have read that removing these fields in snmpd.conf would make them writable. I did this and it really became writable, but my problem is that once the snmp agent restarts, the values changes back to default. I

Re: Example reading the ifTable with C

2010-07-09 Thread Kavita Raghunathan
I went through this struggle myself. Please look under data_access/interface.c, data_access/interface_linux.c, data_access/interface_ioctl.c. You have not mentioned what OS this router is running. If it is using a BSD type IP stack, and has an ioctl interface to the ethernet driver, then the

Net-SNMP

2010-07-09 Thread Douthwright, Kate
Good afternoon, I work for Babson Capital Management and we are looking to bring Net-SNMP into our environment. Please verify that this product is free to business use. If not, what charges would we incur if we move forward with the purchase? Thank you for your help, Kate Kate

Problem with net-snmp

2010-07-09 Thread Fabio Jacomelli
Hi, I've a global zone in solaris 10 with standard snmpdx, here I've installed a zone in solaris 9 with net-snpd bash-2.05# pkginfo -l SMCnetsnmp PKGINST: SMCnetsnmp NAME: netsnmp CATEGORY: application ARCH: sparc VERSION: 5.4.1 BASEDIR: /usr/local VENDOR: The

AIX5.3 net-SNMP tables

2010-07-09 Thread IanA
Hi I compiled Net-SNMP using Gcc as shown hereafter. I have a problem displaying some tables : .iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable == no response (table is empty) .iso.org.dod.internet.mgmt.mib-2.tcp.tcpConnTable == no response (table is empty)

Re: SNMP SET of sysLocation and sysContact

2010-07-09 Thread Dave Shield
On 9 July 2010 14:41, Doroubo Doroubo doro...@hotmail.com wrote: I am having a problem on setting the syslocation and syscontact in RFC1213. I have read that removing these fields in snmpd.conf would make them writable. I did this and it really became writable, but my problem is that once the

Re: Net-SNMP

2010-07-09 Thread Dave Shield
On 8 July 2010 17:03, Douthwright, Kate kdouthwri...@babsoncapital.com wrote: I work for Babson Capital Management and we are looking to bring Net-SNMP into our environment. Please verify that this product is free to business use. If not, what charges would we incur if we move forward with the

Re: How to I make snmpd agent allow remote connectios

2010-07-09 Thread Dave Shield
On 8 July 2010 13:17, Dzenan Causevic dzenan.cause...@bstelecom.ba wrote: I only installed SNMP agent on my Ubuntu 9.04 but it allows only connections from localhost. How do I make it allow remote connections as well? Check how the agent is being started. In particular, what options it is

Re: AIX5.3 net-SNMP tables

2010-07-09 Thread Dave Shield
On 9 July 2010 16:33, IanA iap...@sagaxis.com wrote: I compiled Net-SNMP using Gcc as shown hereafter. I have a problem displaying some tables : I'm no expert on AIX, and it's certainly not one of the better supported architectures. But a couple of things to try: a) What *can* you see?

Re: AIX5.3 net-SNMP tables

2010-07-09 Thread Thomas Anders
IanA wrote: I compiled Net-SNMP using Gcc as shown hereafter. I have a problem displaying some tables : *.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable* *== no response (table is empty) **.iso.org.dod.internet.mgmt.mib-2.tcp.tcpConnTable* *== no response (table is empty) *

Re: net-snmp compilation including perl module

2010-07-09 Thread Bart Van Assche
On Fri, Jan 29, 2010 at 1:39 AM, Group mailforgr...@gmail.com wrote: Hi, I 'm getting compilation issues, i couldnot proceed from here. Here are the steps which i ran: $ ./configure --with-perl-modules --with-openssl=/usr $ make [Getting errors related to openssl package] -Added

Re: /usr/local/lib/perl5/5.10.1/x86_64-linux/CORE/libperl.a: could not read symbols: Bad value

2010-07-09 Thread Thomas Anders
Alexander King wrote: /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/local/lib/perl5/5.10.1/x86_64-linux/CORE/libperl.a(op.o): relocation R_X86_64_32S against `PL_sv_yes' can not be used when making a shared object; recompile with -fPIC

Re: AIX5.3 net-SNMP tables

2010-07-09 Thread IanA
Hi Thomas, Thanks for the reply. It is the same as per post from John Jolet 14 Nov. 2006. http://www.mail-archive.com/net-snmp-users@lists.sourceforge.net/msg12013.html README.aix has nothing on this problem and it does not seem to have been addressed in the patches to date. Does anyone have a