URL
GET https://{api-url}/api/v2/alerts/tenants/{tenantId}/alerts/event/{eventId}
Note
- A list of event IDs is generated when alerts are created. This list is valid for 30 days.
- Use the event IDs to search and retrieve alert details.
Status code
200 OK
Sample request
https://{api-url}/api/v2/tenants/client_9/alerts/event/fa3245ca-6740-4f7a-bf06-02414c51595e
Sample response
{
"uniqueId" : "93",
"subject" : "Disk c:\\ Critical. Used 90.31%; Free 9.69%; Disk Capacity 102642 MB. Threshold is 90%.",
"description" : "Disk c:\\ is critical. (Crossed 90% usage). Total-102642 MB; Used-92700 MB (90.31%); Free-9942 MB (9.69%);",
"currentState" : "Critical",
"oldState" : "Critical",
"serviceName" : "Disk",
"acknowledged" : false,
"suppressed" : false,
"permanentlySuppressed" : false,
"closed" : false,
"ticketed" : true,
"clientUniqueId" : "client_8",
"alertType" : "Obsolete",
"app" : "OPSRAMP",
"alertTime" : "2016-07-24T10:40:47+0000",
"device": {
"id": "253151d1-6b19-4158-9d91-050e7fb4dd8d",
"name": "res1",
"hostName": "res1",
"ipAddress": "1.23.4.5",
"type": "DEVICE",
"aliasName": "alias name",
"resourceName": "res name",
"resourceType": "Desktop"
},
"resource": {
"id": "253151d1-6b19-4158-9d91-050e7fb4dd8d",
"hostName": "res1",
"ipAddress": "1.23.4.5",
"type": "Desktop",
"aliasName": "alias name",
"name": "check code",
"resourceName": "res name",
"consoles": [],
"resourceType": "Desktop",
"frequency": 0,
"paused": false,
"deleted": false,
"validateSSL": false,
"port": 0,
"encrypted": false,
"timeout": 0,
"days": 0,
"ts": 0,
"clientId": 0,
"locationOffset": 0,
"totalLocations": 0,
"receiverHostPort": 0
},
"repeatCount" : "2",
"tenantId" : 8,
"status" : "Ticketed",
"priority" : "N/A",
"elapsedTimeString" : "64d 59m ",
"createdDate" : "2016-07-24T10:40:47+0000",
"updatedTime" : "2016-07-24T10:40:50+0000",
"rba" : false,
"tenantName" : "Brocade Lab",
"managedByOpsRamp" : false,
"incidentId" : "INC0000000093",
"actedTs" : 0,
"eventType": "ALERT",
"metric" : "Disk",
"inferenceId": 0,
"statusHistory": {
"createdBy": "system",
"createdTime": "2016-07-24T10:40:47+0000"
"ticketedBy": "opsramp_system_user ",
"ticketedTime": "2016-07-24T10:41:47+0000"
}
}