WMI data source tutorial (Dynatrace Classic) Dynatrace Classic How-to guide 1-min read Updated on Nov 27, 2026 Build a WMI data source extension that runs on OneAgent and monitors a Windows host. This step-by-step tutorial starts with generating a developer certificate and key and distributing your root certificate to Dynatrace components.
Before you begin To successfully develop an Extensions extension and be able to complete this tutorial, you need to fulfill the following prerequisites:
Admin access to a Dynatrace SaaS or Managed environment Windows host (virtual machine) OneAgent version 1.227+ deployed on the host Dynatrace Extensions Python SDK CLI
Python 3.10 or 3.14 Access to pip package installer for Python Install dt-extensions-sdk[cli]
pip install "dt-extensions-sdk[cli]"
For more information, see Sign extensions (Dynatrace Classic) .
Your root certificate uploaded to Dynatrace and on the OneAgent host Generate a developer certificate and key dt extension genca
dt extension generate-developer-pem -o developer.pem --ca-crt ca.pem --ca-key ca.key --name 'JDoe'
The command generates the following files:
developer.pem - your developer certificateca.pem - your root certificateca.key - your root key Distribute the root certificate to Dynatrace components Upload to the Dynatrace Credential Vault Go to Credential Vault . Select Add new credential . For Credential type , select Public Certificate . Select the Extension validation credential scope. Add a meaningful Credential name . Upload the Root certificate file . Select Save . Upload to OneAgent host that runs the extension Go to the following directory:
Windows: C:\ProgramData\dynatrace\oneagent\agent\config Linux: /var/lib/dynatrace/oneagent/agent/config/
Go to the certificates folder (create it if it doesn't exist) Upload your root certificate (ca.pem) generated earlier Your Dynatrace environment is ready to start creating your WMI extension.
Next step : Extension package