net-snmp-5.2 64-bit on Solaris9 with cc

2005-02-03 Thread Roger Nilsson
Hello, I´m trying to install a 64-bit version of net-snmp-5.2 on Solaris 9 using suns c-compiler cc version 5.6. Have anyone done this successfully? I managed to configure 5.2 with some warnings and build it. But when running make test almost every test fails. Can anyone help me?

Re: snmptrapd ld.so.1 false inking errors

2005-02-03 Thread Andy Ford
The fundamental difference between the two boxes where snmptrapd is working on one but not the other is the linking. The library on the working box links to /usr/lib/libnetsnmphelpers.so.5 which has the symbol that I am missing on the non working box. The non working box does not link to this

Netsnmp 5.2 Freeze on FC3

2005-02-03 Thread Alejandro Galue
Hello, I compiled Source RPM for Net-SNMP 5.2 over Fedora Core 3, because, when I run snmpd (5.1) the computer stop responding. This problem is on 5.2 again; BUT when I'm running x-windows only. I have two machines both with FC3, one is running x-windows and the other not. Both machines are

Re: Im very new to SNMP

2005-02-03 Thread Sven Jonas
Hi Chenna, wwwn.net-snmp.org . Take a look at the tutorial and the FAQs. After clarified the SNMP-basics you should read: http://www.net-snmp.org/tutorial/tutorial-5/toolkit/demon/index.html for the subagent. And after that you shoud read:

RE: snmptrapd ld.so.1 false inking errors

2005-02-03 Thread Bruce Shaw
Do you have a Solaris box you can test this on. Which libraries do you see linked by snmptrapd? libdl.so.1 =/usr/lib/libdl.so.1 libkvm.so.1 = /usr/lib/libkvm.so.1 libcrypto.so.0.9.7 =/usr/local/ssl/lib/libcrypto.so.0.9.7 libkstat.so.1 =

Re: snmptrapd ld.so.1 false inking errors

2005-02-03 Thread Thomas Anders
Bruce Shaw wrote: Do you have a Solaris box you can test this on. Which libraries do you see linked by snmptrapd? libdl.so.1 = /usr/lib/libdl.so.1 libkvm.so.1 =/usr/lib/libkvm.so.1 libcrypto.so.0.9.7 = /usr/local/ssl/lib/libcrypto.so.0.9.7

UCD-DISKIO-MIB and kernel 2.6

2005-02-03 Thread Andrea Carpani
I'm getting strange behaviour using UCD-DISKIO-MIB: # snmptable -v 1 -c public 127.0.0.1 UCD-DISKIO-MIB:diskIOTable SNMP table: UCD-DISKIO-MIB::diskIOTable diskIOIndex diskIODevice diskIONRead diskIONWritten diskIOReads diskIOWrites 1 sda 8 0

RE: snmptrapd ld.so.1 false inking errors

2005-02-03 Thread Andy Ford
Hi Bruce So am I right in saying - your not linking at all to the libnetsnmp* libraries in your build? Andy On Thu, 2005-02-03 at 08:46 -0700, Bruce Shaw wrote: Do you have a Solaris box you can test this on. Which libraries do you see linked by snmptrapd? libdl.so.1 =

Re: snmptrapd ld.so.1 false inking errors

2005-02-03 Thread Thomas Anders
Andy Ford wrote: So am I right in saying - your not linking at all to the libnetsnmp* libraries in your build? No. As I said: he's linking them *statically*. (which may be what you meant to say and what you're likely to try next ;-)) +Thomas -- Thomas Anders (thomas.anders at blue-cable.de)

RE: snmptrapd ld.so.1 false inking errors

2005-02-03 Thread Andy Ford
I have managed to compile it --with-static and it runs without error. I unfortunately need ... --enable-shared --enable-embedded-perl ... so I can run the perl traphandler with the option perl do /etc/snmp/conf/myperlscript.pl; I'm getting there slowly Regards Andy On Thu, 2005-02-03 at

Re: snmptrapd ld.so.1 false inking errors

2005-02-03 Thread Andy Ford
Yes - that was what I meant ;0) Andy On Thu, 2005-02-03 at 17:31 +0100, Thomas Anders wrote: Andy Ford wrote: So am I right in saying - your not linking at all to the libnetsnmp* libraries in your build? No. As I said: he's linking them *statically*. (which may be what you meant to say

RE: snmptrapd ld.so.1 false inking errors

2005-02-03 Thread Bruce Shaw
I unfortunately need ... --enable-shared --enable-embedded-perl You did read my big blurb about this in README.solaris - right? This communication is intended for the use of the recipient to which it is addressed, and may contain confidential, personal and or privileged information. Please

DONE IT: RE: snmptrapd ld.so.1 false inking errors

2005-02-03 Thread Andy Ford
I automated the install of Perl 5.8.1 from the jumpstart box with the following ./Configure -Dprefix=/usr -Uuselargefiles -Dcc=gcc -de .. thinking these were all the options I required. After your comment below, I decided to manually install Perl choosing each option carefully as specified in

WRB - Errors in Static Make

2005-02-03 Thread wrb
With the configuration established as follows: ./configure --with-mib-modules=dot11/mfd/dot11StationConfigTable --disable-shared --enable-static --with-default-snmp-version=2 --with-sys-contact=William R. Buckley --with-sys-location=RealNet Solutions, Inc. --with-logfile=/var/log/snmpd802.log

Help using int scalar

2005-02-03 Thread Mauricio Reyes
Hi, I runned mib2c with the mib2c.scalar.conf file with this mib object: pInter OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-write STATUS current DEFVAL { 1 } DESCRIPTION ::= { pDat 1 } and it generated the

Re: Im very new to SNMP

2005-02-03 Thread Chenna
Hi Sven and Sandeep, Thank You!! My very basic doubt is...whats this oid number like 1.3.6.2.4.. . What oid number should i give. Its up to me to give any sequence of numbers or is there any convention to be followed. And I want to write a subagent for sending traps on a perticuler

Re: Im very new to SNMP

2005-02-03 Thread Sven Jonas
Is the MIB private or public? If public, does your company has a branch in the snmp-tree? If so, you must put your oid under the oid of your company. OIDs can be authorised by the IANA For creating the subagent please take a look at the tutorial. How configure the Net-SNMP agent with