List Cluster ActiveGates
This page will soon be available only on the dedicated Dynatrace Managed Documentation site. Update your bookmarks.
Lists all available ActiveGates.
Authentication
To execute this request, you need the Service Provider API (ServiceProviderAPI
) permission assigned to your API token. Generate your API token via Cluster Management Console (CMC). To learn how to obtain and use it, see Cluster API - Authentication.
Endpoint
/api/cluster/v2/activeGates
The ID returned for the Cluster ActiveGate v2 endpoint is a hexadecimal representation of the node ID. If you want to use the ID in other endpoints that require the entity ID—for example, v1 endpoints with /api/v1.0/onpremise/sslCertificate
—you need to convert it to the decimal representation of the entity ID.
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
hostname | string | Filters the resulting set of ActiveGates by the name of the host it's running on. You can specify a partial name. In that case, the | query | optional |
osType | string | Filters the resulting set of ActiveGates by the OS type of the host it's running on.
| query | optional |
networkAddress | string | Filters the resulting set of ActiveGates by the network address. You can specify a partial address. In that case, the | query | optional |
loadBalancerAddress | string | Filters the resulting set of ActiveGates by the Load Balancer address. You can specify a partial address. In that case, the | query | optional |
type | string | Filters the resulting set of ActiveGates by the ActiveGate type.
| query | optional |
networkZone | string | Filters the resulting set of ActiveGates by the network zone. You can specify a partial name. In that case, the | query | optional |
updateStatus | string | Filters the resulting set of ActiveGates by the auto-update status.
| query | optional |
versionCompareType | string | Filters the resulting set of ActiveGates by the specified version. Specify the comparison operator here.
| query | optional |
version | string | Filters the resulting set of ActiveGates by the specified version. Specify the version in | query | optional |
autoUpdate | string | Filters the resulting set of ActiveGates by the actual state of auto-update.
| query | optional |
group | string | Filters the resulting set of ActiveGates by the group. You can specify a partial name. In that case, the | query | optional |
online | boolean | Filters the resulting set of ActiveGates by the communication status. | query | optional |
enabledModule | string[] | Filters the resulting set of ActiveGates by the enabled modules.
| query | optional |
disabledModule | string[] | Filters the resulting set of ActiveGates by the disabled modules.
| query | optional |
containerized | boolean | Filters the resulting set of ActiveGates to those which are running in container ( | query | optional |
Response
Response codes
Code | Type | Description |
---|---|---|
200 | ActiveGateList | Success |
400 | ErrorEnvelope | Failed. The input is invalid. |
Response body objects
The ActiveGateList
object
A list of ActiveGates.
Element | Type | Description |
---|---|---|
activeGates | ActiveGate[] | A list of ActiveGates. |
The ActiveGate
object
Parameters of the ActiveGate.
Element | Type | Description |
---|---|---|
id | string | The ID of the ActiveGate. |
networkAddresses | string[] | A list of network addresses of the ActiveGate. |
loadBalancerAddresses | string[] | A list of Load Balancer addresses of the ActiveGate. |
osType | string | The OS type that the ActiveGate is running on.
|
autoUpdateStatus | string | The current status of auto-updates of the ActiveGate.
|
offlineSince | integer | The timestamp since when the ActiveGate is offline. The |
version | string | The current version of the ActiveGate in the |
type | string | The type of the ActiveGate.
|
hostname | string | The name of the host the ActiveGate is running on. |
mainEnvironment | string | The ID of the main environment for a multi-environment ActiveGate. |
environments | string[] | A list of environments (specified by IDs) the ActiveGate can connect to. |
autoUpdateSettings | ActiveGateAutoUpdateConfig | Configuration of the ActiveGate auto-updates. |
networkZone | string | The network zone of the ActiveGate. |
group | string | The group of the ActiveGate. |
modules | ActiveGateModule[] | A list of modules of the ActiveGate. |
containerized | boolean | ActiveGate is deployed in container ( |
connectedHosts | ActiveGateConnectedHosts | Information about hosts currently connected to the ActiveGate |
The ActiveGateAutoUpdateConfig
object
Configuration of the ActiveGate auto-updates.
Element | Type | Description |
---|---|---|
setting | string | The state of the ActiveGate auto-update: enabled, disabled, or inherited. If set to
|
effectiveSetting | string | The actual state of the ActiveGate auto-update. Applicable only if the setting parameter is set to
|
The ActiveGateModule
object
Information about ActiveGate module
Element | Type | Description |
---|---|---|
misconfigured | boolean | The module is misconfigured ( |
version | string | The version of the ActiveGate module. |
type | string | The type of ActiveGate module.
|
attributes | object | The attributes of the ActiveGate module. |
enabled | boolean | The module is enabled ( |
The ActiveGateConnectedHosts
object
Information about hosts currently connected to the ActiveGate
Element | Type | Description |
---|---|---|
number | integer | The number of hosts currently connected to the ActiveGate |
Response body JSON model
1{2 "activeGates": [3 {4 "id": "0x3efdd091",5 "networkAddresses": [6 "string"7 ],8 "loadBalancerAddresses": [9 "string"10 ],11 "osType": "WINDOWS",12 "autoUpdateStatus": "OUTDATED",13 "offlineSince": 1582031917814,14 "version": "1.185.0.20200201-120000",15 "type": "ENVIRONMENT",16 "hostname": "exampleHostname",17 "mainEnvironment": "d1bf4a7e-666b-43af-9f45-718g98372e2f",18 "environments": [19 "string"20 ],21 "autoUpdateSettings": {22 "setting": "INHERITED",23 "effectiveSetting": "ENABLED"24 },25 "networkZone": "exampleNetworkZone",26 "group": "default",27 "modules": [28 {29 "misconfigured": true,30 "version": "string",31 "type": "KUBERNETES",32 "attributes": {},33 "enabled": true34 }35 ],36 "containerized": true,37 "connectedHosts": {38 "number": 15039 }40 }41 ]42}
Example
In this example, the request lists all available ActiveGates.
The API token is passed in the Authorization header.
Curl
1curl -X GET "https://latest.managed-dev.dynalabs.io/api/cluster/v2/activeGates?versionCompareType=EQUAL" -H "accept: application/json; charset=utf-8" -H "Authorization: Api-Token dt0c01.123245ABC6XYZ12345ABCEFG.ABCDEFGHIFONYABCWKIHM6HDNWP4QK2EOABC6EDEF6HIJ3C33CUBTABC64ABC"
Request URL
1https://myManaged.cluster.com/api/cluster/v2/activeGates?versionCompareType=EQUAL
Response body
1{2 "activeGates": [3 {4 "id": "0x12f7f345",5 "networkAddresses": [6 "10.0.2.15"7 ],8 "loadBalancerAddresses": [],9 "osType": "LINUX",10 "osArchitecture": "X86",11 "osBitness": "64",12 "autoUpdateStatus": "OUTDATED",13 "offlineSince": 1656926608637,14 "version": "1.242.0.20220506-012008",15 "type": "ENVIRONMENT",16 "hostname": "10.0.3.14",17 "mainEnvironment": null,18 "environments": [],19 "autoUpdateSettings": {20 "setting": "INHERITED",21 "effectiveSetting": "DISABLED"22 },23 "networkZone": "aistitenantzone",24 "group": "default",25 "modules": [],26 "containerized": false,27 "connectedHosts": {28 "number": 029 },30 "activeGateTokens": []31 },32 {33 "id": "0xe12f4b4e",34 "networkAddresses": [35 "abc.efg-hij.org",36 "172.18.149.164"37 ],38 "loadBalancerAddresses": [39 "172.18.149.164"40 ],41 "osType": "LINUX",42 "osArchitecture": "X86",43 "osBitness": "64",44 "autoUpdateStatus": "UP2DATE",45 "offlineSince": null,46 "version": "1.247.0.20220707-181710",47 "type": "CLUSTER",48 "hostname": "abc.efg-hij.org",49 "mainEnvironment": null,50 "environments": [],51 "autoUpdateSettings": {52 "setting": "ENABLED",53 "effectiveSetting": "ENABLED"54 },55 "networkZone": "ab-cde-xyz",56 "group": "default",57 "modules": [58 {59 "type": "AWS",60 "enabled": true,61 "attributes": {},62 "version": null,63 "misconfigured": false64 },65 {66 "type": "ONE_AGENT_ROUTING",67 "enabled": true,68 "attributes": {},69 "version": null,70 "misconfigured": false71 },72 {73 "type": "Z_OS",74 "enabled": false,75 "attributes": {},76 "version": null,77 "misconfigured": false78 },79 {80 "type": "KUBERNETES",81 "enabled": true,82 "attributes": {},83 "version": null,84 "misconfigured": false85 },86 {87 "type": "METRIC_API",88 "enabled": true,89 "attributes": {},90 "version": null,91 "misconfigured": false92 },93 {94 "type": "EXTENSIONS_V1",95 "enabled": false,96 "attributes": {},97 "version": null,98 "misconfigured": false99 },100 {101 "type": "VMWARE",102 "enabled": true,103 "attributes": {},104 "version": null,105 "misconfigured": false106 },107 {108 "type": "CLOUD_FOUNDRY",109 "enabled": true,110 "attributes": {},111 "version": null,112 "misconfigured": false113 },114 {115 "type": "SYNTHETIC",116 "enabled": false,117 "attributes": {118 "SYNTHETIC_BROWSER_MONITOR": "false",119 "SYNTHETIC_HTTP_MONITOR": "false"120 },121 "version": null,122 "misconfigured": false123 },124 {125 "type": "DB_INSIGHT",126 "enabled": true,127 "attributes": {},128 "version": null,129 "misconfigured": false130 },131 {132 "type": "REST_API",133 "enabled": true,134 "attributes": {},135 "version": null,136 "misconfigured": false137 },138 {139 "type": "OTLP_INGEST",140 "enabled": true,141 "attributes": {},142 "version": null,143 "misconfigured": false144 },145 {146 "type": "MEMORY_DUMPS",147 "enabled": false,148 "attributes": {},149 "version": null,150 "misconfigured": false151 },152 {153 "type": "AZURE",154 "enabled": true,155 "attributes": {},156 "version": null,157 "misconfigured": false158 },159 {160 "type": "LOGS",161 "enabled": true,162 "attributes": {},163 "version": null,164 "misconfigured": false165 },166 {167 "type": "EXTENSIONS_V2",168 "enabled": false,169 "attributes": {},170 "version": null,171 "misconfigured": false172 },173 {174 "type": "BEACON_FORWARDER",175 "enabled": true,176 "attributes": {},177 "version": null,178 "misconfigured": false179 }180 ],181 "containerized": false,182 "connectedHosts": {183 "number": 3184 },185 "activeGateTokens": [186 {187 "state": "VALID",188 "id": "dt0g02.ABC2FTDE",189 "environmentId": null190 }191 ]192 }193 ]194}
Response code
200