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
Post a Comment