The format of the Map parameter is:

 Map:  {
    <value_a>= <string>
    <value_b>= <string>
    <value_c>= <string>
    <value_d>= <string>

The following example shows how the Map parameter could be used to substitute text for two different varbind values:

 ClassName:    Host
 InstanceName:    $SYS$
 EventName:    Coldstart
 Severity:    5
 EventText:    Reason - $V1$
 Expiration:    30
 State:    NOTIFY
 UserDefined1:    Community String: $C$
 ClearOnAcknowledge:    TRUE
 Map:    {
      1= UP
      2= DOWN
 EventType:    DURABLE
 UnknownAgent:    CREATE
 ElementClass:    Router
 ElementInstance:    $SYS$
 LogFile:    Coldstart.log

In the example, the Map parameter describes how the enumeration values of the first varbind translate into printable strings. These printable strings are substituted as values in EventText. If a SNMP trap had a value of one for its first varbind, the phrase “Reason - UP” would be placed in EventText.

If a map is not defined for a specific varbind, the SNMP Trap Adapter uses the varbind’s integer value. In the example, the integer “1” would be used instead of the text “UP,” so the phrase “Reason -1” would be placed in EventText.


For a trap to clear, the InstanceName and ElementInstance parameters must be set to the same type.