All Products
Search
Document Center

Network Intelligence Service:Configure event subscription policies

Last Updated:Mar 28, 2024

Integrated with CloudMonitor, Network Intelligence Service (NIS) allows you to configure event subscription policies. This way, CloudMonitor automatically sends alert notifications to the specified alert contact groups when system events occur or the metrics of resources meet specified alert conditions. You can merge and denoise alert notifications and specify custom alert notification methods.

Background information

You can use the event subscription feature to perform the following operations:

  • You can configure a subscription policy to subscribe to system events or threshold-triggered events.

  • You can merge alerts based on the subscription scope of system events or threshold-triggered events. Then, you can denoise alerts by specifying conditions to manage the validity of alerts. This prevents an excessive number of alert notifications from being repeatedly sent within a short period of time.

  • CloudMonitor sends valid alert notifications that are denoised to specific alert contacts. If the related alerts are not cleared within a specified period of time, CloudMonitor automatically sends the alert notifications to the next alert contact group.

  • You can specify notification methods, notification templates, and alert levels based on your business requirements. You can push all alert data to the following channels: Message Service (MNS), Simple Log Service, Function Compute, and webhooks.

Create an event subscription policy

This topic describes how to subscribe to events of packet loss due to excess Internet bandwidth usage in NIS.

  1. Log on to the NIS console.

  2. In the left-side navigation pane, click Event Center.

  3. On the Event Center page, click Event Subscription.

  4. On the Subscription Policy tab, click Create Subscription Policy.

  5. In the Create Subscription Policy panel, specify the required parameters. For more information, see Subscription policy parameters.

    • Basic information: Enter a name and description for the subscription policy.

    • Alert Subscription: Select System events for the Subscription Type parameter. In the Subscription Scope section, select Network Intelligence Service for the Products parameter, select problem for the Event Type parameter, select problem-internetBandwidthOverlimit for the Event name parameter, and select Critical for the Event Level parameter. Retain default values for other parameters, which indicates that all events of packet loss due to excess Internet bandwidth usage in all application groups within the account are subscribed.

      Note

      For more information about events supported by NIS, see the Events section of the Event center topic.

    • Combined Noise Reduction: Use the default settings.

    • Notification: Create a notification configuration. Use the default notification method for Custom Notification Method.

      When you create a notification configuration, enter a notification configuration name, select Set Notification Group Directly for Notification Settings, select an alert contact group for Contact Group, and then click OK.

      Note

      For more information about how to create a notification configuration, see Create a notification configuration policy.

      CloudMonitor automatically sends alert notifications based on the notification methods for the alert contacts in the specified alert contact group. For example, if you set a mobile phone number and an email address for an alert contact and use the default notification method for Custom Notification Method, the alert contact receives only alert phone calls, text messages, and emails.

    • Push and Integration: No configuration is required.

      Note

      For more information about how to create a push channel, see Create a push channel.

  6. Click Submit.

  7. Debug an event subscription policy

    • On the Subscription Policy tab, click Debug event subscription.

    • In the Create event debugging panel, select Network Intelligence Service for the Products parameter and select problem-internetBandwidthOverlimit for the Name parameter.

      CloudMonitor automatically generates the debugging content in the JSON format.

    • Click OK.

      The Operation successful message appears. CloudMonitor automatically sends a test alert notification to the alert contacts based on the notification methods specified in the subscription policy.

Related operations

Operation

Description

View a subscription policy

In the Event Subscription panel, find the subscription policy that you want to view and click View in the Operation column.

In the Subscription Policy Details panel, you can view the basic information, event subscription, combined noise reduction, and notification of the subscription policy.

Modify a subscription policy

  1. In the Event Subscription panel, find the subscription policy that you want to modify and click Edit in the Operation column.

  2. On the Edit Subscription Policy page, configure the parameters.

    For more information about how to configure the parameters for a subscription policy, see Subscription policy parameters.

  3. Click Submit.

Delete a subscription policy

  1. In the Event Subscription panel, find the subscription policy that you want to delete and click Delete in the Operation column.

  2. In the Delete prompt message, click OK.

Disable a subscription policy

By default, the status of a new subscription policy is displayed as Enabled in the Status column. You can temporarily disable a subscription policy to prevent a large number of unnecessary alert notifications due to manual modifications. When a subscription policy is disabled, the specified alert contacts no longer receive alert notifications.

  1. In the Event Subscription panel, find the subscription policy that you want to disable and click Disable in the Operation column.

  2. In the message that appears, click OK.

Enable a subscription policy

You can enable a subscription policy whose Status is Disabled. After you enable the subscription policy, alert notifications are automatically resumed.

  1. In the Event Subscription panel, find the subscription policy that you want to enable and click Enable in the Operation column.

  2. In the message that appears, click OK.

References

You can also configure event subscription policies in the CloudMonitor console. For more information, see the following topics: