Not able to set a column in ifTable.

2010-11-01 Thread Manjit
Hi All, I am working on a creation of a row in ifTable ( project specific requirement). Here i came across a function _mfd_ifTable_commit, in this function a certain part of code is repeated twice. if (rowreq_ctx->rowreq_flags & MFD_ROW_DIRTY) { /* * if we successfully commi

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 wrote: > On Mon, Nov 1, 2010 at 5:01 PM, Leonardo Chiquitto > wrote: >> >> On Mon, Nov 1, 2010 at 1:15 PM, Bart Van Assche >> wrote: >> > On Mon, Nov 1, 2010 at 2:13 PM, Leonardo Chiquitto >> > wrote: >> >> >> >> Hello developers, >> >> >> >> I'm

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 i

Re: net snmp - More than one network interfaces

2010-11-01 Thread Dave Shield
On 1 November 2010 15:47, Shibu George 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 from a remote machine. I

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 snm

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 wrote: > On Mon, Nov 1, 2010 at 1:15 PM, Bart Van Assche > wrote: > > On Mon, Nov 1, 2010 at 2:13 PM, Leonardo Chiquitto > > wrote: > >> > >> Hello developers, > >> > >> I'm getting the following crash every time the agent is stopped. This > >>

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 wrote: > On Mon, Nov 1, 2010 at 2:13 PM, Leonardo Chiquitto > 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 trun

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 < [email protected]> 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 ma

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 snmp_api.c

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

2010-11-01 Thread Dave Shield
On 31 October 2010 22:47, Chris King 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 do things the old-fashi

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 m