Trap configuration only accepts traps from IPs of monitored devices in SMARTS
search cancel

Trap configuration only accepts traps from IPs of monitored devices in SMARTS

book

Article ID: 327677

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

  • Trap adapter not generating events in OI, not all traps received appear in Open Integration server.
  • Traps events are not received in the SAM console.

Environment

Smarts - 10.1.x

Cause

The trap_mgr.conf file is configured by default to ignore any trap that is received from an IP address which is not currently known by the Smarts Availability server.

Resolution

In the trap_mgr.conf file change the UnknownAgent:  IGNORE parameter under the BEGIN_Defaults section or under the specific trap entries to accept traps from all devices regardless of whether it is monitored by the Smarts Availability server.
Change the parameter to UnknownAgent:  CREATE.
Example:
BEGIN_DEFAULTS
        ClassName:      SNMPTrap
        InstanceName:   $SYS$
        EventName:      $E$ $N$ $S$
        Severity:       2
        EventText:      Varbinds: $V*$
        Expiration:     7200
        State:          NOTIFY
        InMaintenance:  FALSE
        ClearOnAcknowledge:     TRUE
        EventType:      MOMENTARY
        SysNameOrAddr:  $A$
        UnknownAgent:   IGNORE
to
        UnknownAgent:   CREATE
        LogFile:        NONE
END_DEFAULTS

Save the file and restart TRAP service.