Segmentation fault

2011-01-12 Thread Prakash
When I restarting my subagent I got this Program received signal SIGSEGV, Segmentation fault. 0x76681765 in netsnmp_oid_find_prefix () from /usr/lib64/libnetsnmp.so.15 What might be the cause? Regards, Prakash Raju logo A leader in technology driven business solutions --

Send snmptrap

2011-01-12 Thread Luis QuaggaSnmp
Hello. I have a PC with Net-SNMP and other program installed. I need the program send a TRAP when a specific function is runing. I know that I can build a "trap" in bash with "snmptrap" command, for example: snmptrap -c password localhost 1.2etc. There is a function in C/C++, it is called "sys

Re: SVN trunk multi-platform build errors

2011-01-12 Thread Niels Baggesen
Den 11-01-2011 17:21, Dave Shield skrev: > OK - I've now applied all of the patches where I > feel that I understand what they are doing. :-) > Niels, can you try the three *BSD environments again, > and let me know what does/doesn't work. > In particular, what currently fails under OpenBSD?

Re: table_iterator2?

2011-01-12 Thread Bart Van Assche
On Fri, Jan 7, 2011 at 6:44 PM, Wes Hardaker < [email protected]> wrote: > > On Thu, 6 Jan 2011 18:44:04 +0100, Bart Van Assche < > [email protected]> said: > > BVA> Having to set a flag before every call of > netsnmp_register_table_iterator() > BVA> is tedious and error-prone.

DTLSUDP: Past-end-of-buffer read in netsnmp_tdomain_dump()

2011-01-12 Thread Bart Van Assche
Hello, Since recently Valgrind complains about the DTLSUDP code in the trunk. Apparently the DTLSUDP code does not NULL-terminate the domain prefix list ? ==30454== Invalid read of size 8 ==30454==at 0x6274111: netsnmp_tdomain_init (snmp_transport.c:382) ==30454==by 0x6236153: _init_snmp

Re: SF.net SVN: net-snmp:[19855] trunk/net-snmp/agent/mibgroup/ notification-log-mib

2011-01-12 Thread Bart Van Assche
On Wed, Jan 12, 2011 at 4:03 PM, wrote: > Revision: 19855 > http://net-snmp.svn.sourceforge.net/net-snmp/?rev=19855&view=rev > Author: rstory > Date: 2011-01-12 15:03:11 + (Wed, 12 Jan 2011) > > Log Message: > --- > CHANGES: snmp: patch: 3096725: sysORTable registation

Re: configure in 5-4-patches?

2011-01-12 Thread Robert Story
On Wed, 12 Jan 2011 08:55:53 -0500 Robert wrote: RS> Anyone else having issues in 5-4-patches? RS> RS> configure: creating ./config.status RS> ./config.status: line 1511: warning: here-document at line 502 delimited by end-of-file (wanted `\CEOF') RS> ./config.status: line 1512: syntax error: une

configure in 5-4-patches?

2011-01-12 Thread Robert Story
Anyone else having issues in 5-4-patches? configure: creating ./config.status ./config.status: line 1511: warning: here-document at line 502 delimited by end-of-file (wanted `\CEOF') ./config.status: line 1512: syntax error: unexpected end of file THe fix is easy: diff v5-4-patches/configure.or

Re: API function to extract integer from netsnmp_request_info ?

2011-01-12 Thread Abraham Varricatt
> > "varbinds" are the fundamental mechanism for passing management information > between client apps and an SNMP manager. See any SNMP book or primer for > more information. > I've got William Stallings "SNMP, SNMPv2, SNMPv3 and RMON 1 and 2" with me. >From the index, the closest thing I can fi

Re: API function to extract integer from netsnmp_request_info ?

2011-01-12 Thread Dave Shield
On 12 January 2011 06:07, Abraham Varricatt wrote: > what are varbind structures? "varbinds" are the fundamental mechanism for passing management information between client apps and an SNMP manager. See any SNMP book or primer for more information. The Net-SNMP varbind structure is simply our

Net-SNMP and NAgios

2011-01-12 Thread Glenn Bilocca
Hi everyone, I have installed nagios and furthermore I found this great utility net-snmp. My only problem is how to combine the net-snmp in nagios therefore to be shown in the browser. Thanks and Regards Glenn --