❦ 17 mai 2017 12:43 +0300, Timo Juhani Lindfors <timo.lindf...@iki.fi> :
>> Drop the .0 at the end and it should work. When snmpwalk get an >> "out-of-range" response, it retries with a GET request (instead of >> GETNEXT) and gets your answer. That's something pysnmpwalk is not >> doing. So, you need to ensure that you don't provide an exact OID. > > Thanks for the fast response! Unfortunately that seems to behave in a > similar way: > > $ pysnmpwalk -c public -v 2c demo.snmplabs.com iso.3.6.1.2.1.1.1 > Error: No SNMP response received before timeout > > > snmpget seems to do this as well: > > snmpget -c public -v 2c demo.snmplabs.com iso.3.6.1.2.1.1.1.0 [...] I'll need to investigate more, but this is definitely not expected. In the meantime, you can programatically uses this: http://pysnmp.sourceforge.net/docs/hlapi/asyncore/sync/manager/cmdgen/getcmd.html Just tested, it works. -- question = ( to ) ? be : ! be; -- Wm. Shakespeare
signature.asc
Description: PGP signature