User`s manual

MediaPack
SIP User's Manual 320 Document #: LTRT-65408
14.8.5.2 Configuring Trap Managers via the ini File
In the MediaPack ini file, the parameters below can be set to enable or disable the sending
of SNMP traps. Multiple trap destinations can be supported on the device by setting
multiple trap destinations in the ini file.
SNMPManagerTrapSendingEnable_<x>: indicates whether or not traps are to be
sent to the specified SNMP trap manager. A value of ‘1’ means that it is enabled, while
a value of ‘0’ means disabled. <x> represents a number 0, 1, 2 which is the array
element index. Currently, up to five SNMP trap managers can be supported.
SNMPManagerTrapUser_<x>: indicates to send an SNMPv2 trap using the trap user
community string configured with the SNMPTrapCommunityString parameter. The
user may instead specify an SNMPv3 user name
Figure 14-1 presents an example of entries in a device ini file regarding SNMP. The device
can be configured to send to multiple trap destinations. The lines in the file below are
commented out with the ‘;’ at the beginning of the line. All of the lines below are
commented out since the first line character is a semi-colon.
Figure 14-1: Example of Entries in a Device ini file Regarding SNMP
; SNMP trap destinations
; The board maintains a table of trap destinations containing 5 ;rows. The rows
are numbered 0..4. Each block of 4 items below ;apply to a row in the table.
; To configure one of the rows, uncomment all 4 lines in that ;block. Supply an
IP address and if necessary, change the port ;number.
; To delete a trap destination, set ISUSED to 0.
; -change these entries as needed
;SNMPManagerTableIP_0=
;SNMPManagerTrapPort_0=162
;SNMPManagerIsUsed_0=1
;SNMPManagerTrapSendingEnable_0=1
;
;SNMPManagerTableIP_1=
;SNMPManagerTrapPort_1=162
;SNMPManagerIsUsed_1=1
;SNMPManagerTrapSendingEnable_1=1
;
;SNMPManagerTableIP_2=
;SNMPManagerTrapPort_2=162
;SNMPManagerIsUsed_2=1
;SNMPManagerTrapSendingEnable_2=1
;
;SNMPManagerTableIP_3=
;SNMPManagerTrapPort_3=162
;SNMPManagerIsUsed_3=1
;SNMPManagerTrapSendingEnable_3=1
;
;SNMPManagerTableIP_4=
;SNMPManagerTrapPort_4=162
;SNMPManagerIsUsed_4=1
;SNMPManagerTrapSendingEnable_4=1
To configure the trap manger host name use the parameter
SNMPTrapManagerHostName. For example: SNMPTrapManagerHostName =
'myMananger.corp.MyCompany.com’.
Note: The same information configurable in the ini file can also be configured
via the acBoardMIB.