On Tue, 17 Apr 2012 09:39:50 -0700 (PDT) Dominique wrote:
DB> You need to check in dot3StatsTable_interface.c
DB>
DB> There is no element for id = 12 you need to clean the code to go from 11
DB> to 13.
DB>
DB> /*
DB>
dot3StatsCarrierSenseErrors(11)/COUNTER/ASN_COUNTER/u_long(u_long)//l/A/w/e/r/d/h
DB> */ case COLUMN_DOT3STATSCARRIERSENSEERRORS: var->val_len = sizeof(u_long);
DB> var->type = ASN_COUNTER;
DB> rc = dot3StatsCarrierSenseErrors_get(rowreq_ctx, (u_long *)var->val.string
DB> ); break;
DB>
DB> /*
DB> dot3StatsFrameTooLongs(13)/COUNTER/ASN_COUNTER/u_long(u_long)//l/A/w/e/r/d/h
DB> */ case COLUMN_DOT3STATSFRAMETOOLONGS: var->val_len = sizeof(u_long);
DB> var->type = ASN_COUNTER;
DB> rc = dot3StatsFrameTooLongs_get(rowreq_ctx, (u_long *)var->val.string );
DB> break;
Hmm.. That should be done by setting up the valid colums in the init
function... There is an example of that here:
http://www.net-snmp.org/wiki/index.php/MFD:ifTable:Data_Access#Data_init
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders