Let's see if I can help...

An index is NOT an object value, but it's used only to "index" a row
in the table.

You see a "?" because snmptable asks for the value of the index, but
the agent doesn't implement that object value (as it should be,
because the object is used as index).

Your agent is working fine, but snmptable not. There should be an
error in your MIB definition: the index objects must have

MAX-ACCESS not-accessible

(Compare all the other MIBS...)

In this way snmptable will not ask for the value of the indexes and
all the rules are respected:-)

If you find stupid hiding the indexes' values, the reason is that the
index is always encoded in the OIDs retrieved.
Fix the MIB and use snmptable -Ci : magically snmptable will extract the indexes and print them for you!



Am I right??

gn

Vicky-Minqun Liang wrote:
Hi,

When I use snmptable to retrieve the table I defined,
the Index field always show a "?" mark and the actual
values are not shown. Does anyone why?

Thanks,
VL




__________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail


------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users





------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to