Re: Advice on approach to coping with a table that potentially has thousands of rows

2006-01-09 Thread Robert Story
On Fri, 06 Jan 2006 14:01:29 -0500 Glenn wrote: GM> Unfortunately, the current way the GM> module stores the data is in an unsorted linked list. I've got a custom GM> command that lists just the address of record (my index value, its a GM> (usually) short value like [EMAIL PROTECTED]), but not

Re: Advice on approach to coping with a table that potentially has thousands of rows

2006-01-09 Thread Glenn McAllister
Robert Story wrote: On Fri, 06 Jan 2006 14:01:29 -0500 Glenn wrote: GM> I'm going to GM> go ahead and work with the MFD approach (populate the index before the GM> data) for now. Ok, if you are going with MFD, then you don't need to worry about trying to get the list sorted, the container w

Use ASN_PRIV_IMPLIED_OCTET_STR for string that is not the last object in the INDEX

2006-01-09 Thread Emi . Yanagi
Dear net-snmp-coders, I found a bug in parse_one_oid_index() in snmplib/mib.c, this function doesn't work when using ASN_PRIV_IMPLIED_OCTET_STR for MacAddress that is not the last object in the INDEX, for example, dot1qStaticMulticastAddress in dot1qStaticMulticastTable. Output of ASN_PRIV_IMPLI

RE: mib2c options --- I believe a pass through framework is nee ded.

2006-01-09 Thread sasson_shuki
Hi all, this is the third request for a pass through framework I am seeing in the last month. I had the same problem but choose to solve it in the 3rd way. Meaning that I look at the request indexes and fill in only the needed rows instead maintaining a list of all the available raws (a pass throug

Re: Master agent goes dead

2006-01-09 Thread Robert Story
On Mon, 9 Jan 2006 13:35:41 -0500 Robert wrote: RS> If you are using a 5.2 version, try the attached patch and see if it helps. Forgot to attach... here it is... -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting servic

Re: Master agent goes dead

2006-01-09 Thread Robert Story
On Mon, 9 Jan 2006 08:34:09 +0100 Grasic wrote: GI> Hello Dave, Hmppf. Despite the way that it sometimes appears, Dave is not the only person who helps out on this list. GI> > Have you tried 5.3? GI> GI> I have to admit that I did not [...] GI> GI> But now I'm thinking... First we started w

Re: Notification Filtering

2006-01-09 Thread Robert Story
On Mon, 09 Jan 2006 05:08:33 + Madhav wrote: MK> I would like to work on the notification filtering project MK> work. Can you send me some detailed info about the project? Have you tried net-snmp 5.3? It has notification filtering support. -- NOTE: messages sent directly to me, i

Re: mib2c options

2006-01-09 Thread Robert Story
On Sun, 8 Jan 2006 16:06:32 +0200 Michael wrote: MG> I would like to implement a mib table. MG> I want to save some memory, and I don't want to keep the table in memory MG> all the time. I want to fetch (from some other module) and retrieve the MG> needed information for the specific object when I

Re: easy on/off for linkUpDown trap?

2006-01-09 Thread Robert Story
On Sat, 7 Jan 2006 10:14:46 + Dave wrote: DS> > I was looking at linking the ifXTable ifLinkUpDownTrapEnabled object to DS> > the code that actually implements the monitoring ... DS> > I was wondering how easy/hard it would be for you to throw DS> > together a simple api to toggle th

Re: Some problems with interfaces.c

2006-01-09 Thread Robert Story
On Fri, 06 Jan 2006 18:00:50 + Dave wrote: DS> On Fri, 2006-01-06 at 12:38 -0500, Robert Story wrote: DS> > DS> Note that the 5.3 release has introduced a new implementation DS> > DS> of the ifTable. which does seem to DS> > DS> support this object [ifLastChanged]. (Though I'm not totally

rfc: handle platform specifics at runtime vs. compile time?

2006-01-09 Thread Thomas Anders
-Coders, in my current effort to fix the net-snmp 5.2.2/5.3 build/startup issues on IRIX I stumbled across something that I think needs general discussion. As outlined in bug 1388562 http://sf.net/support/tracker.php?aid=1388562 IRIX (32-bit) and IRIX64 (64-bit) kernels need different hand

Re: Configure snmptrapd for custom port

2006-01-09 Thread Dave Shield
On Mon, 2006-01-09 at 19:47 +0530, [EMAIL PROTECTED] wrote: > How to configure snmptrapd to receive traps besides 162 port? Run the command as snmptrapd or snmptrapd udp:localhost: > I tried by entering listening address in snmpd.conf, with > following information >

Need help with illogical "exec"-behaviour!

2006-01-09 Thread Thomas Kindermann/KRZN/DE
Hallo everybody! I've a problem with the „exec“-command on ucd- /net-snmp! I've added the following command to the snmpd.conf: exec .1.3.6.1.4.1.2021.50 cpuload /usr/share/snmp/cpu „cpu“ is a own C-program which calculates the cpu-load in percent for each cpu out the counters in /pro

Configure snmptrapd for custom port

2006-01-09 Thread kanakamahesh.anasuri
Title: Configure snmptrapd for custom port Dear All, How to configure snmptrapd to receive traps besides 162 port? I tried by entering listening address in snmpd.conf, with following information trap2sink localhost: And snmptrapd.conf with following information using rule: snmpTrapd

Re: Notification Filtering

2006-01-09 Thread Thomas Anders
Madhav kelkar wrote: I would like to work on the notification filtering project work. Can you send me some detailed info about the project? I have worked on this project before as my assisned tasks in one of the company. Now I would like to contribute the same to the n

Notification Filtering

2006-01-09 Thread Madhav kelkar
Hi All, I would like to work on the notification filtering project work. Can you send me some detailed info about the project? I have worked on this project before as my assisned tasks in one of the company. Now I would like to contribute the same to the net-snmp agent