All Products
Search
Document Center

WUYING Workspace:Use the monitoring and alerting features

Last Updated:Apr 12, 2024

WUYING Workspace (Pro Edition) provides resource monitoring and alerting features. The monitoring feature can help track metrics such as the usage and session connections of cloud computer resources. When specific metrics become abnormal, the alerting feature can help identify and resolve issues at the earliest opportunity to ensure business continuity. This topic describes how to use the monitoring and alerting features.

Configure alert contacts

An alert contact is the recipient to whom alerts are sent.

Create alert contacts

  1. Log on to the WUYING Workspace (Pro Edition) console.

  2. In the left-side navigation pane, choose Monitoring > Alerts.

  3. Click the Alert Receiver tab and then click Create Alert Receiver.

  4. In the Create Alert Receiver panel, specify the following information and click Confirm.

    • Name: Specify a name for the alert contact.

    • Contact method: Provide at least one form of contact method, either an email address or a DingTalk chatbot callback URL.

      Note

      After you enter a callback URL of the DingTalk chatbot, click Test to complete verification. If the verification is successful, the DingTalk chatbot takes effect.

    • Alert language: You can select your preferred language for alerts between Simplified Chinese or English, or follow the system language of the device that receives alerts.

Subsequent operations

  • Activate contact methods. After the contact is created, the system sends activation notifications to the contact based on the contact method that you specify. The contact method must be activated within 24 hours after the contact receives the notifications. Alerts are sent only to activated contact methods. If the activation notifications sent to an alert contact expire after 24 hours, find the contact on the Alert Receiver tab and click Resend Activation Code.

  • Modify or delete alert contacts. On the Alert Receiver tab, find the alert contact that you want to modify or delete and click View/Edit or Delete in the Actions column. You can also select multiple contacts and batch delete them at the same time.

Configure an alert contact group

An alert contact group is a collection of alert contacts. When you configure alert rules, you must bind an alert contact group.

Create an alert contact group

Before you create an alert contact group, make sure that alert contacts are created.

  1. In the left-side navigation pane, choose Monitoring > Alerts.

  2. Click the Alert Receiver Group tab, and then click Create Receiver Group.

  3. In the Create Alert Receiver Group panel, specify the following information and click Confirm.

    1. Group name: Enter a name for the group.

    2. (Optional) Remarks: Enter a description or other comments for the group.

    3. Alert contacts: Select at least one alert contact as a group member.

      Note

      Make sure that the alert contact is activated. Otherwise, the contact cannot receive alert notifications.

Subsequent operations

  • Add or remove alert contacts. On the Alert Receiver Group tab, find the group that you want to manage, and click View/Edit in the Actions column.

  • Delete alert contact groups. On the Alert Receiver Group tab, click Delete in the Actions column. When you delete an alert contact group, alert contacts in the group are only removed out of the group. The alert contacts are not deleted.

Configure alert rules

Alert rules define the alert triggering conditions, severity, and effective time.

Create an alert rule

Each alert rule must be bound to an alert contact group. Make sure that an alert contact group is created before you create an alert rule.

  1. In the left-side navigation pane, choose Monitoring > Alerts.

  2. On the Alert Rules tab, click Create Alert Rule.

  3. In the Create Alert Rule panel, configure parameters and click Confirm. The following table describes the parameters.

    Parameter

    Description

    Example

    Alert Rule Name

    Enter a name for an alert rule.

    CPU usage alert

    Alert Source

    The alert source. Default value: Cloud Computer.

    Cloud Computer

    Monitoring Scope

    • All Resources: The rule takes effect for all cloud computers.

    • Cloud Computer: The rule takes effect for specific cloud computers.

    All Resources

    Metric Type

    • Single Metric: Only one metric is monitored. However, you can create alert rules for the metric at different severity levels.

    • Multiple Metrics: You can monitor multiple metrics at the same time. You can create alert rules at the same severity level for the metrics, and you must specify the triggering conditions.

    Single Metric

    Activated Period

    The period of time during which the alert rule takes effect.

    08:00-09:59

    Do Not Disturb Period

    The period of time during which alerts are muted when the alert rule is consecutively triggered. If the alert rule is still triggered after the mute period ends, the system continues to send alerts.

    30 Minutes

    Alert Receiver Group

    The contact group that receives alerts.

    O&M Group

    Parameters when Metric Type is set to Single Metric

    Alert Metrics

    The metric that you want to monitor.

    CPU Utilization (%)

    Metric Thresholds for Each Alert Priority

    The triggering conditions at different severity levels. You must specify at least one condition.

    Info

    Average value in 3 consecutive periods > 80%

    Parameters when Metric Type is set to Multiple Metrics

    Alert Priority

    The contact methods to send alerts at different severity levels are different. Valid values:

    • Critical: Phone+SMS+Email+DingTalk

    • Warning: SMS+Email+DingTalk

    • Info: Email+DingTalk

    Info: Email+DingTalk

    Metric Thresholds for Each Alert Priority

    The triggering conditions at different severity levels. You can configure up to 10 conditions.

    • Average disk usage > 80%

    • Average memory usage > 60%

    Alert Trigger

    • Trigger alert when all conditions are met: When the condition of each metric is in logical AND relationship, alerts are triggered. Alerts are triggered when all conditions are met.

    • Trigger alert when a condition is met: When the condition of each metric is in logical OR relationship, alerts are triggered. Alerts are triggered when one of the conditions is met.

    Trigger alert when any condition is met

    Trigger Condition

    The number of consecutive periods during which conditions must be met before alerts are triggered.

    in consecutive 3 periods

Subsequent operations

  • Modify an alert rule. On the Alert Rules tab, find the alert rule that you want to manage and click Modify in the Actions column. In the Create Alert Rule panel, modify the rule based on your business requirements.

  • Disable or enable an alert rule. On the Alert Rules tab, find the alert rule that you want to manage and click Disable or Enable in the Actions column. In the message that appears, click Confirm. If an alert rule is disabled, the metrics in the rule are only monitored. When conditions in the alert rule are met, the system does not send alerts.

  • Delete an alert rule. On the Alert Rules tab, find the alert rule that you want to manage and click Delete in the Actions column. In the message that appears, click Confirm.

View alert records

  1. In the left-side navigation pane, choose Monitoring > Alerts.

  2. You can perform one of the following operations to view alert records:

    • Click the Alert History tab and enter the name or ID of an alert rule to filter the related alert records. Click the export icon in the upper-right corner of the Alert History tab to export alert records.

    • Click the Alert Rules tab. Find the alert rule that you want to view and click Alert Details in the Actions column. On the alert details page, you can select or specify a time period during which the alert is triggered.

FAQ

What do I do if an alert rule is configured but no alert is sent to alert contacts?

Specific data on cloud computers is collected by CloudMonitor agent. By default, CloudMonitor agent is disabled in cloud computers. If metrics are missing, perform the following steps to enable CloudMonitor agent:

  1. Press the shortcut keys Win+R on your cloud computer, and enter services.msc in the Run window. Then, press Enter to open the Services window.

  2. In the Services window, find the service named argusagent service, right-click the service, and select Properties.

  3. On the General tab, set the Startup type parameter to Automatic. If the service is not running, click Start in the Service status section and then click OK.