question about sub-agent registration

"Lin, Zihui" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi there,

I cant reistrate my sub-agent (for a table).

I used the MFD configuration to generate the C code for sub-agent,
and all options were default during the code generation
>env MIBS="+JEMA-UPS-MIB" mib2c -c mib2c.mfd.conf jemaUpsInputTable

after a few modification on auto-generated code (in fact, I just
modified jemaUpsInputTable_container_load),
I got the sub-agent compiled, and loaded:
dlmod jemaUpsInputTable /home/zihui/app/agent/test/jemaUpsInputTable.so

and then run snmpd in debug mode, log:
register_mib: registering "jemaUpsInputTable" at
SNMPv2-SMI::enterprises.4550.1.1.3.3 with context "(null)"

but when I sent the request:
>snmptable -c public -v 2c localhost 1.3.6.1.4.1.4550.1.1.3.3.1
Was that a table? SNMPv2-SMI::enterprises.4550.1.1.3.3.1
>snmptable -c public -v 2c localhost SNMPv2-SMI::enterprises.4550.1.1.3.3
Was that a table? SNMPv2-SMI::enterprises.4550.1.1.3.3.1
>snmpgetnext -c public -v 2c localhost SNMPv2-SMI::enterprises.4550.1.1.3.3
NET-SNMP-AGENT-MIB::nsModuleName."".1.0.0 = STRING:

Please be kind and give me a suggestion.
Thanks in advance!

-- 
Best regards,
Zihui

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.