Obtaining the Alarm Overview
Function
This API is used to obtain the overview of alarm statistics.
Calling Method
For details, see Calling APIs.
URI
GET /v2/{project_id}/sec-ops/alarms/overview
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Unique project ID. |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
alarm_source_info |
AlarmSourceInfo object |
Alarm source statistics. |
|
total_alarm |
AlarmLevelInfo object |
Alarm severity statistics. |
|
turn_off_num |
Integer |
Number of disabled alarms. |
|
turn_on_num |
Integer |
Number of enabled alarms. |
|
untreated_alarm |
AlarmLevelInfo object |
Unhandled alarm severity statistics. |
|
Parameter |
Type |
Description |
|---|---|---|
|
api_num |
Integer |
Number of API instance alarms. |
|
cbh_num |
Integer |
Number of CBH instance alarms. |
|
database_encrypt_num |
Integer |
Number of database encryption instance alarms. |
|
database_op_num |
Integer |
Number of database O&M instance alarms. |
|
dbss_num |
Integer |
Number of database audit instance alarms. |
|
Parameter |
Type |
Description |
|---|---|---|
|
fatal_num |
Integer |
Number of critical alarms. |
|
high_risk_num |
Integer |
Number of high-risk alarms. |
|
low_risk_num |
Integer |
Number of low-risk alarms. |
|
middle_risk_num |
Integer |
Number of medium-risk alarms. |
|
notice_num |
Integer |
Number of warnings. |
Status code: 401
|
Parameter |
Type |
Description |
|---|---|---|
|
error_code |
String |
Error code. |
|
error_msg |
String |
Error information. |
Status code: 403
|
Parameter |
Type |
Description |
|---|---|---|
|
error_code |
String |
Error code. |
|
error_msg |
String |
Error information. |
Status code: 404
|
Parameter |
Type |
Description |
|---|---|---|
|
error_code |
String |
Error code. |
|
error_msg |
String |
Error information. |
Example Requests
None
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
OK |
|
401 |
Unauthorized |
|
403 |
Forbidden |
|
404 |
Not Found |
Error Codes
See Error Codes.
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