On Wed, 6 Feb 2008, Dave Shield wrote:
> I can confirm the same problem exists with both dmalloc 5.5.1 and dmalloc
> 5.4.3
> (running against both the current development code, and the 5.3.x line)
>
> I haven't had a chance to investigate further, but I suspect this may not
> necessarily be a rec
Hello all,
i'm using a multi-threaded application (spine, http://cacti.net/spine_info.php)
on Solaris 10 which uses libnetsnmp. Pretty often the application hangs,
which i traced back to a SEGV occuring in free_enums(). See below for the
gdb backtrace. I already updated net-snmp from 5.3.1 to 5.4.
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Shardul Kumar, Chennai
> Sent: Tuesday, February 05, 2008 9:38 PM
> Could any one tell me how to debug segmentation fault in net-SNMP.
You run a level 2 diagnostic.
Mike
(It always works for Capt. Picard...)
--
>
>
> > dhandler->contextName=strdup(pdu->contextName);
>
> The same holds true here.
>
Does that explain why my handler was never called? Because i never actually
registered it for that context but something else ?
-
This SF.
On 05/02/2008, Manfred Wassmann <[EMAIL PROTECTED]> wrote:
> trying to compile the net-snmp package with dmalloc support I get the
> following compiation error:
>
>In file included from snmp_client.c:89:
>/usr/include/dmalloc.h:484: error: expected identifier or '(' before
>'__extension
On 06/02/2008, Devvrat Tripathi <[EMAIL PROTECTED]> wrote:
> snmp_log(LOG_DEBUG,"received request directed to %s
> pdu->contextName.);
The "contextName" field is not necessarily a null-terminated string.
It will have "contextNameLen" valid characters, but y
I wanted to register my handler for incoming requests in case they have a
context. For that i put some code in the netsnmp_agent_check_parse (as
suggested by dave).
This is what i did
if(pdu->contextName)
{
snmp_log(LOG_DEBUG,"received request directed to %s
contextlen
OK
I rebuild a default agent from the same tar as my custom build. I did
not run make install.
I ran net-snmp-config to create a v3 user - the default snmpd build
works as expected. The user info was hashed in the
/var/net-snmp/snmpd.conf file.
It did add a new tag though called - setserialno.
I
Hi Dave,
When I run my subagent as ...
./simpleTable -f -L -DsimpleTable -M localhost:1161
Its running correctly , and I am getting the values from snmpget and
snmpwalk command.
My next strep will be AgentX configuration.
Thanks for your valuable help and its required in future also
T
Hi Dave and thanks for all your responses,
I din't know that this access control list can be done in
/usr/local/etc/snmp/snmpd.conf.
Is net-snmp default configuration always using this path for its
configuration?
I think I have all info i needed so far, thank you all for your responses
and hel
On 05/02/2008, Pranesh Kulkarni <[EMAIL PROTECTED]> wrote:
> So when I run the subagent,
> ./simpleTable -f -L
> Its saying
> Warning: Failed to connect to the agentx master agent ([NIL]):
> In my /usr/local/share/snmp , I have kept the line
> master agentx
Is that
On 06/02/2008, Shardul Kumar, Chennai <[EMAIL PROTECTED]> wrote:
> Could any one tell me how to debug segmentation fault in net-SNMP.
I presume this is a SegV within the SNMP agent?
The first thing is to determine exactly what triggers the fault.
Does it happen when you run a request, generate a
On 05/02/2008, Devvrat Tripathi <[EMAIL PROTECTED]> wrote:
> I was going through the netsnmp_variable_list structure and i found two
> elements called name and name_loc. I cannot understand what is the
> difference between them. Which one of them is the oid of that variable.
'name' is a pointer to
On 05/02/2008, Masoud Fatollahy <[EMAIL PROTECTED]> wrote:
> I have one more question about access control entries, is there any example
> code to show how it should done? if not? could you please give me some more
> explanation about this access list?
What exactly are you asking here?
The Acces
Thanks for the conformation.
I have one more question about access control entries, is there any example
code to show how it should done? if not? could you please give me some more
explanation about this access list?
Thanks,
/Masoud
-Original Message-
From: "Dave Shield" <[EMAIL PRO
15 matches
Mail list logo