Clone this Repo
Make sure you have python and pysnmp installed
pip install pysnmp
Change TrapAgentAddress='127.0.0.1'; to you server address or leave as local host if testing locally
Change Port=162; to you server's listening port
RUN
python SNMPTrapReceiver.py
-> or for background execution: RUN nohup
python SNMPTrapReceiver.py &