Creating Alarm Rules
The alarm function is based on collected metrics. You can set alarm rules for key metrics of SFS. When the metric data triggers the conditions set in the alarm rule, Cloud Eye sends emails to you, or sends HTTP/HTTPS requests to the servers. In this way, you are immediately informed of cloud service exceptions and can quickly handle the faults to avoid service losses.
Cloud Eye uses Simple Message Notification (SMN) to notify users. This requires you to create a topic and add relevant subscribers for this topic on the SMN console first. Then when you create alarm rules, you can enable the Alarm Notification function and select the created topic. When an error occurs, Cloud Eye can broadcast alarm information to those subscribers in real time.
Creating an Alarm Rule
- Log in to the management console.
- Choose Management & Governance > Cloud Eye > Cloud Service Monitoring > Scalable File Service.
- Fin the desired file system and choose More > Create Alarm Rule in the Operation column.
- On the Create Alarm Rule page, set parameters as prompted.
- Select an object and configure other parameters listed in Table 1. Click Next.
If the monitored object is a file system, you can only search it by ID instead of name.
Table 1 Parameter description Parameter
Description
Example Value
Resource Type
Specifies the name of the service for which the alarm rule is configured.
Scalable File Service
Dimension
Specifies the metric dimension of the alarm rule.
File systems
Monitored Object
Specifies the resource for which the alarm rule is configured. You can specify one or more resources.
-
- In the Select Metric step, select Import from template and configure parameters based on Table 2.
Table 2 Parameter description Parameter
Description
Example Value
Source
Specifies the means by which you create the alarm rule.
Import from template
Template
Select the template to be imported.
-
Send Notification
Specifies whether to notify users when alarms are triggered. Notifications can be sent via emails, or HTTP/HTTPS requests.
You can enable (recommended) or disable this function.
Enable
Notification Object
Name of the topic to which the alarm notification is sent.
If you enable Alarm Notification, you need to select a topic. If the required topic is not available, create a topic and subscribe to it first. For details, see the Simple Message Notification User Guide.
-
Trigger Condition
Specifies the condition for triggering the alarm. You can select Generated alarm, Cleared alarm, or both.
-
- In the Specify Rule Name step, set the parameters listed in Table 3. After the configuration is complete, click Create.
- Select an object and configure other parameters listed in Table 1. Click Next.
After the alarm rule is created, if the metric data reaches the specified threshold, Cloud Eye immediately informs you that an exception has occurred. For details about other operations, see the Cloud Eye User Guide.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot