On Mon, 2006-02-20 at 19:18 +0530, [EMAIL PROTECTED] wrote: > I have MIB table defined having MacAddress datatype as index. > If i have to get particular column on that table, I have tried,
> snmpget -v2c -c motro 10.201.114.135 myColumn.192.211.111.114.114.114 > snmpget -v2c -c motro 10.201.114.135 myColumn.1.1.1.1.1.1 I would expect those two to have worked (assuming that there was a suitable entry defined). What is the exact definition of the MIB table? It's possible that you might need to include the length of the index string, i.e: snmpget -v2c -c motro 10.201.114.135 myColumn.6.192.211.111.114.114.114 snmpget -v2c -c motro 10.201.114.135 myColumn.6.1.1.1.1.1.1 though MacAddress is defined as a fixed-length type, so this shouldn't be necessary. Failing that, all I can suggest is that you put some debugging code into your table implementation, to report exactly what rows are being requested (and what rows are actually present). Dave ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
