# OneAgent Extension Distribution

**URL:** <https://community.dynatrace.com/t/oneagent-extension-distribution/48151>\
**Category:** Extensions\
**Tags:** oneagent, extensions\
**Created:** [October 4, 2024, 2:46pm UTC](https://community.dynatrace.com/t/oneagent-extension-distribution/48151 "2024-10-04T14:46:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![guptasahil942](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@guptasahil942](https://community.dynatrace.com/u/guptasahil942)\
**Post date:** [October 4, 2024, 2:46pm UTC](https://community.dynatrace.com/t/oneagent-extension-distribution/48151/1 "2024-10-04T14:46:57Z")

</div>

I am unable to distribute the OneAgent Extension to OneAgent.

I have added the ca.pem file (root certificate) to location:&nbsp;C:\ProgramData\dynatrace\oneagent\agent\config\certificates on OneAgent.

On adding the Monitoring Configuration from UI , I get log:&nbsp; **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:&nbsp;C:\ProgramData\dynatrace\oneagent\log\extensions

Also, I am unable to find name of extension in ruxitagent logs on path :&nbsp;C:\ProgramData\dynatrace\oneagent\log\plugin

The Extension has been configured to run locally:

activation:&nbsp; &nbsp; local:&nbsp; &nbsp; &nbsp; path: activationSchema.json

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.

---

<div class="post-metadata">

**Author:** ![florent\_duchate](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/florent_duchate/32/12258_2.png) [@florent\_duchate](https://community.dynatrace.com/u/florent_duchate)\
**Post date:** [October 7, 2024, 9:29am UTC](https://community.dynatrace.com/t/oneagent-extension-distribution/48151/2 "2024-10-07T09:29:53Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![guptasahil942](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@guptasahil942](https://community.dynatrace.com/u/guptasahil942)\
**Post date:** [October 21, 2024, 12:35pm UTC](https://community.dynatrace.com/t/oneagent-extension-distribution/48151/3 "2024-10-21T12:35:28Z")

</div>

After upgrading the OneAgent to version 1.291 , I am getting below error on trying to run Extension locally:

STARTUP\_ERROR, total restarts - 1

 ![guptasahil942_0-1729514048742.png](https://global.discourse-cdn.com/dynatrace/original/3X/8/d/8d050d7e39c04938cb4c9483b2caa6bba48dd543.png)

How can I resolve this error ?

---

<div class="post-metadata">

**Author:** ![gshashank](https://avatars.discourse-cdn.com/v4/letter/g/c67d28/32.png) [@gshashank](https://community.dynatrace.com/u/gshashank)\
**Post date:** [November 22, 2024, 4:50pm UTC](https://community.dynatrace.com/t/oneagent-extension-distribution/48151/4 "2024-11-22T16:50:01Z")

</div>

Hi, check this&nbsp;[page](https://community.dynatrace.com/topic/262878)

---

<div class="post-metadata">

**Author:** ![guptasahil942](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@guptasahil942](https://community.dynatrace.com/u/guptasahil942)\
**Post date:** [November 30, 2024, 9:43am UTC](https://community.dynatrace.com/t/oneagent-extension-distribution/48151/5 "2024-11-30T09:43:48Z")

</div>

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:&nbsp;win32pdh in extensions ?
