Prerequisite
SNMP has been configured in third-party SNMP clients.
Procedure
In the left sidebar of the AOC Alert page, select Notification configuration. In the upper right corner of the page, click + Create notification configuration > Create SNMP trap configuration. The Create SNMP trap configuration dialog box is displayed.
Specify the following information based on the type of SNMP traps to be created accordingly.
Basic information
| Parameter | Description |
|---|---|
| Alert source | Select Cluster monitoring as the alert source for clusters that are not associated with an observability service. |
| Name | Specify the name of the SNMP trap configuration. |
| Version | Select the protocol version of the SNMP trap:
|
| Alert object | Select clusters as the alert object. But you cannot select clusters associated with observability service. |
Version configuration information
| Version | Parameter | Description |
|---|---|---|
| v2c | Protocol | Currently, only the UDP protocol is supported and cannot be modified. |
| Remote IP | The IP address of the SNMP trap receiver. | |
| Port | The port of the SNMP trap receiver. The default is 162. | |
| Community | The community name used to access the remote SNMP manager. | |
| v3 | Protocol | Currently, only the UDP protocol is supported and cannot be modified. |
| Remote IP | The IP address of the SNMP trap receiver. | |
| Port | The port of the SNMP trap receiver. The default is 162. | |
| Username | The username of the SNMP trap. | |
| Password | The password used for authentication. | |
| Authentication protocol | The protocol (MD5/SHA) used for encrypting the user password to ensure the security of user identities. | |
| Privacy protocol | The method (DES/AES) for encrypting SNMP messages. | |
| Private key | The key used for encryption. | |
| INFORM | Select whether to send INFORM notifications. The INFORM notification will be sent multiple times until the recipient sends a confirmation receipt. Therefore, this type of notification is more reliable than TRAP notifications, but it consumes more network resources. |
|
| Engine ID | The identifier for the v3 SNMP trap receiver that will receive the alert notification. This identifier is unique. |
Enable the configuration.
Click Create to complete the configuration.
To see details about all SNMP trap configurations, including In-cluster and In-observability configurations, navigate to the Notification configuration > SNMP trap tab.