Open xx-zhang opened 5 years ago
Well, running external program usually involves some complications:
But, on the other hand, running machine code on the bare metal is definitely much faster than running it on top of Python VM.
So it all depends on your use-case.
I have trid it like
snmpget/snmpwalk
and get the result string, then make it format by what I want in regex.I have a question: what is the condition when I should use pynmap? What's the advantage of
pysnmp
over runningsnmpwalk
in a subprocess?