This is a step-by-step tutorial for building a WMI data source-based extension. You will build a WMI extension that runs on OneAgent and monitors a Windows host.
To successfully develop an Extensions 2.0 extension and be able to complete this tutorial, you need to fulfill the following prerequisites:
pip install dt-cli
dt extension gencadt 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 keyC:\ProgramData\dynatrace\oneagent\agent\config
/var/lib/dynatrace/oneagent/agent/config/
certificates
folder (create it if it doesn't exist)ca.pem
) generated earlierYour Dynatrace environment is ready to start creating your WMI extension.
Next step: Extension package