Configure not finding headers

2008-04-09 Thread Leland Wallace
I'm working on getting net-snmp 5.4.1 building 4 way fat on Mac OS X 10.5.x. I was having problems with missing symbols, ssize_t for example. I found the symbols in the set of headers, but noticed in the build output that configure stated they were not available. Digging deeper into the

notification sending from inside agent

2008-04-09 Thread Suyash Pratap Singh
Hi I compiled snmpd version 5.4.1 with -with-mid-modules=examples/notification option. Now this compiles fine and snmptrapd receives the coldstart trap from snmpd when I run it. However there are no other traps generated by snmpd. Kindly help me out here

=?koi8-r?Q?net-snmp_5.4.1_on_AIX, _snmpget_HOST-RESOURCES-MIB=3A=3AhrStorageType_failed?=

2008-04-09 Thread Alex Mikh
Hello all. Daemon net-snmp 5.4.1 crashed while trying obtain information about filesystem (HOST-RESOURCES-MIB::hrStorageType). Input data : - oslevel -r 5300-07 - Native compiler IBM(R) XL C/C++ Enterprise Edition V8.0 for AIX(R) export CC=/usr/vac/bin/cc_r snmpd has been configured

=?koi8-r?Q?Re[2]=3A_net-snmp_5.4.1_on_AIX, __snmpget_HOST-RESOURCES-MIB=3A=3AhrStorageType_failed?=

2008-04-09 Thread Alex Mikh
Hello Thomas. 1. Crashed daemon doesn't produce any core file. find / -name 'core.*' /usr/include/core.h /usr/include/sys/core.h /usr/share/man/info/EN_US/a_doc_lib/files/aixfiles/core.htm /usr/java14/jre/lib/core.jar /usr/idebug/jre/lib/core.jar /usr/xlhelp/eclipse/jre/lib/core.jar

send_enterprise_trap_vars

2008-04-09 Thread Isaac Eliassi
Hi, At the function void send_enterprise_trap_vars (int trap, int specific, oid *enterprise, int enterprise_length, netsnmp_variable_list *vars) what does the oid *enterprise should contain? Best regards, Isaac Eliassi -

Re: =?koi8-r?Q?net-snmp_5.4.1_on_AIX, _snmpget_HOST-RESOURCES-MIB=3A=3AhrStorageType_failed?=

2008-04-09 Thread Thomas Anders
Alex Mikh wrote: Daemon net-snmp 5.4.1 crashed while trying obtain information about filesystem (HOST-RESOURCES-MIB::hrStorageType). Could you provide a backtrace, please? See http://www.net-snmp.org/wiki/index.php/Debugger#Getting_a_backtrace_.28aka_stack_trace.29 for details. +Thomas

Re: send_enterprise_trap_vars

2008-04-09 Thread Dave Shield
On 09/04/2008, Isaac Eliassi [EMAIL PROTECTED] wrote: At the function void send_enterprise_trap_vars (int trap, int specific, oid *enterprise, int enterprise_length, netsnmp_variable_list *vars) what does the oid *enterprise should contain? The enterprise OID of the trap that you are

sizeof(oid) and 32/64 bit issues

2008-04-09 Thread Alex Bennee
Hi, I'm currently doing some work porting some of our apps to a 64 bit platform. Having run into some crashes I started using valgrind and found some interesting issues. Our app uses both net-snmp and libsmi to do various things with MIB's. Internally we use net-snmp's oid type to define oids.

mib2c mfd generated code gives compile errors ( is this a problem with my mib file)

2008-04-09 Thread Johns Victor
Hi All, I am trying to extend the net-snmp agent v5.4.1 of net-snmp using the mib2c.mfd.conf file and have run into some problems. I was wondering if anyone might be able to help me out. The mib file I am trying to implement is a simple table based mib with a scalar index ( I must also say

On debug output

2008-04-09 Thread Magnus Fromreide
I am currently making over the debug module and have found a few odd corners where some more clarification could be helpful. Currently debug_is_token_registered only checks if there exist an enabled debug region that is a prefix of token. I would like to modify the check to be if the longest