API Doc
Search Docs...
⌘ K
OverviewDeploymentManagementOperationSecurityReferenceGlossary

Creating an in-observability SNMP trap configuration

This section only describes how to create SNMP trap configurations using the Observability service. For clusters not associated with the observability service, refer to Creating an in-cluster SNMP trap configuration.

Precaution

If an in-cluster SNMP trap notification is configured, then upon associating with the observability service, the system automatically creates the corresponding notification channel in the observability service configuration and removes the existing in-cluster SNMP trap notifications, thus exempting you from the following steps.

Prerequisite

  • SNMP has been configured in the third-party alert platforms.
  • Ensure connectivity between the management IP of the observability virtual machine and the SNMP client.
  • The cluster and the system services that require configuring alert notifications have been associated with the observability service.

Procedure

  1. On the left sidebar of the AOC Alert page, select Notification configuration. Click Create notification configuration in the upper right corner of the page and then select Create SNMP trap configuration to enter the configuration page.

  2. Select Observability service as the alert source.

  3. Set the name of the SNMP trap configuration.

  4. Select the alert object.

  5. Specify the SNMP trap configuration information accordingly.

    Parameter Description
    Protocol The protocol is UDP by default, and it cannot be changed.
    Remote IP Specify the IP address of the SNMP trap receiver.
    Port Specify the port of the SNMP trap receiver. The default port is 162.
    Community Specify the community name used to access the remote SNMP manager.
    Send test message

    If the alert source is an observability service, click this button and the system will send a test message to the receiver.

    Information:

    The SNMP trap configuration can be created only if the test message is delivered successfully.
  6. Select the alert level that triggers the SNMP trap.

  7. (Optional) If you need to enable the SNMP trap configuration during the creation process, select Enable configuration. You can also enable the configuration after creation.

  8. Click Create to complete the configuration.