Create-DataSet Table Index Error

2005-07-15 Thread W Raul S
Hello, Using net-snmp 5.2.1-12 ( redhat release 12 for fc3 ), I've found that a create-dataset table ( created and updated through the dataset methods ) returns the wrong index to a row if there is more than one row in the table. This was checked by adding several rows to a table, and then from

what is an interface? ipsec tunnels/VLANs

2005-07-15 Thread Robert Story
In certain situations the Linux kernel will give the same interface a different index number. The agent curently tries to correlate indexes to interface name, thus gets confused. To reproduce, pick an interface and figure out what kernel module it uses. Then : ifdown ethX; rmmod modX; modprobe mo

snmp_send with SNMP_GETBULK request

2005-07-15 Thread Haizhu Liu
I have this piece of code that does snmp_send and expects to get response asynchorously. req = snmp_pdu_create(SNMP_MSG_GETBULK); if(req) { snmp_add_null_var(req, someoid, someoid_len); if (!snmp_send(sess, req)) : failed sending the request " << endl; snmp_perror("snm

Re: Strange Error in log [netsnmp_assert index == tmp failed ]

2005-07-15 Thread Robert Story
On Fri, 15 Jul 2005 17:31:00 +0200 Emmanuel wrote: ED> I think it's normal for kernel to change it's own index when interfaces ED> reload, no? I don't know... it's certainly easier on the kernel. They could try an correlate new entries with past ones (eg using MAC address). But since they don't,

Re: Strange Error in log [netsnmp_assert index == tmp failed ]

2005-07-15 Thread Emmanuel Doguet
Robert Story wrote: On Fri, 01 Jul 2005 10:55:02 +0200 Emmanuel wrote: ED> I have a method for produce this error. ED> ED> I launch snmpd ... and I do a DHCP/Pump renew or a (ifdown eth0; rmmod ED> eepro100; modprob eepro100 ; ifup eth0 )... ED> ED> And after 30sec (or more), I have got : ED>

Re: Strange Error in log [netsnmp_assert index == tmp failed ]

2005-07-15 Thread Robert Story
On Fri, 01 Jul 2005 10:55:02 +0200 Emmanuel wrote: ED> I have a method for produce this error. ED> ED> I launch snmpd ... and I do a DHCP/Pump renew or a (ifdown eth0; rmmod ED> eepro100; modprob eepro100 ; ifup eth0 )... ED> ED> And after 30sec (or more), I have got : ED> ED> netsnmp_assert in

smux and net-snmp both are trying to use 199 port.

2005-07-15 Thread mahua dutta
Hi, I am facing one problem . I have already one smux peer agent. Master agent(magt) uses the 199 port. Net-snmp( version net-snmp-5.2.1) in linux also uses the 199 port . So it is mutually exclusive. I can run one of them. But I need to run both. I saw some help in this mailing list. The link is

Re: Extending the agent with MFD -> cache reload problem

2005-07-15 Thread Jon Neerup Lassen
Hi I tried to compile the module as a separate agentx subagent (which it should be in the final application) and my problem disappeared and i works fine now. :) I have another question: I'd like to control when the cache is flushed. If I set the following cache flags the cache will never be flu

Re: net-snmp-5.2.1 make fails in cygwin

2005-07-15 Thread aakansha rajvi
I am trying to configure net-snmp-5.2.1 in cygwin 1.5.18-1. But I am facing problem while installing snmp perl modules both if installed seperately or alone with net-snmp ./configure script. Initially I configured net-snmp by executing, './configure' During this following problem occured. "w

Re: Can't generate code for tables with mib2c

2005-07-15 Thread Jordan Janeiro Lopes da Silva
Robert, thanks a lot. It worked. It seems that the table name needs the suffix "Table". Best regards. Jordan Janeiro Telemídia - PUC-Rio -- Original Message --- From: Robert Story <[EMAIL PROTECTED]> To: "Jordan Janeiro Lopes da Silva" <[EMAIL PROTECTED]> Cc: net-snmp-coders@lis