Configuring the Trap Function on the iBMC WebUI
Operation Scenario
Enable the trap function on iBMC WebUI.
of theThe trap function enables the iBMC to send alarm information, event information, and trap properties to a third-party server through trap messages.
Prerequisites
Data
- SNMP trap version
- Host identifier (such as Board Serial Number, Product Asset Tag, or Host Name) used to identify the source of the message
- SNMP trap community name
- Address of the server receiving trap messages
Procedure
- Log in to the iBMC WebUI. For details, see .
- Choose Alarm & SEL > Alarm Settings.
- Select the Trap Notification tab page and enable trap.
- Set trap parameters and click Save.
Set the following parameters:
- Trap Version: Select an SNMP trap version. SNMPv3 is recommended. Exercise caution when using SNMPv1 and SNMPv2c, because they pose security risks.
Default value: SNMPv1
SNMPv1 and SNMPv2c have security risks due to their own mechanisms. You are advised to use SNMPv3 trap.
- (Optional) Choose Trap SNMPv3 User: Set this parameter only when Trap Version is SNMPv3.
- Trap Mode: Set the mode for reporting trap information.
- Select Precise Alarm (recommended) to use the SNMP node OID that is in one-to-one mapping with the event to identify a trap event. Compared with OID and Event Code, this mode provides more accurate information.
- Select OID to use the object identifier of the SNMP node to identify a trap event.
- Select Event Code to use the event code to identify a trap event.
- Trap Server Identity: Set the source host of the trap message. The source host can be identified by Board Serial Number, Product Asset Tag, or Host Name.
- Community Name and Confirm Community Name: Set the community name only when Trap Version is set to SNMPv1 or SNMPv2c. The community name is used for trap authentication if SNMPv1 or SNMPv2c is used. Community Name and Confirm Community Name must be the same.
- Include Alarm Severities: Select the severities of alarms to be reported through trap messages.
- Trap Version: Select an SNMP trap version. SNMPv3 is recommended. Exercise caution when using SNMPv1 and SNMPv2c, because they pose security risks.
- Set the severity levels of the alarms to be reported through trap messages.
- Configure the trap server and message format.
A maximum of four channels can be specified to send alarms.
- In the Trap Server and Message Format area, click Edit under the Operation column of a channel.
- Enable the channel for sending the trap messages.
- In the Trap Server Address text box, enter an IPv4 or IPv6 address for the server that receives the trap messages.
- In the Trap Port text box, enter the port number for receiving trap messages.
The default port number is 162.
- On the right of Packet Delimiter, select the delimiter used to separate the key words in trap messages.
- In Select Message Content, select the content to be included in trap messages.
The content includes time, sensor name, severity, event code, and event description.
- Select Display Keyword in Message to display the keywords in trap messages. Deselect this check box if you do not want to display the keywords in trap messages.
- Click Save.
If "Operation successful" is displayed, the configuration is saved successfully.
- Click Test to check whether the trap channel is available.
If "Operation successful" is displayed, the trap channel is available.