python - Query by snimpy's Session takes too much time -


i use snimpy library query oid.

this query execution time takes ~15sec's:

from snimpy.snmp import session  s = session(host, "83l80n3") oid, host_cpu = s.get((1, 3, 6, 1, 4, 1, 9, 9, 109, 1, 1, 1, 1, 5, 1))[0] 

but system snmpget executes immediately.

question

did missed something?

set "localhost" explicitly.

s = session("localhost", "83l80n3") 

Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -