OneAgent monitoring configuration API - GET configuration
Gets the monitoring configuration of OneAgent on the specified host.
The request produces an application/json
payload.
GET |
|
Authentication
To execute this request, you need the Read configuration (ReadConfig
) permission assigned to your API token. To learn how to obtain and use it, see Tokens and authentication.
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
id | string |
The Dynatrace entity ID of the required host. |
path | required |
Response
Response codes
Code | Description |
---|---|
200 | Success |
Response body
The MonitoringConfig object
Monitoring configuration of OneAgent.
Element | Type | Description |
---|---|---|
metadata | ConfigurationMetadata | |
id | string | The Dynatrace entity ID of the host where OneAgent is deployed. |
monitoringEnabled | boolean | The monitoring is enabled ( |
monitoringMode | string | The monitoring mode for the host: full stack or infrastructure only. |
The ConfigurationMetadata object
Metadata useful for debugging
Element | Type | Description |
---|---|---|
configurationVersions | integer[] | A Sorted list of the version numbers of the configuration. |
currentConfigurationVersions | string[] | A Sorted list of string version numbers of the configuration. |
clusterVersion | string | Dynatrace server version. |
{
"metadata": {
"configurationVersions": [
"integer"
],
"currentConfigurationVersions": [
"string"
],
"clusterVersion": "1.192.1"
},
"id": "HOST-0123456789ABCDE",
"monitoringEnabled": true,
"monitoringMode": "FULL_STACK"
}