Retrieves the number of unprocessed (undiagnosed) abnormal events at different severity levels for a node or pod.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sysom:GetAbnormalEventsCount |
get |
*All Resource
|
None | None |
Request syntax
GET /api/v1/openapi/cluster_health/range/abnormaly_events_count HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| cluster |
string |
No |
The cluster ID. |
2ijff4be-bf24-4070-89ca-c47c879b0g32 |
| instance |
string |
No |
The instance ID. |
i-wz9d00ut2ska3mlyhn6j |
| pod |
string |
No |
The pod name. |
test-pod |
| namespace |
string |
No |
The namespace of the pod. |
default |
| start |
number |
No |
The start time. |
1725797727754 |
| end |
number |
No |
The end time. |
1725801327754 |
| showPod |
integer |
No |
Specifies whether to display abnormal events of the pod. Valid values:
|
1 |
| level |
string |
No |
The severity level of the abnormal event. Valid values:
|
potential |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| code |
string |
The response code. |
Success |
| data |
array<object> |
The returned data. |
|
|
object |
The returned data. |
||
| eventList |
array |
The list of abnormal events. |
|
|
string |
The name of the abnormal event. |
Node root filesystem usage detection |
|
| type |
string |
The type of the abnormality. Valid values:
|
health |
| value |
integer |
The number of abnormalities of this type. |
1 |
| message |
string |
The business error message. This parameter is not empty when success is false. |
result: code=1 msg=(Request failed, status_code != 200) |
Examples
Success response
JSON format
{
"code": "Success",
"data": [
{
"eventList": [
"Node root filesystem usage detection"
],
"type": "health",
"value": 1
}
],
"message": "result: code=1 msg=(Request failed, status_code != 200)"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.