Re: need help for subagent develop /////// ioctl 35123 returned -1

2010-06-11 Thread Weiwei Zhang
yes, root it is. In the implementation, the subagent use container-cache mechanism. Data are put into containers using CONTAINER_INSERT() function call. It is at this point after this function call, where this message is returned. I think there might be some mistake in the inserted data. But not

Re: Memory leaks when sending traps

2010-06-11 Thread Robert Story
On Thu, 10 Jun 2010 10:56:27 -0700 (PDT) Sylvain wrote: SD> There is a memory leak of ~24 k in snmpd everytime I send snmp-v2 traps. SD> I'm using the 5.5 windows binary (net-snmp-5.5.0-2.x64.exe ) If that binary was configured with notification logging, then it could be that it's not leaking, but

Re: need help for subagent develop /////// ioctl 35123 returned -1

2010-06-11 Thread Robert Story
On Fri, 11 Jun 2010 14:51:58 +0800 Weiwei wrote: WZ> When I write my own subagent using MFD, i got error msg:* ioctl 35123 WZ> returned -1.* Is the subagent running as root? Have you tried setting a breakpoint where that message is logged, and seeing what the agent is trying to do? -

Re: No Such Object available

2010-06-11 Thread Robert Story
On Thu, 10 Jun 2010 12:34:46 +0530 Prakash wrote: P> After setting the indexes, how to get the table row by the index to update P> the values, is there any function? The ifTable/ifXTable in the source code updates it's data every 30 seconds or so. You could look at that code for an example. -

Re: No Such Object available

2010-06-11 Thread Wes Hardaker
> On Thu, 10 Jun 2010 12:34:46 +0530, "Prakash" > said: P> After setting the indexes, how to get the table row by the index to update P> the values, is there any function? P> Any sample code? It would be easier to understand what you're trying to do if you can post some of your code an

Re: SNMP under Mac OS X 10.5.8

2010-06-11 Thread Wes Hardaker
> On Thu, 10 Jun 2010 16:19:55 +0200, "Eberhard, Sven" > said: SE> I should rather ask whether it is possible, that SNMP impairs other SE> Prozesses, for example AFP on a Mac Server, so that the AFP-Prozess SE> or other Prozesses takes 100% CPU Usage? It shouldn't, no. -- Wes Hardaker