You can view Edge Node Service (ENS) events in the CloudMonitor console. You can also use CloudMonitor to view the usage of ENS. When an issue occurs in your business, you can quickly locate and troubleshoot the issue.
All event-based alerts are triggered based on instances. If the same event affects three instances, three alerts are triggered.
For more information about ENS system events, see ENS system events.
Background information
CloudMonitor is a monitoring service that allows you to query, manage, and monitor the system events of Alibaba Cloud services in an integrated manner. For more information about CloudMonitor, see What is CloudMonitor?
You can use CloudMonitor to configure alert rules to receive notifications when system events occur. CloudMonitor supports the following notification methods:
Notifications are sent by text message, email, or DingTalk message.
Notifications are distributed to your Message Queue, Simple Log Service (SLS), Function Compute, or Webhook services, so that the events can be handled automatically based on your business requirements.
Query events
Log on to the CloudMonitor console.
In the left-side navigation pane, choose Event Center > System Event. The System Event page appears.
On the Event Monitoring tab, select Edge Node Service from the product drop-down list, select an event from the event drop-down list, specify the time range, and then click Search.
In the event list, find the event that you want to query and click Details in the Actions column to view the details of the event.
Subscribe to ENS system events
Create a subscription policy
This topic uses the ENS event Node Port Exception as an example to describe how to subscribe to events.
Log on to the CloudMonitor console.
In the left-side navigation pane, choose
.NoteYou can also perform the following steps to create a subscription policy by using the System Event menu:
In the left-side navigation pane, choose
.In the Welcome to the New Event Center section, click Create Immediately to create a subscription policy.
On the Subscription Policy tab, click Create a Subscription Policy.
On the Create Subscription Policy page, configure the parameters.
Basic Information: Enter a name for the subscription policy.
Alert Subscription:
Subscription Type: Select System events.
Subscription Scope:
Product: Select ENS.
Event Type: Select Abnormal.
Event Name: Select Disk:Stalled:Executed.
Event Level: Select Notification (Info).
Application group, Event Content, and Event Resources: Leave the parameters empty, which indicates that you subscribe to the Instance:StateChange system events of all ENS instances in all application groups that belong to the current account.
NoteFor more information about the system events supported by ENS, see ENS system events.
Combined noise reduction: Use the default settings.
Notification: Create a notification configuration. Use the default notification methods for Custom notification method.
When you create a notification configuration, enter a notification configuration name, set the Notification settings parameter to Set the notification group directly, select an alert contact group from the Contact Group drop-down list, and then click OK.
NoteFor more information about how to create a notification configuration, see the Create a notification configuration policy section in the "Manage notification configurations" topic.
CloudMonitor automatically sends alert notifications based on the notification methods specified for the alert contacts in the specified alert contact group. For example, if you specify 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: Leave this section empty.
NoteFor information about how to create a push channel, see Create a push channel.
Debug event subscriptions
After you subscribe to system event notifications, you can use the debugging feature to check whether notifications can be sent to Message Queue, SLS, Function Compute, and Webhook services as expected.
On the Subscription Policy tab, click Debug event subscription.
In the Create event debugging panel, set the Products parameter to Edge Node Service and the Name parameter to Disk:Stalled:Executed.
CloudMonitor automatically generates 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.