[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ]
2011/3/18 William <wangwenz...@sgchip.com>: > > @snmptranslate -IR -Tp JS50::js50PMTable > Return: > +--js50PMTable(1) > | > +--js50PMEntry(1) > | Index: js50PM01, js50PM02 > | > +-- -RW- Integer32 js50PM01(1) > | Range: 1..65535 > +-- -RW- String js50PM02(2) > Textual Convention: DisplayString > Size: 0..255 > >> What happens if you run "snmpwalk" on the same OID? > @ snmpwalk -v2c -c private localhost JS50-MIB::js50PMTable > JS50-MIB::js50PMTable = No Such Object available on this agent at this OID OK - so there doesn't seem to be any content in this table. > @snmptable -v2c -c private localhost UCD-DLMOD-MIB::dlmodTable > > js50 /home/user1/tablemib/js50.so loaded This indicates that the module has been loaded successfully. >> What are the "snmpget" commands that you have tried,and what are the > results? > I tried the snmpget /snmpset in other MIB,using the example.c example.h. > Not in this mib. > But it works well. What rows have you set up in this js50PMTable? If there's nothing in the table, then neither "snmpwalk" and "snmptable" can be expected to return values that aren't there. The first thing would be to populate this table with some test data, and check whether you can query it successfully. That's what is done for the example tables, I believe. Dave ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users