Send SNMP Trap
This block sends an SNMP trap notification to a manager.
Configuration
- Destination IP: address of the SNMP manager to notify.
- Port: UDP port of the manager. The standard trap port is
162. - Community: community string sent with the trap. Defaults to
public. - Trap OID: the notification OID identifying the trap type, for example
1.3.6.1.4.1.0.0.1. - MIB Object (varbind): optional MIB object to include in the trap as a variable binding.
Traps let the device notify a manager as soon as something happens, instead of waiting to be polled. A typical pattern is to write the new reading with Set SNMP Object Value and then send a trap carrying that object as the varbind.
See also Set SNMP Object Value, On SNMP Object Set