Configuration guides for IT Administrators

SNMP vs Trap

SNMPTrap
Pull Model:
Monitoring System (e.g. Manage Engine OpManager) sends SNMP request to the SNMP agent running on the monitored device (e.g. Cisco Switch) and receives the response.
Push Model:
SNMP agent running on the monitored device sends messages in the form of traps to the trap destination.
Communication happens both ways. UDP port 161 is used.One way communication from device to trap destination. UDP port 162 is used.
SNMP requests can be scheduled on specific intervals.Traps are spontaneous. They will reach the destination as soon as they are generated.
SNMP community string is mandatory to get a SNMP response.Community string is not mandatory to receive the trap message.
Categories: ,

Leave a Reply

Your email address will not be published. Required fields are marked *

Lucas Brey

I’m Lucas Brey, a travel blogger sharing practical guides, hidden gems, and honest tips from the road. Follow along for smart itineraries, great food finds, and stories worth bookmarking.

Tags