Data - Retrieve Alert Details
Retrieves details of the alert.
GET http://<Servername>/OperationsManager/data/alertDetails/{alertId}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
alert
|
path | True |
string |
Alert ID for which the details are to be fetched. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK.Successfully retrieved alert details. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Examples
RetrieveAlertDetails
Sample Request
GET http://<Servername>/OperationsManager/data/alertDetails/6A88FBC1-0EDC-4173-9BB1-30FFEC296672
Sample Response
{
"id": "6a88fbc1-0edc-4173-9bb1-30ffec296672",
"source": "SCOMNFMPDEV0016.smx.net",
"sourceId": "d95c4085-20bb-6c5a-0151-7c86f9b14c2f",
"priority": "Normal",
"severity": "Warning",
"isMonitorAlert": false,
"age": "34 days, 9 hours",
"repeatCount": 0,
"ruleName": "Alert on Failed Power Shell Scripts",
"monitorName": null,
"typeSourceId": "c4108e23-e5b9-b0cd-9b75-be85d2039035",
"owner": null,
"ticketId": null,
"resolutionState": "255",
"customFields": [
null
],
"alertUpdateFailure": {
"failureMessage": null,
"exceptionType": null
}
}
Definitions
Name | Description |
---|---|
Alert |
|
Alert |
AlertDetailsResponse
Name | Type | Description |
---|---|---|
age |
string |
Age of alert |
alertUpdateFailure |
Alert Failure details |
|
customFields |
string[] |
Custom fields in Alert |
id |
string |
Alert ID |
isMonitorAlert |
boolean |
is Alert generated by Monitor |
monitorName |
string |
Monitor Name associated with Alert |
owner |
string |
Owner |
priority |
string |
Priority of the Alert |
repeatCount |
integer |
Repeat count |
resolutionState |
string |
Resolution State of Alert |
ruleName |
string |
Rule Name associated with Alert |
severity |
string |
Severity of the Alert |
source |
string |
Source of the Alert |
sourceId |
string |
Source ID of the Alert |
ticketId |
string |
Ticket ID |
typeSourceId |
string |
Type source ID |
AlertUpdateFailure
Name | Type | Description |
---|---|---|
exceptionType |
string |
Exception Type |
failureMessage |
string |
Alert Failure Message |