after short oid it is not possible to make call with longer oid

This is a discussion on after short oid it is not possible to make call with longer oid within the SNMP Coders forums, part of the Networking and Network Related category; dear All, question is related to net-snmp 5.2.1 on SunOS host 5.9 Generic_117171-17 sun4u sparc ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-17-2005
German Gumenyuk
 
Posts: n/a
Default after short oid it is not possible to make call with longer oid

dear All,

question is related to net-snmp 5.2.1 on
SunOS host 5.9 Generic_117171-17 sun4u sparc
SUNW,Ultra-5_10

i use snmp-api example available on website -
just to snmpget some data from cisco.

make 3 calls (one by one) in one programm for
different oids. "call" is done in the function that
makes
session init and at the end frees pdu/close session.

if oids were called in the next order order:
1 call: .1.3.6.1.4.1.9.9.43.1.1.3.0
2 call: .1.3.6.1.4.1.9.3.6.7.0
3 call: .1.3.6.1.2.1.1.1.0
it works ok - can get data for each call

if to call in this order:
1 call: .1.3.6.1.2.1.1.1.0
2 call: .1.3.6.1.4.1.9.3.6.7.0
3 call: .1.3.6.1.4.1.9.9.43.1.1.3.0

then 1st call is ok but 2nd and 3rd return error:
"No Such Object available on this agent at this OID"

if to call like this:
1 call: .1.3.6.1.4.1.9.9.43.1.1.3.0
2 call: .1.3.6.1.2.1.1.1.0
3 call: .1.3.6.1.4.1.9.3.6.7.0
then 1st and 2nd is ok but 3rd is failed.

the problem is somehow related to length of the
oid. After "short" oid it is not possible to
query data for "longer" oids.

i will appriciate answers in this matter.

thanks&regards,
German



__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:32 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0