Agent Data REST API is used to analyze real-time and short-term historical data to address any capacity and performance issues in your environment.
|  |  |  |  |  | 
|---|
|  |  | Retrieves a list of servers, including the metadata for the servers. You can retrieve a specified set of servers when: A server parameter is declared, a case insensitive search is performed in 'like' mode.Operators are added by the call and 'like' operators are not required from the client. A search is performed as '%searchString%'.
 |  | 
Sample response
  "href": "https://name.bmc.com:8280/dh-services/agent-data/v1/servers/",  "agent.type": "CAPACITY_AGENTS",      "server.name": "name2.bmc.com",      "collection.server": "http://name3.bmc.com:10129"     },     {       "server.name": "name4.bmc.com",      "collection.server": "http://name5.bmc.com:10129"       "server.name": "name4.bmc.com",       "collection.server": "http://name3.bmc.com:10129"     "has.more.data": true | 
|  | agent-data/v1/servers/bydomain/{domainid}/ | Lists available nodes for a specific domain ID. If the domain ID is 0 or null, it returns the nodes that are associated to All domains and the dissociated nodes.  | Parameter required: domainid | 
Sample response
{"domains": [
 {
 "domain": "All domains",
 "structureid": "APP",
 "typeid": "0",
 "id": "0",
 "servers": [
 {
 "server.name": "vm.aaa.com",
 "os": "win",
 "type": "CAPACITY_AGENT",
 "collection.server": "gm.coll.com",
 "structureid": "SYS",
 "id": "xxx",
 "typeid": "25"
 },
 {
 "server.name": "vm2.aaa.com",
 "os": "linux",
 "type": "CAPACITY_AGENT",
 "collection.server": "gm2.coll.com",
 "structureid": "SYS",
 "id": "xxx",
 "typeid": "25"
 }
 ]
 },
 {
 "domain": "Unassociatednodes",
 "structureid": "APP",
 "typeid": "0",
 "id": "-999",
 "servers": [
 {
 "server.name": "vm2.aaa.com",
 "os": "win",
 "type": "CAPACITY_AGENT",
 "collection.server": "gm.coll.com",
 "structureid": "SYS",
 "typeid": "25"
 }
 ]
 }
 ]
 }
 | 
|  | agent-data/v1/collection-groups/ | Lists the metric groups retrieved from the metadata that is stored in the database. |  | 
Sample response
  "href": "https://name.bmc.com:8280/dh-services/agent-data/v1/collection-groups/",  "agent.type": "CAPACITY_AGENTS",          "collection.group": "NT System Statistics",          "collection.group.metadata": {            "collection.group.path": "Windows/System"          "collection.group": "NT System Configuration",          "collection.group.metadata": {            "collection.group.path": "Windows/System"          "collection.group": "NT Collector Information Configuration",          "collection.group.metadata": {            "collection.group.path": "Windows/System"          "collection.group": "NT Collector Statistics",          "collection.group.metadata": {            "collection.group.path": "Windows/System"          "collection.group": "NT Processor Statistics",          "collection.group.metadata": {            "collection.group.path": "Windows/CPU"          "collection.group": "NT CPU Configuration",          "collection.group.metadata": {            "collection.group.path": "Windows/CPU"          "collection.group": "Hyper-V Partition Statistics",          "collection.group.metadata": {            "collection.group.path": "Windows/Hyper-V"          "collection.group": "Collector Statistics",          "collection.group.metadata": {            "collection.group.path": "Unix/System"          "collection.group": "Table Information",          "collection.group.metadata": {            "collection.group.path": "Unix/System"          "collection.group": "Swap Statistics",          "collection.group.metadata": {            "collection.group.path": "Unix/Storage"          "collection.group": "Disk Quota Statistics",          "collection.group.metadata": {            "collection.group.path": "Unix/Storage"          "collection.group": "Physical Partition Configuration",          "collection.group.metadata": {            "collection.group.path": "Unix/Solaris LDOM-DSD"          "collection.group": "Veritas Statistics",          "collection.group.metadata": {            "collection.group.path": "Unix/Solaris"          "collection.group": "ZFS Statistics",          "collection.group.metadata": {            "collection.group.path": "Unix/Solaris"          "collection.group": "Pool Configuration",          "collection.group.metadata": {            "collection.group.path": "Unix/Solaris" | 
|  | agent-data/v1/collectiongroups/metrics/ | Retrieves the associated set of 'collected metrics' for a specific collection group. | 
Sample request
          "collection.group": "Cpu Statistics",          "collection.group.metadata": {            "collection.group.path": "Unix/CPU" | 
Sample response
{   "href": "https://name.bmc.com:8280/dh-services/agent-data/v1/collection-groups/metrics/",  "agent.type": "CAPACITY_AGENTS",          "collection.group": "Cpu Statistics",          "collection.group.metadata": {            "collection.group.subresources": [            "collection.group.path": "Unix/CPU"              "metric": "CPU Idle Time",              "metric": "CPU Interrupt Time",              "metric": "CPU Involuntary Wait",              "metric": "Spins On Mutexes", | 
|  | agent-data/v1/timeranges/ | Retrieves available time ranges for a specific set of servers or collection groups. | 
Sample request
    "server.name": "lnx01ud.bmc.com",        "collection.group": "System Statistics"    "server.name": "vw-aus-bco-qa19",        "collection.group": "NT System Statistics" | 
Sample response
{   "href": "https://name.bmc.com:8280/dh-services/agent-data/v1/timeranges/",      "server.name": "lnx01ud.bmc.com",      "collection.server": "http://name5.bmc.com:10129",       "collection.group": "System Statistics",        "2020-04-30 02:02:05": "2020-05-01 02:00:56",        "2020-05-01 02:02:05": "2020-05-02 02:00:56",        "2020-05-02 02:02:05": "2020-05-03 02:00:56",        "2020-05-03 02:02:05": "2020-05-04 02:00:56",      "collection.server": "http://name5.bmc.com:10129",       "collection.group": "NT System Statistics",        "2020-04-30 02:02:06": "2020-05-01 02:00:58",        "2020-05-01 02:02:08": "2020-05-02 02:00:58",        "2020-05-02 02:02:08": "2020-05-03 02:00:58",        "2020-05-03 02:02:08": "2020-05-04 02:00:58",  "agent.type": "CAPACITY_AGENTS" | 
|  |  | Retrieves the data points for a specific set of the following entities: serverscollection groupsmetricstime periodresolution
 | 
Sample request
{ "analysis.type" : "CHART_ANALYSIS",         "server.name":"pl-pun-bco-dv02.bmc.com",              "collection.group":"System Statistics",               "collection.group.metadata":{                  "collection.group.path":"Unix/CPU",                  "collection.group.subresources":[//For offsets from the current time, use the followig time filter.//The following values are valid. 
H1 - Last hourD1 - Last dayD7- Last seven daysD30 - For last month
 //For specific time ranges, use the following filter:
     "time.filter":{
        "from.ts":"yyyy-MM-dd HH:mm:ss","to.ts":"yyyy-MM-dd HH:mm:ss"
 }
 //For example, "2022-01-06 10:03:24"HH is the 24 hour format ranging from 0 to 23.
 | 
Sample response
  "href": "https://name.bmc.com:8280/dh-services/agent-data/v1/data/",  "agent.type": "CAPACITY_AGENTS",  "analysis.type": "CHART_ANALYSIS",    "from.ts": "2020-05-08 10:03:24",    "to.ts": "2020-05-08 11:03:24"      "server.name": "name6.bmc.com",       "collection.server": "http://name5.bmc.com:10129",         "collection.group": "System Statistics",        "metric": "CPU Utilization",      "label": "System Statistics - CPU Utilization",      "ts": "2020-05-08 09:59:59",      "ts": "2020-05-08 10:04:59",      "ts": "2020-05-08 10:05:09",      "ts": "2020-05-08 10:05:19",      "ts": "2020-05-08 10:05:29",      "ts": "2020-05-08 10:05:39",      "ts": "2020-05-08 10:05:49",      "ts": "2020-05-08 10:05:59",      "ts": "2020-05-08 10:06:09",      "ts": "2020-05-08 10:06:19",      "ts": "2020-05-08 10:06:29",      "ts": "2020-05-08 10:06:39",      "ts": "2020-05-08 10:06:49",      "ts": "2020-05-08 10:06:59",      "ts": "2020-05-08 10:07:09",      "ts": "2020-05-08 10:07:19",      "ts": "2020-05-08 10:07:29",      "ts": "2020-05-08 10:07:39",      "ts": "2020-05-08 10:07:49",      "ts": "2020-05-08 10:07:59",      "ts": "2020-05-08 10:08:09",      "ts": "2020-05-08 10:08:19",      "ts": "2020-05-08 10:08:29",      "ts": "2020-05-08 11:02:59",      "ts": "2020-05-08 11:03:09",    "percentage.upperbound": 100, |