Possible snmp get memory leak?

2007-04-11 Thread Kun Niu
Dear coders, I'm sorry to trouble. I've successfully made my first snmp program on Win2000 platform with VS2003. It runs smoothly at the first two hours. But it suddenly dies after that. So I changed the snmpget source code so that it runs continuously for about 100,000,000 times. And I found tha

SNMP: TImeOut Problem

2007-04-11 Thread Peeyush Bishnoi
Hello All , I am Peeyush from CDAC Bangalore India. I have one query related to SNMP. I am working on Net-SNMP toolkit API's I have developed the small code in C using Net-SNMP API's for fetching the OID data from CISCO 3750 router . But each time when i run the code it is giving output "TimeO

Re: Question about error code during COMMIT stage of SNMP set operation

2007-04-11 Thread K R Venkateshan
Narayana Smaranas, Thanks a lot for your response. Narayana Smaranas, Venkatesha. --- Dave Shield <[EMAIL PROTECTED]> wrote: > On 09/04/07, K R Venkateshan > <[EMAIL PROTECTED]> wrote: > > If that be the case, is the way the SET operation > > works changed from UCD-SNMP to NET-SNMP > > impleme

Re: Net-SNMP 5.3 and 5.4 segfault on Fedora Core 6 under Xen when attempting SNMP GET on extend or exec item

2007-04-11 Thread Dave Shield
On 07/04/07, Max <[EMAIL PROTECTED]> wrote: The agent segfaults for snmpbulkwalk or snmpwalk of this OID tree using a base of .1.3.6.1.4.1.8072.1.3.2.4 .1.3.6.1.4.1.8072.1.3.2.4.1 .1.3.6.1.4.1.8072.1.3.2.4.1.2 .1.3.6.1.4.1.8072.1.3.2.4.1.2.1 Can you please try applying the enclosed patch. Does

Re: Problem in explicit call to run_alarams function from "trap sending subagent"

2007-04-11 Thread bhushan
Thanks for replying Sir, I have one more query, my trap sending subagent will not call "Net-SNMP 'receive()' routine as the event loop, or 'agent_check_and_process()' to handle incoming PDUs", it receive infomation from third process convert that infomation into snmp trap & send those to snmpd, i.e

Re: Problem in explicit call to run_alarams function from "trap sending subagent"

2007-04-11 Thread Dave Shield
On 11/04/07, bhushan <[EMAIL PROTECTED]> wrote: > In my application snmpd will stop at any point in time & start again so for > my subagent it is > difficult to know that snmpd stop for same time & started again That's already handled by the agentx subagent framework. See the directive 'agentXPing

Problem in explicit call to run_alarams function from "trap sending subagent"

2007-04-11 Thread bhushan
Hello Friends, Greetings. I am net-snmp 5.4 user, i have written code for subagent which send traps using agentx communication betw subagent & main agent i.e snmpd in my case. In my application snmpd will stop at any point in time & start again so for my subagent it is difficult to know that snmpd