FaultManager Service (3.1.0)

Download OpenAPI specification:Download

This is the spec that defines the APIs provided by the Fault Manager service to raise alerts and alarms

Authentication

bearerAuth

Security Scheme Type HTTP
HTTP Authorization Scheme bearer
Bearer format "JWT"

Health

getHealth

Get the health of the faultmanager service

Authorizations:

Responses

Response samples

Content type
application/json
{
  • "Service": "string",
  • "MessageBus": "string"
}

Alerts

getAlertInventory

Pregnerated lists of all possible alerts that EFA could raise

Authorizations:
query Parameters
alert_id
integer

ID identifying EFA alert

resource
string

Health resource path associated to the alert being sent

Responses

Response samples

Content type
application/json
{
  • "Alerts": [
    ]
}

getAlertHistory

Actual history of alerts generated by EFA

Authorizations:
query Parameters
alert_id
integer

ID identifying EFA alert

severity
string
Enum: "Critical" "Major" "Minor" "Warning" "Info"

Severity of EFA alert

sequence_id
integer

Tracks the sequence in which messages are submitted

resource
string

Health resource path associated to the alert being sent

limit
integer

Limit the number of alerts to be displayed

before_timestamp
string

Alerts being sent before a particular time stamp

after_timestamp
string

Alerts being sent after a particular time stamp

object

{"sort_by":"asc|desc"} Responses with sequence id in ascending or descending order {"offset" : "lt:30"} Responses searched with sequence id less than 30 {"page_size":20} Responses searched with limit of 20 entries

Responses

Response samples

Content type
application/json
{
  • "Alerts": [
    ]
}

clearAlertHistory

clear all alerts in history

Authorizations:

Responses

Response samples

Content type
application/json
{
  • "result": 0,
  • "error": "Unknown error"
}