Re: snmpd eats up memory

2008-12-10 Thread koteswararao kelam
Hi Thomas With 5.3.0.1, daemon consumes memory consistently when it is sending traps to different destinations at faster rate. Within 1 hour it consumes 10MB. I tried 5.4.2.1. This also consumes memory but at slower rate when it is sending traps to different destinations(nearly 10). I found two p

Re: MIB with undefined number of fields

2008-12-10 Thread Raúl Mellado
Thanks for your quick help, Wes! As to the MIB, it's clear. Referring the 2nd question, I would like to ask if there are any examples of recovering "dynamic" variables. So far, I'm basing my sub-agent in the net-snmp sub-agent example, but in its mib there is just a simple Integer n

Enterprise for generic traps

2008-12-10 Thread Eirik Nordbrøden
Hello Anyone that can point me to where I can read about what enterprise to use for generic traps (like cold/warm start link up/down etc.). I have seen agents using both enterprise specific values (as Net-SNMP does) and the 'SNMPv2-MIB::snmpTraps' value. What is correct and is there a differenc

Re: MIB with undefined number of fields

2008-12-10 Thread Wes Hardaker
> On Wed, 10 Dec 2008 12:53:15 +, "Raúl Mellado" <[EMAIL PROTECTED]> > said: RM> x.1 //struct_b RM> x.1.1 // 1st struct_a RM> x.1.1.1 // 1st field of 1struct_a RM> x.1.1.2 // 2nd field of 1struct_a RM> x.1.2 // 2nd struct_a RM> x.1.2.1 // 1st field of 2struct_a RM> x.1.2.2 // 2nd fiel

MIB with undefined number of fields

2008-12-10 Thread Raúl Mellado
Hello, I have several C structures stored in my server, something like this: typedef struct { blablabla; } struct_a; typedef struct { blablabla; struct_a* struct_list; (an array of struct_a) } struct_b; What I would like is to recover all struct_b from a GET request, th

Re: snmpd eats up memory

2008-12-10 Thread Thomas Anders
koteswararao kelam wrote: > I am using net-snmp release 5.3.0.1 daemon. And I am > doing snmp walk in a loop continuously. After 3 or 4 days it consumed > 3MB memory. Do I need to upgrade to latest version of snmpd to fix this > *memory leak*? If so which one? There's a good chanc

snmpd eats up memory

2008-12-10 Thread koteswararao kelam
Hi all I am using net-snmp release 5.3.0.1 daemon. And I am doing snmp walk in a loop continuously. After 3 or 4 days it consumed 3MB memory. Do I need to upgrade to latest version of snmpd to fix this *memory leak*? If so which one? Looking for positive response... Best Regards Koteswar