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
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to