Download OpenAPI specification:Download
This is the spec that defines the APIs provided by the Fault Manager service to raise alerts and alarms
Pre-generated lists of all possible alerts that EFA could raise
alert_id | integer ID identifying EFA alert |
resource | string Health resource path associated to the alert being sent |
{- "Alerts": [
- {
- "AlertID": 31000,
- "Severity": "Warning",
- "Resource": "/App/System/Security/Certificate"
}, - {
- "AlertID": 41000,
- "Severity": "Warning",
- "Resource": "/App/System/Security/Certificate"
}
]
}
Actual history of alerts generated by EFA
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 (PaginationQuery) {"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 |
{- "Alerts": [
- {
- "AlertID": 31000,
- "SequenceID": 47,
- "Cause": "key expired",
- "Severity": "Warning",
- "Resource": "/App/System/Security/Certificate",
- "Timestamp": "2022-09-22T14:06:01",
- "Limit": 5
}, - {
- "AlertID": 41000,
- "SequenceID": 51,
- "Cause": "token expired",
- "Severity": "Warning",
- "Resource": "/App/System/Security/Certificate",
- "Timestamp": "2022-09-22T14:06:01",
- "Limit": 2
}
]
}
Pre-generated lists of all possible alarms that EFA could raise
alarm_id | integer Global ID identifying EFA alarm |
name | string Name identifying EFA alarm |
resource | string Resource identifying EFA alarm |
alarm_type | string Type of alarm |
detail | booolean Display detailed information |
{- "Alarms": [
- {
- "AlarmID": 32000,
- "Name": "CertificateExpiration",
- "Resource": "/App/System/Security/Certificate",
- "AlarmType": "security"
}, - {
- "AlarmID": 32001,
- "Name": "DeviceCertificateExpiration",
- "Resource": "/App/System/Security/Device/Certificate",
- "AlarmType": "security"
}
]
}
Actual history of alarms generated by EFA
name | string Name of EFA alarm |
alarm_id | integer Global ID identifying EFA alarm |
alarm_type | string Category of EFA alarm |
instance_id | string Instance IDs identifying EFA alarms.Values can be comma separated and range format. |
resource | string Health resource path associated to the alarm being sent |
unacked | boolean List of unacked alarms |
acked | boolean List of acked alarms |
cleared | boolean List of cleared alarms |
closed | boolean List of closed alarms |
detail | booolean Display detailed information |
object (PaginationQuery) {"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 |
{- "Alarms": [
- {
- "AlarmID": 32000,
- "InstanceID": "2,3,5-10",
- "Name": "CertificateExpiration",
- "Resource": "/App/System/Security/Certificate",
- "AlarmType": "security",
- "IsCleared": false
}, - {
- "AlarmID": 32001,
- "InstanceID": "2,3,5-10",
- "Name": "DeviceCertificateExpiration",
- "Resource": "/App/System/Security/Device/Certificate",
- "AlarmType": "security",
- "IsCleared": true
}
]
}
acknowledge raised alarms
instance_id | string Instance IDs identifying EFA alarms.Values can be comma separated and range format. |
resource | string Resource associated with EFA alarm |
comment | string Comment that needs to updated on Alarms |
{- "Name": "Certificate expiry notice alarm",
- "AlarmID": 32000,
- "InstanceID": 2,
- "AlarmType": "Security",
- "Resource": "/App/System/Security/Certificate",
- "Severity": "Warning",
- "IsCleared": false,
- "Message": "Authentication failed for user extreme",
- "TimeCreated": "2022-09-22T10:06:01",
- "LastRaised": "2022-09-22T14:06:01",
- "LastChanged": "2022-09-22T14:06:01",
- "IsAcked": false,
- "IsClosed": false,
- "StatusChangeList": [
- {
- "Time": "2022-09-22T14:06:01",
- "Severity": "Warning",
- "Message": "Authentication failed for user extreme"
}
], - "UserStateChangeList": [
- {
- "Time": "2022-09-22T14:06:01",
- "User": "extreme",
- "UserState": "closed",
- "Comment": "closing this alarm as this is not critical"
}
]
}
close raised or cleared alarms
instance_id | string Instance IDs identifying EFA alarms.Values can be comma separated and range format. |
resource | string Resource associated with EFA alarm |
comment | string Comment that needs to updated on Alarms |
{- "Name": "Certificate expiry notice alarm",
- "AlarmID": 32000,
- "InstanceID": 2,
- "AlarmType": "Security",
- "Resource": "/App/System/Security/Certificate",
- "Severity": "Warning",
- "IsCleared": false,
- "Message": "Authentication failed for user extreme",
- "TimeCreated": "2022-09-22T10:06:01",
- "LastRaised": "2022-09-22T14:06:01",
- "LastChanged": "2022-09-22T14:06:01",
- "IsAcked": false,
- "IsClosed": false,
- "StatusChangeList": [
- {
- "Time": "2022-09-22T14:06:01",
- "Severity": "Warning",
- "Message": "Authentication failed for user extreme"
}
], - "UserStateChangeList": [
- {
- "Time": "2022-09-22T14:06:01",
- "User": "extreme",
- "UserState": "closed",
- "Comment": "closing this alarm as this is not critical"
}
]
}
{- "Alarms": [
- {
- "Severity": "Warning",
- "Total": 8,
- "NotCleared": 2,
- "Cleared": 2,
- "ClearedNotClosed": 1,
- "ClearedClosed": 1,
- "NotClearedClosed": 1,
- "NotClearedNotClosed": 1
}, - {
- "Severity": "Critical",
- "Total": 8,
- "NotCleared": 1,
- "Cleared": 1,
- "ClearedNotClosed": 2,
- "ClearedClosed": 2,
- "NotClearedClosed": 1,
- "NotClearedNotClosed": 1
}
]
}