Alert

An Alert, a set of Events, is the smallest unit to manage incidents.

Package : spaceone.api.monitoring.v1

Alert

Alert Methods:

create

POST /monitoring/v1/alerts

Creates a new Alert. Alerts generated with create method are made in a manual way. Manually made Alerts can be used for Notifications.

{
    "title": "sample test",
    "description": "This is a description of sample.",
    "urgency": "HIGH",
    "project_id": "project-123456789012",
    "domain_id": "domain-123456789012"
}

update

PUT /monitoring/v1/alert/{alert_id}

Updates a specific Alert. You can make changes in Alert settings, including the title, description, responder, state, and urgency. The responder of the Alert is a User who is assigned to respond to the Alert.

{
    "alert_id": "alert-123456789012",
    "state": "ACKNOWLEDGED",
    "urgency": "LOW",
    "description": "[updating]This is a description of sample.",
    "domain_id": "domain-123456789012"
}

update_state

POST /monitoring/v1/alert/{alert_id}/{access_key}/{state}

merge

POST /monitoring/v1/alerts/merge

snooze

POST /monitoring/v1/alert/{alert_id}/snooze

add_responder

POST /monitoring/v1/alert/{alert_id}/responders

Adds a responder who receives a Notification about an Alert.

{
    "alert_id": "alert-123456789012",
    "resource_type": "identity.User",
    "resource_id": "user2@email.com",
    "domain_id": "domain-123456789012"
}

remove_responder

DELETE /monitoring/v1/alert/{alert_id}/responders

Deletes a responder who receives a Notification about an Alert.

{
    "alert_id": "alert-123456789012",
    "resource_type": "identity.User",
    "resource_id": "user2@email.com",
    "domain_id": "domain-123456789012"
}

add_project_dependency

POST /monitoring/v1/alert/{alert_id}/project-dependencies

remove_project_dependency

DELETE /monitoring/v1/alert/{alert_id}/project-dependency/{project_id}

delete

DELETE /monitoring/v1/alert/{alert_id}

Deletes a specific Alert and remove it from the list of Alerts. You must specify the alert_id of the Alert to delete.

{
    "alert_id": "alert-123456789012",
    "domain_id": "domain-123456789012"
}

get

GET /monitoring/v1/alert/{alert_id}

Gets a specific Alert. Prints detailed information about the Alert.

{
    "alert_id": "alert-123456789012",
    "domain_id": "domain-123456789012"
}

list

GET /monitoring/v1/alerts

POST /monitoring/v1/alerts/search

Gets a list of all Alerts. You can use a query to get a filtered list of Alerts.

{
    "query": {},
    "domain_id": "domain-123456789012"
}

stat

POST /monitoring/v1/alerts/stat

Message

AlertInfo

AlertProjectDependencyRequest

AlertQuery

AlertRequest

AlertResource

AlertResponder

AlertResponderRequest

AlertStatQuery

AlertsInfo

CreateAlertRequest

GetAlertRequest

MergeAlertRequest

SnoozeAlertRequest

UpdateAlertRequest

UpdateAlertStateRequest

Last updated