You can run fully automated OneAgent troubleshooting for Dynatrace SaaS and Managed environments starting with Dynatrace version 1.208.
The workflow enables you to:
If you don't have access to Dynatrace or you would like to script diagnostic data collection, you can use the oneagentctl
command to collect a subset of full diagnostics data right on the host where OneAgent is installed. For more information, see Create support archive.
This procedure describes the default procedure: Dynatrace collects diagnostics data for a host or process and immediately analyzes it.
If you prefer to collect and review the data before manually submitting it to Dynatrace for analysis, see Collect and review locally.
Go to Hosts or Hosts Classic (latest Dynatrace).
Select the host you want to troubleshoot.
Run diagnostics on the host or process level.
On the Run Dynatrace OneAgent diagnostics page, briefly describe what isn’t working as expected from your point of view.
optional By default, 24 hours (1 day) of data is collected for analysis. If you need more data, select the Advanced options link, change the number of days, and select Apply.
Select Start analysis.
Dynatrace does the following:
The State column describes the current phase of the process.
State does not automatically refresh. Select Refresh to check for a state change.
Data collection is in progress. While collecting data, you can:
Dynatrace has finished collecting diagnostic data. After collecting data, you can:
Diagnostic data is being transferred to Dynatrace for analysis. While sending data, you can:
Diagnostic data has been transferred to Dynatrace for analysis.
Dynatrace is now analyzing the diagnostic data.
While analyzing data, you can:
The analysis is done. The number of associated alerts is shown in parentheses.
After an analysis, you can:
The diagnostic data is being deleted. While deleting data, you can:
The diagnostic data has been deleted. Dynatrace keeps only a small set of information about who, when, where, and why the diagnostic data was collected.
The diagnostics process was canceled manually before it was finished.
When the analysis is complete, Dynatrace sends the results back to your environment. If a potential solution is identified, Dynatrace lists it in the Alerts section.
In this example, you can see that the fully automated OneAgent troubleshooting workflow has detected that this OneAgent was mounted on a network file system (NFS), which isn’t supported. Instructions for resolving the issue are included.
This procedure describes how to collect diagnostics data for a host or process locally. Use this option if you prefer to collect and review the data before manually submitting it to Dynatrace for analysis.
If you instead want to collect data and submit it to Dynatrace automatically for analysis, see Analyze automatically.
Go to Hosts or Hosts Classic (latest Dynatrace).
Select the host you want to troubleshoot.
Run diagnostics on the host or process level.
On the Run Dynatrace OneAgent diagnostics page, briefly describe what isn’t working as expected from your point of view.
Select the Advanced options link.
Select and store locally.
1 day
).Select Apply.
Select Start collection to collect diagnostic data and store it locally.
Dynatrace now:
The State column describes the current phase of the process.
State does not automatically refresh. Select Refresh to check for a state change.
Data collection is in progress. While collecting data, you can:
Dynatrace has finished collecting diagnostic data. After collecting data, you can:
Now that the data is collected, you can:
In a Dynatrace Managed air-gapped environment:
Stringent data privacy protections are enforced and logged throughout this process.
For an overview of all OneAgent troubleshooting runs in your environment
The Dynatrace OneAgent diagnostics overview page lists all OneAgent diagnostics activity in your environment. Expand any entry to see details. If the data has not been deleted (all diagnostic data is deleted automatically after 30 days), you can download it or delete it.
All the collected diagnostic data is compressed into a SupportArchive<ID number>
ZIP file that includes the following folders and files:
Folder or file
Description
host
(folder)
Contains a snapshot of the topology information of the host entity including any relationships to other hosts.
monitored_entities
(folder)
Contains a snapshot of the topology information of all involved process groups, process group instances, services, and service instances.
agent_registration_entries
(JSON)
Contains information about which OneAgent code modules are connected to Dynatrace.
archive
(JSON)
Contains information about who, when, where, and why the diagnostic data was collected.
monitoring_state
(JSON)
Contains information about the monitoring state of processes and related problems.
support_archive
(ZIP)
Contains the local configuration of the OneAgent installed on the host or process where you’ve run the troubleshooting, as well as the OneAgent-related log files.
diagnostic_files
ZIP
Contains information about the process group detection, auto-injection problems, and OneAgent extension configuration.
To comply with regional data protection and privacy regulations, Dynatrace does the following:
Masks some personal data before storing a support archive in Cassandra and uploading it to an AWS S3 bucket. For example, IBANs and URI credentials are replaced with <masked>
. However, some personal data may not be masked.
Writes audit log messages when support archives are created, analyzed, accessed, and deleted to ensure transparency in the use of support archives.
Provides access to OneAgent support archives only to users that have the View sensitive request data environment permission.
Automatically deletes all diagnostic data 30 days after its collection.
This applies to the data in your Dynatrace environment. You can also choose to delete collected diagnostic data earlier.
For related details on OneAgent diagnostics, check the following pages:
State does not automatically refresh. Select Refresh to check for a state change.
No, you cannot access the S3 directly or use your own.
OneAgent diagnostics uploads the diagnostic data to the Dynatrace S3 bucket that is configured for the environment/cluster by Dynatrace. The S3 bucket used depends on the location of the environment/cluster.