Re: Help on net-snmp subagent -Crash

2010-10-17 Thread Sathish Chandrasekaran
r set operation.Any know issues or what is the proper place to put break point and debug this.Any suggestion to rootcause this issue ?         Regards, -Sathish       --- On Wed, 13/10/10, Wes Hardaker wrote: From: Wes Hardaker Subject: Re: Help on net-snmp subagent -Crash To: "Sathish Chan

Re: Help on net-snmp subagent -Crash

2010-10-13 Thread Wes Hardaker
You're almost certainly going to need to run it in a debugger... Some useful information on doing so can be found at: http://www.net-snmp.org/wiki/index.php/Debugger -- Wes Hardaker Please mail all replies to [email protected] -

Re: SNMP Subagent crash

2007-01-22 Thread Robert Story
On Thu, 11 Jan 2007 13:07:13 -0800 (PST) Venkata wrote: VG> The Other subagent (trapman) is doing only sending traps. VG> I am calling agent_check_and_process() ... in one thread ... VG> The other thread will receive IPC messages and will be sending traps. Haven't you been paying attention? Net-

Re: SNMP Subagent crash

2007-01-19 Thread Alef Veld
Hi, I'm kind of interested in benchmarking figures on how async performs against normal synced sends, preferably with a large batch of hosts. Anyone have these figures ? For example, how fast does async send handle a batch of say, 500 hosts ? Kind regards, -Alef On Jan 19, 2007, at 10:05 AM, D

Re: SNMP Subagent crash

2007-01-19 Thread Dave Shield
On 18/01/07, Venkata Guddeti <[EMAIL PROTECTED]> wrote: > How can I make net-snmp to use asynchronous send, rather than send > (synchronous). Please see http://www.net-snmp.org/tutorial/tutorial-5/toolkit/asyncapp/index.html Dave --

Re: SNMP Subagent crash

2007-01-18 Thread Venkata Guddeti
Dear All How can I make net-snmp to use asynchronous send, rather than send (synchronous). Thanks Reddy Robert Story <[EMAIL PROTECTED]> wrote: On Fri, 12 Jan 2007 10:33:26 -0800 (PST) Venkata wrote: VG> In the process that sends traps, I have no threads now. VG> First I created connection wi

Re: SNMP Subagent crash

2007-01-16 Thread Robert Story
On Fri, 12 Jan 2007 10:33:26 -0800 (PST) Venkata wrote: VG> In the process that sends traps, I have no threads now. VG> First I created connection with the master agent and registered for no MIB variables. (I am not calling the agent_check_and_process() any more). VG> When there is a large volu

Re: SNMP Subagent crash

2007-01-15 Thread Venkata Guddeti
Dear All I have created two subagent processes one to handle get/sets and another to send traps. In the process that sends traps, I have no threads now. First I created connection with the master agent and registered for no MIB variables. (I am not calling the agent_check_and_process() any m

Re: SNMP Subagent crash

2007-01-15 Thread Venkata Guddeti
Dear All I am running net-snmp 5.4 on 64 bit RHEL 4.0. I have split my subagent in to two subagents (netman and trapman) now. One subagebt (netman) is just doing Get/Set operations. The Other subagent (trapman) is doing only sending traps. I did not register for any get/set variables in

Re: SNMP Subagent crash

2007-01-07 Thread Dave Shield
On 05/01/07, Venkata Guddeti <[EMAIL PROTECTED]> wrote: > 1. Could any one please let me know how can I create two subagent processes. > a. What configuration changes are needed in the snmpd.conf to add two > subagents None. > (right now I have a line 'master agentx' for one subagent) No. Yo

Re: SNMP Subagent crash

2007-01-07 Thread Dave Shield
On 04/01/07, Venkata Guddeti <[EMAIL PROTECTED]> wrote: > 1. Can I create two subagent processes on the same machine. One for > processing get/set and the other for sending the traps. That is likely to be the safest approach. As explained in README.thread, the agent code is not thread-safe, s

Re: SNMP Subagent crash

2007-01-07 Thread Venkata Guddeti
Dear All I am really sorry to dump so many emails to you guys. I was reading the faqs on multi-threading, it says that there can be multiple agentx agents. 1. Could any one please let me know how can I create two subagent processes. a. What configuration changes are needed in the snmpd.conf (rig

Re: SNMP Subagent crash

2007-01-07 Thread Venkata Guddeti
Dear All I have not really understood how to do thread safe programming in this case. I have read the README.thread, but it is not very clear what do I need to do in which thread. I have main thread sending traps based on messages received from the other application and the other thread handles S

Re: SNMP Subagent crash

2007-01-07 Thread Venkata Guddeti
Dear All I have been all day today trying to avoid crash in the my snmp sub agent while sending a trap. As I have explained in my earlier mail, when there are tonnes of traps ( I do agree that this should not be the case, but this can happen based on some wroing input data in another process whi

Re: SNMP Subagent crash

2007-01-07 Thread Venkata Guddeti
Dear Robert, Dave, Thomas and Other Coders, I really appreciate the help you all have provided so far. My repsonse to Mr. Robert Story's email is as follows: 1. I have not tried the subagent running on the 32 bit system. 2. I have read the README.thread and implemented as per the example given the

Re: SNMP Subagent crash

2007-01-03 Thread Robert Story
On Tue, 2 Jan 2007 07:55:27 -0800 (PST) Venkata wrote: VG> I am running net-snmp 5.4 on RHEL 4.0 64 bit OS. I have been seeing the subagent crashing sometimes while sending traps. Have you tested on RHEL 32 bit? Does it crash as well? VG> #11 0x00406142 in HandleNormalMsgThread () at n

SNMP Subagent crash

2007-01-02 Thread Venkata Guddeti
Dear All Happy new year to all of you. I am running net-snmp 5.4 on RHEL 4.0 64 bit OS. I have been seeing the subagent crashing sometimes while sending traps. The stack trace is as follows: (Please let me know if you any questions in understaning the problem) -- #0 0x00

Net-SNMP Subagent crash in sending a trap

2006-11-07 Thread Venkata Guddeti
Hi All I am running subagent on a 64 bit Linux OS (RHEL 4). While sending an snmp trap using the code generated by mib2c (with option notify), my subagent crashes. This does not happen all the time, it happens once in while (during over night testing). The trap actually comes as a message to subage