HC-RMON

2006-02-21 Thread Dominique bastien
I try to implement the HC counters in the RMON code. But I'm not able to receive my 64 bits counter with my MIB browser. I need help, it seem that my return code is not correct. Here is the file that I try to debug but I'm not very fluent with the netSNMP code. If somebody can point me my mistake

RE: Returning NULL table_info

2006-02-21 Thread Fernández Piñas , David
Thank you for your quick response. I have a NET-SNMP agent with a table registered at OID .1.3.6.1.3.1.1.1.1.5 and the table entry defined at .1.3.6.1.3.1.1.1.1.5.1 When I perform an snmpgetnext .1.3.6.1.3.1.1.1.1.5.1 .1.3.6.1.3.1.1.1.1.5.2, the first request to netsnmp_extract_table_info(req

Re: Returning NULL table_info

2006-02-21 Thread Dave Shield
On Tue, 2006-02-21 at 12:14 +0100, Fernández Piñas, David wrote: > I have seen at table_iterator.c the next lines of code in > function netsnmp_table_iterator_helper_handler: > > table_info = netsnmp_extract_table_info(request); > if (table_info->colnum < tbl_info->min_column - 1) { > > Should

Re: hpux11 with net-snmp 5.3.0.1 compike fail

2006-02-21 Thread Dave Shield
On Mon, 2006-02-20 at 10:38 -0800, Wes Hardaker wrote: > I wonder if we should be actually not using >100 char path names Seconded. net-snmp-5.3.0.1/agent/mibgroup/ is 33 characters, so that would still leave us 60+ to play with. There's no real reason why we have to stick to the exact names of

Returning NULL table_info

2006-02-21 Thread Fernández Piñas , David
Hi, I am using NET-SNMP 5.1. I have seen at table_iterator.c the next lines of code in function netsnmp_table_iterator_helper_handler: table_info = netsnmp_extract_table_info(request); if (table_info->colnum < tbl_info->min_column - 1) { Should it be checked whether table_info is NULL before e

snmptrap application, Best practice

2006-02-21 Thread Christian Dahlqvist
Hi, I' would like to know what is the best practice in my case. I want to use snmptrap in a embedded system with limited memory to send trap/inform to a manager. Can I compile Net-SNMP's trap to be limited in file size? I have searched the lists but haven't seen any answer to my question, bu