Which is the more resource-friendly way to collect SNMP traps from a Cisco router via python:
- I could use a manager on a PC running a server, where the Cisco SNMP traps are sent to in case one occurs
- I could use an agent to send a GET/GETBULK request every x timeframe to check if any new traps have occurred
I am looking for a way to run the script so that it uses the least resources as possible. Not many traps will occur so the communication will be low mostly, but as soon as one does occur, the PC should know immediately.