BMC_SNMPTRAP.pl is a Perl script that uses the SNMP.pm Perl module to send an SNMP trap to a specific destination. With BMC_SNMPTRAP.pl, unlike with qpasatraps.pl, there is no table of events to maintain in the script and there is no need to change the MIB if a new event type is created.
BMC_SNMPTRAP.pl is overwritten during upgrades and should be part of the regular backup routine.
To configure BMC_SNMPTRAP.pl
Find and open the BMC_SNMPTRAP.pl script. This script must be on the same computer as the TMTM Event Service.
Configure the BMC_SNMPTRAP.pl script for the environment. Set the host name and port number in the script. See sample below where MySNMPServer is the host name. Port 162 is used for the trap. To send to multiple SNMP receivers, simply duplicate the line and amend as necessary.
@consoles = qw ( MySNMPServer,162 );
Copy the SNMP.pm module from the SNMP folder to your Perl installation. The standard location is the lib/net folder.