SNMP Adapter
The SNMP Adapter is used to create and send custom-defined traps to an SNMP manager.
A trap is a message indicating that an event has occurred on the host running the network resource.
The generic term SNMP manager is used in this documentation when referencing SNMP-enabled network management software.
A typical use scenario is a data-sensitive trigger or a particular condition that occurs during a map execution. For example, using conditional logic and the PUT function in a map, a trap is sent when a datum exceeds a specified value.
The SNMP Adapter can be used only in an output card or PUT function (data target). For example,
=IF (Price:InputSream > 1000000,
PUT("SNMP","-T", "Threshold exceeded (" +
TEXT(Price:InputSream) + ")", NONE)
A trap community must be defined in the dtx.acl file that specifies which IP address or domains are to receive trap notifications. The trap community identifies the community and hosts that can receive the traps. You can specify an IP address that is in IPv4 (for example, 1.2.3.4) or IPv6 (for example, a:b:c:d:0:1:2:3) format.
IPv4 format example:
trap = { { trap-community = mycommunity
hosts = 192.168.100.1,147.137.16.1
IPv6 format example:
trap = { { trap-community = mycommunity
hosts = 1080:0:0:0:8:700:200C:417A, 1081:0:0:0:8:800:200C:418B