edit-icon download-icon

Alarm and notification

Last Updated: Mar 12, 2018

EDAS provides the alarm function to notify users of online problems when resource usage exceeds the limit. Based on policies configured by users and data collected in the background, EDAS checks whether the resource usage limit is exceeded. If the limit is exceeded, a text message or an email is sent to specified contacts.

Note: Currently, EDAS only provides SMS and email notification and does not support custom notification.

Configure alarm policies

Follow these steps:

  1. Log on to the EDAS console, select Applications in the left-side navigation pane, and click the name of the application from the application list.

  2. Select Alarm and Notification > Alarm Rules in the left-side navigation pane and click Create Rule in the upper-right corner.

  3. Enter relevant information in the Create Rule page.

    Create alarm rule

    Field description:

    • Rule Name: Name of the alarm rule, which can contain numbers, letters, and underscores (_). Use an understandable name.

    • Monitoring Target: Create comparison policies based on metrics (basic monitoring, HTTP, HSF, and application container) and the configured threshold. You can add more than one target as needed.

    • Trigger Conditions: Select Any One of the Indicators or All Indicators.

      • Any One of the Indicators: An alarm is triggered when any of the indicators of the monitored object meets the alarm rules.
      • All Indicators: An alarm is triggered when all of the indicators of the monitored object meet the alarm rules.
    • Statistical Cycle: It can be set to 1 minute, 5 minutes, 15 minutes, 30 minutes, or 1 hour. A false alarm might be generated when the system encounters transient jitter, for example, when CPU usage is high during service startup but recovers to the normal range within 2 minutes. To avoid false alarms, you can select a statistical period to allow alarm trigger only when alarm rules are continuously satisfied within this period. For example, if you select the 5-minute statistical period for the metric “CPU usage above 30%”, then EDAS determines an exception occurs when the CPU usage of the system exceeds 30% for 5 consecutive minutes.

    • Retries Before Alarm: The number of consecutive statistical cycles when alarm policies are satisfied that are required to trigger an alarm. Optional values include 1, 3, and 5.
  4. Click OK.

Alarm rules take affect once created. To disable an a rule, select it from the rule list and click “Delete”. The rule is obsolete immediately.

Add alarm contacts

Follow these steps:

  1. Log on to the EDAS console, click Applications on the left-side menu bar, and click the name of the application in the application list.
  2. Select Notification Alert > Alarm Contacts on the left-side menu bar and click Add Alarm Contacts in the upper-right corner.
  3. Select the contact from the contact list and click OK.

Note:

  • Alarm Contact Source: You can configure to send alarms to the contacts that have a primary and sub-account relationship with the current account. Details are as follows:
    • Other Alibaba Cloud accounts that are bound as sub-accounts to the primary account
    • RAM sub-accounts with EDAS logon history
  • Contact Info (Email Address and Mobile Number): By default, emails and contacts are obtained from Alibaba Cloud. For privacy protection, the contact information is only available after logon. If you want to receive notifications using a mobile number other than the one registered at Alibaba Cloud, make modifications on Personal Information page.

Add employees as alarm contacts

To add an employee that has never used EDAS as an alarm contact, following these steps. Assume that the current EDAS primary account is master@alibabacloud.com and the account to be added is employee@company.com:

  1. Add a RAM sub-account:

    1. Log on to the Alibaba Cloud console with the account master@alibabacloud.com and select Products & Services > RAM to go to the RAM Console.

    2. Click Users in the left-side navigation pane to go to the RAM sub-account page, click Create User in the upper-right corner, and fill in employee information to create a sub-account (assume that the employee name is “employee”).

  2. Log on to EDAS with the sub-account and modify information.

    1. Log on to Alibaba Cloud with the employee RAM sub-account by clicking the link provided in RAM, and select EDAS to go to the EDAS console.

    2. Select Accounts > Personal Information in the left-side navigation pane and enter your mobile number and email address.

  3. After relevant information is modified, follow the steps in the Add alarm contacts section to add the employee to the alarm contact list.

View alarm records

After an alert is generated, the system sends the alert to contacts while recording the alert.

  1. Log on to the EDAS console, click Applications in the left-side navigation pane, and select the expected application from the application list.
  2. Select Alarm and Notification > Alarm Record on the left-side menu bar.

Alarm records from the past 10 days are displayed. After an alarm is cleared, a notification is generated and sent to contacts by means of text message and email.

Thank you! We've received your feedback.