Endpoint
/api/v2/tenants/{tenantId}/monitoring/templates/search
Path Parameters
tenantId
string

Query Parameters
pageNo
integer

pageSize
integer

isDescendingOrder
boolean

sortName
string

queryString
string

Responses

OK

descendingOrder
boolean

nextPage
boolean

nextPageNo
integer

orderBy
string

pageNo
integer

pageSize
integer

previousPageNo
integer

results
array

results.assignedInterfaces
results.collectorType
results.configParameters
results.createdDate
results.description
results.generation
results.id
results.monitors
results.name
results.status
results.tags
results.templateType
results.uniqueId
results.updatedDate
totalPages
integer

totalResults
integer

{
  "descendingOrder": true,
  "nextPage": false,
  "nextPageNo": 0,
  "orderBy": "id",
  "pageNo": 1,
  "pageSize": 10,
  "previousPageNo": 0,
  "results": [
    {
      "collectorType": "Gateway",
      "configParameters": [
        {
          "parameter": {
            "description": "Port number that you want to monitor",
            "id": 592,
            "name": "Port",
            "type": "String"
          }
        }
      ],
      "createdDate": "2016-06-06T08:25:06+0000",
      "description": "Template testing",
      "generation": 2,
      "id": 6738,
      "monitors": [
        {
          "availability": true,
          "criticalOperator": "EQUAL",
          "criticalRepeatCount": 1,
          "criticalThreshHold": "90",
          "frequency": 15,
          "metricName": "testing.dynamic.metric",
          "name": "testing form ui latest",
          "raiseAlert": true,
          "state": "Active",
          "warningOperator": "GREATER_THAN_EQUAL",
          "warningRepeatCount": 2,
          "warningThreshHold": "70"
        },
        {
          "availability": true,
          "criticalOperator": "GREATER_THAN_EQUAL",
          "criticalRepeatCount": 1,
          "criticalThreshHold": "90",
          "frequency": 15,
          "metricName": "cisco.memory.pool.util.percent",
          "name": "Cisco Memory-2",
          "raiseAlert": true,
          "state": "Active",
          "warningOperator": "GREATER_THAN_EQUAL",
          "warningRepeatCount": 1,
          "warningThreshHold": "80"
        },
        {
          "availability": true,
          "criticalOperator": "LESS_THAN_EQUAL",
          "criticalRepeatCount": 1,
          "criticalThreshHold": "500",
          "frequency": 15,
          "metricName": "cisco.memory.pool.largest.free",
          "name": "Cisco Memory-2",
          "raiseAlert": true,
          "state": "Active",
          "warningOperator": "LESS_THAN_EQUAL",
          "warningRepeatCount": 1,
          "warningThreshHold": "600"
        }
      ],
      "name": "Second generation Gateway Template",
      "notes": "test cases",
      "resourceType": "DEVICE",
      "status": "ACTIVE",
      "tags": "testing",
      "uniqueId": "1463daa4-9c75-4911-8994-09cac072374a",
      "updatedDate": "2016-06-06T08:25:06+0000"
    },
    {
      "collectorType": "Gateway",
      "createdDate": "2016-05-24T13:34:34+0000",
      "description": "",
      "generation": 2,
      "id": 6736,
      "monitors": [
        {
          "availability": true,
          "criticalOperator": "NONE",
          "criticalRepeatCount": 0,
          "frequency": 15,
          "metricName": "metric for vmware",
          "name": "testing from API",
          "raiseAlert": false,
          "state": "Active",
          "warningOperator": "NONE",
          "warningRepeatCount": 1
        }
      ],
      "name": "Testing with gateway Monitors",
      "resourceType": "DEVICE",
      "status": "ACTIVE",
      "uniqueId": "6f5efafc-c00e-4406-ba80-de89aaf931b7",
      "updatedDate": "2016-05-24T13:34:34+0000"
    },
    {
      "collectorType": "Gateway",
      "createdDate": "2016-05-24T13:32:32+0000",
      "description": "testing",
      "generation": 1,
      "id": 6735,
      "monitors": [
        {
          "availability": false,
          "frequency": 15,
          "name": "EVENTLOGS",
          "raiseAlert": false
        },
        {
          "availability": false,
          "criticalThreshHold": "1000,100%!3",
          "frequency": 15,
          "name": "PING",
          "raiseAlert": false,
          "repeatCount": 1,
          "repeatFrequency": 1,
          "warningThreshHold": "900,90%"
        },
        {
          "availability": false,
          "criticalThreshHold": "1000,100%!3",
          "frequency": 15,
          "name": "PING",
          "raiseAlert": false,
          "repeatCount": 1,
          "repeatFrequency": 1,
          "warningThreshHold": "900,90%"
        },
        {
          "availability": false,
          "criticalThreshHold": "95",
          "frequency": 15,
          "name": "WINDOWSCPU",
          "raiseAlert": false,
          "repeatCount": 1,
          "repeatFrequency": 1,
          "warningThreshHold": "90"
        },
        {
          "availability": false,
          "criticalThreshHold": "95",
          "frequency": 15,
          "name": "WINDOWSDISK",
          "raiseAlert": false,
          "repeatCount": 1,
          "repeatFrequency": 1,
          "warningThreshHold": "90"
        },
        {
          "availability": false,
          "criticalThreshHold": "96",
          "frequency": 15,
          "name": "WINDOWSDISK",
          "raiseAlert": false,
          "repeatCount": 1,
          "repeatFrequency": 1,
          "warningThreshHold": "90"
        },
        {
          "availability": false,
          "criticalThreshHold": "94",
          "frequency": 15,
          "name": "WINDOWSDISK",
          "raiseAlert": false,
          "repeatCount": 1,
          "repeatFrequency": 1,
          "warningThreshHold": "90"
        },
        {
          "availability": false,
          "criticalThreshHold": "95",
          "frequency": 15,
          "name": "WINDOWSMEMORY",
          "raiseAlert": false,
          "repeatCount": 1,
          "repeatFrequency": 1,
          "warningThreshHold": "90"
        },
        {
          "availability": false,
          "criticalThreshHold": "1",
          "frequency": 15,
          "name": "WINDOWSUPTIME",
          "raiseAlert": false,
          "repeatCount": 1,
          "repeatFrequency": 1,
          "warningThreshHold": "5"
        }
      ],
      "name": "Testing Template with Gateway",
      "resourceType": "DEVICE",
      "status": "ACTIVE",
      "uniqueId": "c2996225-0cee-47bc-b347-9f1e98ad4fbc",
      "updatedDate": "2016-05-24T13:32:32+0000"
    },
    {
      "collectorType": "OpsRamp Cloud",
      "createdDate": "2014-11-18T07:51:14+0000",
      "description": "",
      "generation": 1,
      "id": 6706,
      "monitors": [
        {
          "availability": false,
          "criticalThreshHold": "",
          "frequency": 15,
          "name": "Agent Status",
          "raiseAlert": false,
          "repeatCount": 1,
          "repeatFrequency": 1,
          "warningThreshHold": ""
        }
      ],
      "name": "GATEWAY DEVICE MONITOR TEMPLATE",
      "resourceType": "DEVICE",
      "status": "ACTIVE",
      "uniqueId": "ELRZM98FIAWNKWQ2XK4QFW9G",
      "updatedDate": "2014-12-01T14:26:09+0000"
    }
  ],
  "totalPages": 1,
  "totalResults": 4
}