OneAgent data source
Data Manager is included in all Service Collection Premium and Enterprise plans.
Dynatrace OneAgent is a unified monitoring solution deployed across IT environments. It monitors applications, services, processes, and infrastructure components.
The OneAgent data source uses an API connection to bring OneAgent data into Data Manager.
This task requires Data Manager & Adapters admin permissions to complete. See how permissions and roles work in Data Manager.
Before you begin:
Ask your Dynatrace SME to confirm that OneAgent is API‑enabled.
Ensure API URL and API token details are available.
How do I connect OneAgent to Data Manager?
Gather all of the Data Manager type information, including the data source name, short display name, and the data source type.
Gather the OneAgent fields – this may require consultation with the OneAgent subject matter expert (SME).
In Data Manager, add a new data source by selecting the tool you which to connect and configure with all the gathered information.
Each time this data source is fetched the data becomes raw data.
Data Manager fields
You need to specify the following information from Data Manager:
Data source name – the name of the data source used to run, transform, map, cleanse, and import the data.
Short display name – a unique name as a data source label.
Data source type – what type of data the tool is providing. For example, Assets, CMDB, user location.
OneAgent fields
API URL – URL for your Dynatrace environment.
API token – unique identifier to authenticate the Dynatrace API client.
Authentication and authorization
In the Dynatrace menu, select Access tokens.
Select Generate new token.
Enter a token name.
Select required scopes; ensure the token includes the DataExport scope.
Select Generate token.
API call
The adapter queries OneAgent for host data:
API:
{api-url}/api/v1/oneagentsMethod:
GETResponse: list of hosts with the fields below.
Fields Retrieved
The following fields are retrieved:
EntityId
DisplayName
DiscoveredName
FirstSeenTimestamp
LastSeenTimestamp
OsType
OsArchitecture
OsVersion
HypervisorType
IpAddresses
Bitness
CpuCores
LogicalCpuCores
CloudType
MonitoringMode
NetworkZoneId
ConsumedHostUnits
UserLevel
AutoInjection
LocalIp
AmiId]
AwsSecurityGroup
AwsInstanceType
LocalHostName
AwsInstanceId
CustomizedName
EsxiHostName
VmwareName
AwsNameTagWas this helpful?