04 Oct 2024 03:46 PM - last edited on 25 Nov 2024 08:28 AM by MaciejNeumann
I am unable to distribute the OneAgent Extension to OneAgent.
I have added the ca.pem file (root certificate) to location: C:\ProgramData\dynatrace\oneagent\agent\config\certificates on OneAgent.
On adding the Monitoring Configuration from UI , I get log: Monitoring configuration created
But, after that I do not get any log and configuration stays in Pending State.
I have checked that Extension is not present on path: C:\ProgramData\dynatrace\oneagent\log\extensions
Also, I am unable to find name of extension in ruxitagent logs on path : C:\ProgramData\dynatrace\oneagent\log\plugin
The Extension has been configured to run locally:
Can someone please suggest , where I can find logs related to OneAgent Extension Distribution or that why it might not be getting distributed to OneAgent.
Solved! Go to Solution.
07 Oct 2024 10:29 AM
Logs on windows can be found here:
C:\ProgramData\dynatrace\oneagent\log\extensions\ if there is no sub directory called datasource with another sub folder with the extension name then the extension couldn't be deployed at all. Look at the EEC log at the top level folder for info.
If there are no logs either, then the OneAgent version must pre-date the new extension framework or the EEC isn't enabled.
21 Oct 2024 01:35 PM
After upgrading the OneAgent to version 1.291 , I am getting below error on trying to run Extension locally:
STARTUP_ERROR, total restarts - 1
How can I resolve this error ?
30 Nov 2024 09:43 AM - edited 30 Nov 2024 09:52 AM
I checked that issue is due to python library import win32pdh in Extension.
The strange thing is that I am able to run other python files with win32pdh on same host.
But, I am unable to run the same in Dynatrace extensions due to import error.
Is there any way to enable usage of module: win32pdh in extensions ?