Hi,
I currently try tp implement the EtherLike MIB but I
had some difficulty due to unassigned values in the
table. I reponse yes to the following question from
mib2c.
<<Is your table sparse? A sparse table is a table
where some
columns might not exist for all rows. Note that if
your table
contains a RowStaus column and it supports
createAndWait, you
will need sparse table support.
1) No, all columns always exist for every row
[DEFAULT]
2) Yes, my table is sparse
>>
I also add code at the end of the data_access
(dot3StatsTable_container_load) fonction to set the
column_exists_flags.
rowreq_ctx->column_exists_flags =
COLUMN_DOT3STATSINDEX_FLAG |
COLUMN_DOT3STATSALIGNMENTERRORS_FLAG |
COLUMN_DOT3STATSFCSERRORS_FLAG |
COLUMN_DOT3STATSSINGLECOLLISIONFRAMES_FLAG |
COLUMN_DOT3STATSMULTIPLECOLLISIONFRAMES_FLAG |
COLUMN_DOT3STATSSQETESTERRORS_FLAG |
COLUMN_DOT3STATSDEFERREDTRANSMISSIONS_FLAG |
COLUMN_DOT3STATSLATECOLLISIONS_FLAG |
COLUMN_DOT3STATSEXCESSIVECOLLISIONS_FLAG |
COLUMN_DOT3STATSINTERNALMACTRANSMITERRORS_FLAG
|
COLUMN_DOT3STATSCARRIERSENSEERRORS_FLAG |
COLUMN_DOT3STATSFRAMETOOLONGS_FLAG |
COLUMN_DOT3STATSINTERNALMACRECEIVEERRORS_FLAG
|
COLUMN_DOT3STATSETHERCHIPSET_FLAG |
COLUMN_DOT3STATSSYMBOLERRORS_FLAG |
COLUMN_DOT3STATSDUPLEXSTATUS_FLAG |
COLUMN_DOT3STATSRATECONTROLABILITY_FLAG |
COLUMN_DOT3STATSRATECONTROLSTATUS_FLAG;
But when I try to display the table with a walk it
stop at the first hole (unassigned value 12 see
rfc3635).
Can anyone can explain to me what happen, if I missed
something in the code to add or it's a normal behavior
for the snmpwalk.
Thanks,
Dominique
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders