[Agent Design] Unknown Error when testing the entPhysicalTable in ENTITY MIB

GAN QUAN A <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <E7F847E1C0872A41B28307C4B4E8E565372D2A75@CNSHJMBX04.ad4.ad.alcatel.com>
Dear all,

Thanks for your attention.

I wrote some code to deploy the entPhysicalTable of ENTITY MIB, and passed the compilation.

But when testing it with snmptable command, no response is received and I see the following error in snmpd trace:

======
2015-03-18 19:13:48 snmp_build: unknown failure
2015-03-18 19:13:48 trace: _sess_async_send(): snmp_api.c, 4925:
2015-03-18 19:13:48 sess_async_send: encoding failure
2015-03-18 19:13:48 send response: Error building ASN.1 representation (build objid: bad first subidentifier)
2015-03-18 19:13:48     -- ENTITY-MIB::entPhysicalDescr.1
2015-03-18 19:13:48     -- ENTITY-MIB::entPhysicalVendorType.1
2015-03-18 19:13:48     -- ENTITY-MIB::entPhysicalContainedIn.1
2015-03-18 19:13:48     -- ENTITY-MIB::entPhysicalClass.1
2015-03-18 19:13:48     -- ENTITY-MIB::entPhysicalParentRelPos.1
2015-03-18 19:13:48     -- ENTITY-MIB::entPhysicalName.1
2015-03-18 19:13:48     -- ENTITY-MIB::entPhysicalHardwareRev.1
2015-03-18 19:13:48     -- ENTITY-MIB::entPhysicalFirmwareRev.1
2015-03-18 19:13:48     -- ENTITY-MIB::entPhysicalSoftwareRev.1
2015-03-18 19:13:48     -- ENTITY-MIB::entPhysicalSerialNum.1
======

Details are in attachment.

I've no idea after investigating the issue for a week, and tries to get help from you.


Looking forward to your kind feedback.


Kind Regards!

Gan Quan

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/

_______________________________________________
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
entPhysicalTable_c_h.zip (application/x-zip-compressed, 4.5 KB) - not displayed
log4.zip (application/x-zip-compressed, 54.2 KB) - not displayed
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.