Help Center/ Cloud Bastion Host/ User Guide/ Monitoring/ Configuring Monitoring Alarm Rules
Updated on 2024-09-30 GMT+08:00

Configuring Monitoring Alarm Rules

You can set bastion host alarm rules to customize the monitored objects and notification policies, and set parameters such as the alarm rule name, monitored object, metric, threshold, monitoring scope, and whether to send notifications. This helps you learn your bastion host status in a timely manner.

Prerequisites

A bastion host has been created.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select a region or project.
  3. Hover your mouse over in the upper left corner of the page and choose Management & Governance > Cloud Eye.
  4. In the navigation pane on the left, choose Alarm Management > Alarm Rules.
  5. In the upper right corner of the page, click Create Alarm Rule.
  6. Enter the alarm rule information by referring to Table 1.

    Figure 1 Configuring CBH alarm rules
    Table 1 Parameters for setting CBH alarm rules

    Parameter

    Description

    Example Value

    Name

    Name of the rule. The system generates a random name and you can modify it.

    alarm-lm45

    Description

    Description of the rule.

    -

    Alarm Type

    Select Metric.

    Metric

    Resource Type

    Select a resource type. Select Platform Bastion Host.

    Bastion host

    Dimension

    Select CBH.

    CBH

    Monitoring Scope

    Scope where the alarm rule applies to. You can select All resources, Resource groups or Specific resources.

    All resources

    Method

    You can select an associated template, use an existing template, or create a custom template.

    Associate template

    Template

    Select a template from the drop-down list, for example, CBH alarm template.

    -

    Alarm Policy

    Edit alarm policies.

    -

    Alarm Notification

    Whether to notify users when alarms are triggered. Notifications can be sent by email, text message, or HTTP/HTTPS message.

    Enabled

    Notification Recipient

    You can select a notification group or subscript to a topic.

    Topic subscription

    Notification Object

    Object that receives alarm notifications. You can select the account contact or a topic.

    • Account contact is the mobile phone number and email address provided for registration.
    • A topic is used to publish messages and subscribe to notifications. If the required topic is unavailable, create one and add subscriptions to it on the SMN console.

    -

    Notification Window

    Cloud Eye sends notifications only within the notification window specified in the alarm rule.

    00:00-8:00

    Trigger Condition

    Condition for triggering the alarm notification. Select Generated alarm when an alarm is generated or Cleared alarm when an alarm is triggered, or both.

    -

  7. Click Create. In the displayed dialog box, click OK.