Reputation: 1804
I use pysnmp to send snmp traps from my python program to a destination windows machine.
I want to test that traps are really sent. How can I test it easily? Is there some sort of a free snmp manager software I should install on the destination windows machine?
How is the setup process? I'm guessing I should, at some point, load my MIB file in the snmp manager software. Are there other things to consider?
I tried to use "PowerSNMP" but couldn't figure it out.
Upvotes: 0
Views: 788
Reputation: 5555
You can probably try Net-SNMP's snmptrapd or script like this or just snoop with Wireshark to see what's going out to the network.
Alternatively, you can enable pysnmp debugging to see what's going inside your script and what it eventually sends to the network.
from pysnmp import debug
debug.setLogger(debug.Debug('all'))
Upvotes: 1