Endpoint
/api/v2/tenants/{tenantId}/alert
Path Parameters
tenantId
string

acknowledged
boolean

actedTs
number

alertTime
string

alertType
string

app
string

availability
boolean

clientTechnology
string

clientUniqueId
string

closed
boolean

component
string

createdDate
string

currentState
string

customFields
array

description
string

device
object

device.aliasName
device.hostName
device.id
device.ipAddress
device.name
device.resourceName
device.resourceType
device.type
elapsedTimeString
string

entityType
string

eventType
string

extAlertId
string

ignoreRecoveryNoise
boolean

inferenceAlert
boolean

inferenceId
number

isRecoveryAlert
boolean

managedByOpsRamp
boolean

metric
string

metricTime
number

monitorName
string

mspName
string

oldState
string

permanentlySuppressed
boolean

priority
string

problemArea
string

rba
boolean

repeatCount
string

resource
object

resource.agentInstalled
resource.aliasName
resource.alternateIp
resource.clientId
resource.clientUniqueId
resource.cloudInstance
resource.consoles
resource.deleted
resource.description
resource.device
resource.dns
resource.encrypted
resource.excludeIndexing
resource.frequency
resource.generalInfo
resource.hostName
resource.id
resource.ipAddress
resource.locationOffset
resource.make
resource.name
resource.osName
resource.paused
resource.port
resource.receiverHostPort
resource.resourceName
resource.resourcePath
resource.resourceType
resource.saId
resource.source
resource.state
resource.status
resource.tags
resource.timeout
resource.topologyEnabled
resource.totalLocations
resource.ts
resource.type
resource.validateSSL
rtype
string

serviceName
string

snoozeDuration
number

status
string

statusHistory
object

statusHistory.createdBy
statusHistory.createdTime
statusHistory.ticketedBy
statusHistory.ticketedTime
subject
string

suppressed
boolean

tenantId
number

tenantName
string

ticketed
boolean

uniqueId
string

updatedTime
string

{
  "alertTime": "2017-10-01T00:00:00+0000",
  "alertType": "Maintenance",
  "app": "OPSRAMP",
  "component": "C",
  "currentState": "CRITICAL",
  "description": "api calls",
  "device": {
    "hostName": "Think-pad",
    "ipAddress": "172.2.229.109",
    "macAddress": "2E:8B:EB:32:7A:F9",
    "providerUUID": "11767",
    "resourceUUID": "DEV0000011767",
    "systemUUID": "11767"
  },
  "monitorName": "test",
  "serviceName": "CPU",
  "subject": "Test API Alert for car"
}
{
  "alertTime": "2018-11-02 10:52:55",
  "alertType": "Monitoring",
  "app": "OPSRAMP",
  "component": "MEMORY",
  "currentState": "CRITICAL",
  "description": "Api calls ",
  "resource": {
    "id": "5b850347-8798-45aa-9332-c7ff3dd1c60e"
  },
  "serviceName": "MEMORY",
  "subject": "The Physical Memory Usage on the device is 56%.The Virtual Memory Usage on the device is 43%."
}
{
  "alertTime": "2018-11-02 10:52:55",
  "alertType": "Monitoring",
  "app": "OPSRAMP",
  "component": "MEMORY",
  "currentState": "CRITICAL",
  "description": "Api calls ",
  "masterAgentUUID": "5b850347-8798-45aa-9332-c7ff3dd1c60e",
  "resource": {
    "extResourceId": "646438712529389643",
    "ipAddress": "172.24.132.47"
  },
  "serviceName": "MEMORY",
  "subject": "The Physical Memory Usage on the device is 56%.The Virtual Memory Usage on the device is 43%."
}
{
  "alertTime": "2019-07-12T00:00:00+0000",
  "app": "OPSRAMP",
  "currentState": "CRITICAL",
  "resource": {
    "deviceGroups": [
      {
        "name": "dg1"
      },
      {
        "name": "dg2"
      }
    ],
    "hostName": "Think-pad",
    "location": {
      "name": "San Jose"
    },
    "resourceType": "server",
    "serviceGroups": [
      {
        "name": "sg1"
      },
      {
        "name": "sg2",
        "parent": {
          "id": "SGP-a794d1de-e361-45ef-9d6e-4a450491bf35"
        }
      }
    ],
    "tags": [
      {
        "environment": "QA"
      },
      {
        "department": "R\u0026D"
      }
    ]
  },
  "serviceName": "CPU",
  "subject": "Performance Degradation on Windows Servers"
}

Responses

OK

[
  "c1461bc2-eed5-4559-9d78-6ca6f35be8c5"
]
[
  "3885d3fc-4e92-4a9d-871a-a5940cf7079b"
]
[
  "fa3245ca-6740-4f7a-bf06-02414c51595e"
]
[
  "62b5d1c7-5e17-4027-9d9e-a8d566590468"
]