[フレーム]
Docs Pricing
Login Book a meeting Try Redis

Cluster alerts requests

Cluster alert requests

Redis Enterprise Software
Method Path Description
GET /v1/cluster/alerts Get all cluster alerts
GET /v1/cluster/alerts/{alert} Get a specific cluster alert

Get all cluster alerts

GET /v1/cluster/alerts

Get all alert states for the cluster object.

Required permissions

Permission name
view_cluster_alerts

Request

Example HTTP request

GET /v1/cluster/alerts 

Request headers

Key Value Description
Host cnm.cluster.fqdn Domain name
Accept application/json Accepted media type

Query parameters

Field Type Description
ignore_settings boolean Retrieve updated alert state regardless of the cluster’s alert_settings. When not present, a disabled alert will always be retrieved as disabled with a false state. (optional)

Response

Returns a hash of alert objects and their states.

Example JSON body

{
 "cluster_too_few_nodes_for_replication": {
 "change_time": "2014年12月22日T11:48:00Z",
 "change_value": {
 "state": false
 },
 "enabled": true,
 "state": "off",
 "severity": "WARNING",
 },
 "..."
}

Status codes

Code Description
200 OK No error

Get cluster alert

GET /v1/cluster/alerts/{alert}

Get a cluster alert state.

Required permissions

Permission name
view_cluster_alerts

Request

Example HTTP request

GET /v1/cluster/alerts/cluster_too_few_nodes_for_replication 

Request headers

Key Value Description
Host cnm.cluster.fqdn Domain name
Accept application/json Accepted media type

Query parameters

Field Type Description
ignore_settings boolean Retrieve updated alert state regardless of the cluster’s alert_settings. When not present, a disabled alert will always be retrieved as disabled with a false state. (optional)

Response

Returns an alert object.

Example JSON body

{
 "change_time": "2014年12月22日T11:48:00Z",
 "change_value": {
 "state": false
 },
 "enabled": true,
 "state": "off",
 "severity": "WARNING",
}

Status codes

Code Description
200 OK No error
404 Not Found Specified alert does not exist
RATE THIS PAGE
Back to top ↑

On this page

AltStyle によって変換されたページ (->オリジナル) /