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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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®ards, 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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|