1 - 1.4
scp-cli servicewatch alert list
[--size <value>]
[--page <value>]
[--sort <value>]
[--name <value>]
[--activated_yn <value>]
[--states <value>]
[--levels <value>]
[--from_last_policy_updated_at <value>]
[--to_last_policy_updated_at <value>]
[--namespace_ids <value>]
[--namespace_names <value>]
[--type <value>]
Description
Get list of Alerts
State ACTIVE (CURRENT)
| Version | Not Before |
|---|---|
| 1.4 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| size optional | integer | size | 20 |
| page optional | integer | page | 0 |
| sort optional | string | sort | created_at:desc |
| name optional | string | Alert Name | Alert Test |
| activated_yn optional | **** | Whether the Alert is activated or not | Y |
| states optional | string | Alert State - NORMAL, ALERT, INSUFFICIENT_DATA | NORMAL,ALERT |
| levels optional | string | Alert Level - HIGH, MIDDLE, LOW | HIGH,MIDDLE |
| from_last_policy_updated_at optional | string | Alert Start Last Policy Updated Date Time | 2026-04-01T00:00:00+09:00 |
| to_last_policy_updated_at optional | string | Alert End Last Policy Updated Date Time | 2026-04-30T23:59:59+09:00 |
| namespace_ids optional | string | Comma-separated namespace IDs | 1d9d05af5c624f2cb80a45f2c911e2f4,6b6c3239f0504e30b067fe9498be1681 |
| namespace_names optional | string | Comma-separated namespace names | Virtual Server,Internet Gateway |
| type optional | string | Alert Type | METRIC_ALERT |
Responses
| Name | Description | Example |
|---|---|---|
| id | Alert ID | 3234bd0f12fa4d0b97ab9feff6c09b8e |
| activated_yn | Whether the Alert is activated or not | Y |
| evaluation_time_window | Evaluation Time Window (period * evaluation_count) | 900 |
| last_policy_updated_at | Last Alert Policy Updated Date Time | 2026-06-24T10:14:52.700924 |
| level | Alert Level - HIGH, MIDDLE, LOW | HIGH |
| lower_bound | Lower bound for the Alert range operator | 80.0 |
| metric_name | Metric Name | CPU Usage |
| metric_unit | Metric Unit. Allowed Units: SECONDS, MICROSECONDS, MILLISECONDS, BYTES, KILOBYTES, MEGABYTES, GIGABYTES, TERABYTES, BITS, KILOBITS, MEGABITS, GIGABITS, TERABITS, PERCENT, COUNT, BYTES_PER_SECOND, KILOBYTES_PER_SECOND, MEGABYTES_PER_SECOND, GIGABYTES_PER_SECOND, TERABYTES_PER_SECOND, BITS_PER_SECOND, KILOBITS_PER_SECOND, MEGABITS_PER_SECOND, GIGABITS_PER_SECOND, TERABITS_PER_SECOND, COUNT_PER_SECOND, COUNT_PER_MINUTE, NONE | BYTE |
| name | Alert Name | Alert Test |
| namespace_name | Namespace Name | Virtual Server |
| operator | Operator - EQ, NOT_EQ, GT, GTE, LT, LTE, RANGE | RANGE |
| state | Alert State - NORMAL, ALERT, INSUFFICIENT_DATA | NORMAL |
| statistic | Statistic - SUM, AVG, MAX, MIN | AVG |
| threshold | Threshold for the Alert Condition (except fro RANGE operator) | 80.0 |
| type | Alert Type | METRIC_ALERT |
| upper_bound | Upper bound for the Alert range operator | 90.0 |