tencent cloud

文档反馈

DescribeAlarmIncidentNodes

最后更新时间:2024-12-06 15:40:43

1. API Description

Domain name for API request: cwp.intl.tencentcloudapi.com.

This API is used to obtain all node information on the event corresponding to an alarm.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DescribeAlarmIncidentNodes.
Version Yes String Common Params. The value used for this API: 2018-02-28.
Region No String Common Params. This parameter is not required.
Uuid Yes String Machine UUID
AlarmVid Yes String Alarm VID
AlarmTime Yes Integer Alarm time
TableId No Integer Alarm source table ID

3. Output Parameters

Parameter Name Type Description
IncidentNodes Array of IncidentVertexInfo All node information on the event corresponding to an alarm. Multiple events may be involved.
Note: This field may return null, indicating that no valid values can be obtained.
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Example

This example shows you how to obtain all node information of the event where the alarm point is located.

Input Example

POST / HTTP/1.1
Host: cwp.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeAlarmIncidentNodes
<Common request parameters>

{
    "Uuid": "abc",
    "AlarmVid": "abc",
    "AlarmTime": 0
}

Output Example

{
    "Response": {
        "IncidentNodes": [
            {
                "IncidentId": "xxxx-xx-xx-xxxx",
                "TableName": "events_bash",
                "Vertex": [
                    {
                        "Type": 0,
                        "Vid": "23eeeb4347bdd26bfc6b7ee9a3b755dd",
                        "ParentVid": "23eeeb4347bdd26bfc6b7ee9a3b755dd",
                        "IsLeaf": true,
                        "ProcNamePrefix": "python",
                        "ProcNameMd5": "23eeeb4347bdd26bfc6b7ee9a3b755dd",
                        "CmdLinePrefix": "python",
                        "CmdLineMd5": "23eeeb4347bdd26bfc6b7ee9a3b755dd",
                        "FilePathPrefix": "/root",
                        "AddressPrefix": "/root",
                        "IsWeDetect": true,
                        "IsAlarm": true,
                        "FilePathMd5": "887904812217cca9bc2b9adb875daf42",
                        "AddressMd5": "887904812217cca9bc2b9adb875daf42"
                    }
                ],
                "VertexCount": 0
            }
        ],
        "RequestId": "xxxxxxxx-1234-5678-9101-yyyyyyyyyy"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

There is no error code related to the API business logic. For other error codes, please see Common Error Codes.