The Smarts SAM adapter trap_mgr.conf file should include the default rule settings before any TRAP Defintion. The default rule is mandatory and should include the default value for the UnknownAgent setting.
UnknownAgent values
The default value for UnknownAgent is "IGNORE" if a trap comes in from a source unknown to Smarts, the Smarts OI server will drop the trap, it will not send it to Smarts SAM. If you set the value to "CREATE", the Smarts OI server will create a local IP instance in its rps and use the ElementInstance name from the notification as the IP->HostedBy attribute.
Default rule example
The following is an example of the default rule:
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 (This is the default value)
LogFile: NONE
END_DEFAULTS