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

This is a discussion on RE: after short oid it is not possible to make call with longer o within the SNMP Coders forums, part of the Networking and Network Related category; That's odd. Can you post some example code? >question is related to net-snmp 5.2.1 on ...


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
Bruce Shaw
 
Posts: n/a
Default RE: after short oid it is not possible to make call with longer o

That's odd. Can you post some example code?

>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.


Have you tried this using command line?

Have you tried this on a different platform?




This communication is intended for the use of the recipient to which it is
addressed, and may contain confidential, personal and or privileged
information. Please contact us immediately if you are not the intended
recipient of this communication, and do not copy, distribute, or take action
relying on it. Any communication received in error, or subsequent reply,
should be deleted or destroyed.



-------------------------------------------------------
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:39 AM.


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