Extending and debugging snmpd - Netbeans / Eclipse - MIBs

2010-11-01 Thread Chris King
Hi folks, I have added a new mib to the agent usng Visual Studio 2010. The agent works as expected and can easily be debugged using breakpoints etc with predictable results. I need to also build it for Linux - which I have done as follolws: - configure with my new mib modules make clean make

Re: Extending and debugging snmpd - Netbeans / Eclipse - MIBs

2010-11-01 Thread Dave Shield
On 31 October 2010 22:47, Chris King ch...@chriskingmusic.com wrote: What do the coders use to develop net-snmp A source tree, 'make' and a simple text editor. And sometimes gdb I can't speak for the others, but I personally don't tend to use IDEs for software development. I'm an old fogey, and

v5-6-patches: snmpd crashes on shutdown (double free?)

2010-11-01 Thread Leonardo Chiquitto
Hello developers, I'm getting the following crash every time the agent is stopped. This seems to happen only with code from the v5-6-patches branch, not with trunk. #0 __libc_free (mem=0x31) at malloc.c:3710 #1 0x7f1d41403b80 in snmp_free_var_internals (var=0x7f1d423fcac0) at

Re: v5-6-patches: snmpd crashes on shutdown (double free?)

2010-11-01 Thread Bart Van Assche
On Mon, Nov 1, 2010 at 2:13 PM, Leonardo Chiquitto leonardo.li...@gmail.com wrote: Hello developers, I'm getting the following crash every time the agent is stopped. This seems to happen only with code from the v5-6-patches branch, not with trunk. #0 __libc_free (mem=0x31) at

Re: v5-6-patches: snmpd crashes on shutdown (double free?)

2010-11-01 Thread Leonardo Chiquitto
On Mon, Nov 1, 2010 at 1:15 PM, Bart Van Assche bvanass...@acm.org wrote: On Mon, Nov 1, 2010 at 2:13 PM, Leonardo Chiquitto leonardo.li...@gmail.com wrote: Hello developers, I'm getting the following crash every time the agent is stopped. This seems to happen only with code from the

Re: v5-6-patches: snmpd crashes on shutdown (double free?)

2010-11-01 Thread Bart Van Assche
On Mon, Nov 1, 2010 at 5:01 PM, Leonardo Chiquitto leonardo.li...@gmail.com wrote: On Mon, Nov 1, 2010 at 1:15 PM, Bart Van Assche bvanass...@acm.org wrote: On Mon, Nov 1, 2010 at 2:13 PM, Leonardo Chiquitto leonardo.li...@gmail.com wrote: Hello developers, I'm getting the

net snmp - More than one network interfaces

2010-11-01 Thread Shibu George
Hi Friends, I am running net snmp agent in linux (ubuntu) installed machine. This machine has two network interfaces; only one is configured with valid IPAddress. I have properly configured the snmpd.conf file with access control and trap destination details. I am able to contact the

Re: net snmp - More than one network interfaces

2010-11-01 Thread Dave Shield
On 1 November 2010 15:47, Shibu George shibu.geo...@nestgroup.net wrote: I have properly configured the snmpd.conf file with access control and trap destination details. I am able to contact the snmp agent from machine itself (using the snmpget). But I was not able contact the snmp agent

Re: net snmp - More than one network interfaces

2010-11-01 Thread abhishek verma
Hi Shibu, I am not a expert in SNMP. But I have worked on some other transport and application protocols e.g. SIP/DNS/SCTP etc. In these protocols, I have seen this problem when 1. No route is available from Remote to your server machine. (Check your routing table) 2. IP address on your machine

Re: v5-6-patches: snmpd crashes on shutdown (double free?)

2010-11-01 Thread Leonardo Chiquitto
On Mon, Nov 1, 2010 at 2:24 PM, Bart Van Assche bvanass...@acm.org wrote: On Mon, Nov 1, 2010 at 5:01 PM, Leonardo Chiquitto leonardo.li...@gmail.com wrote: On Mon, Nov 1, 2010 at 1:15 PM, Bart Van Assche bvanass...@acm.org wrote: On Mon, Nov 1, 2010 at 2:13 PM, Leonardo Chiquitto