Trap events are not being created in the Smarts Trap Adapter for a test trap
Smarts 10.1.X
If the IP address is not part of the existing topology, and the trap definition in trap_mgr.conf configuration file is missing the UnknownAgent, ElementClassName and ElementName values, then the traps may be discarded at the TA level.
Hence, it needs to be ensured that the said parameters are defined for trap instances which are not imported from the underlying domain topology.
Refer the following example of a coldStart trap:
sm_snmp -d <TA / TE IP Address> -p 162 trap <Sample IP Address on Test Trap> .1.3.6.1.4.9.10 0 10 0 .1.3.6.1.4.9.20 i 10
The trap definition in the trap_mgr.conf file (<BASEDIR>/sm_edit conf/icoi/trap_mgr.conf) should look like the following:
BEGIN_TRAP .1.3.6.4.1.9.10 0 10
ClassName: Host
InstanceName: $SYS$
EventName: coldStart
ElementClassName: Host
ElementName: $SYS$
Severity: 5
Expiration: 600
State: NOTIFY
UnknownAgent: CREATE
EventType: MOMENTARY
END_TRAP
Reference Documentations: