# How Install ActiveGate plugin module

**URL:** <https://community.dynatrace.com/t/how-install-activegate-plugin-module/20376>\
**Category:** Extensions\
**Tags:** activegate, extensions\
**Created:** [April 17, 2019, 12:58pm UTC](https://community.dynatrace.com/t/how-install-activegate-plugin-module/20376 "2019-04-17T12:58:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![MAkimov](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@MAkimov](https://community.dynatrace.com/u/MAkimov)\
**Post date:** [April 17, 2019, 12:58pm UTC](https://community.dynatrace.com/t/how-install-activegate-plugin-module/20376/1 "2019-04-17T12:58:18Z")

</div>

Hello

Could anyone help with installetion ActiveGate plugin mode?

I use doc’s instruction but help some misunderstanding [Develop your own Extensions — Dynatrace Docs](https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-sdks/activegate-plugins/development/install-activegate-plugin-module/)

I done:

1. Installed ActiveGate

2. Installed python3 and pip

3. Dowloade SDK and unzip it on ActiveGate

4. Installed SDK (used _pip3 install plugin\_sdk-version.whl_)

5. Upload ActiveGate plugin

 ![20309-screenshot-1.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/8/c8a35d9dd83c472e0abae3b5f6a0b23aca637805.png)

5. But have warning

| _You have no ActiveGate with ActiveGate plugin module running. ActiveGate plugin module is necessary to configure and run new plugin endpoint._ |
| --- |

 ![20310-screenshot-2.png](https://global.discourse-cdn.com/dynatrace/original/3X/3/5/35a8d008792ae23e1ee28ebe7a323e9387fae88e.png)

6. Upload plugin to server

Adn Use command _oneagent\_build\_plugin -t yourtoken_

But here I have **error:**

```auto
Plugin deployed successfully into /opt/plugin-sdk-1.163.277.20190318-125829/examples/demo_activegate_plugin/Hf0Qy_Q5SAqA1JBKuU-PA/custom.remote.python.demo
Plugin archive available at /opt/plugin-sdk-1.163.277.20190318-125829/examples/demo_activegate_plugin/Hf0Qy_Q5SAqA1JBKuU-PA/custom.remote.python.demo.zip
========================================
Restarting service
remotepluginmodule
Redirecting to /bin/systemctl restart remotepluginmodule.service
Failed to restart remotepluginmodule.service: Unit not found.
Error occured: Command '['service', 'remotepluginmodule', 'restart']' returned non-zero exit status 5.

```

**How to run the plugin correctly?**

There are no examples on this case in the troubleshooting section.

---

<div class="post-metadata">

**Author:** ![rodrigo\_alvare1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/rodrigo_alvare1/32/1927_2.png) [@rodrigo\_alvare1](https://community.dynatrace.com/u/rodrigo_alvare1)\
**Post date:** [April 17, 2019, 1:06pm UTC](https://community.dynatrace.com/t/how-install-activegate-plugin-module/20376/2 "2019-04-17T13:06:02Z")

</div>

Hello,

On point 4 I think you have to copy the plugin to the folder plugin deployment before upload it:  
_Copy the ActiveGate demo plugin._

- _Copy the demo `demo_activegate_plugin` directory to `plugin_deployment` directory on your ActiveGate. By default, it’s `C:\Program Files\dynatrace\remotepluginmodule\plugin_deployment` on Windows or `/opt/dynatrace/remotepluginmodule/plugin_deployment` on Linux._

- \*Restart the `Dynatrace Remote Plugin Module` service to make ActiveGate import the new plugin.

---

<div class="post-metadata">

**Author:** ![MAkimov](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@MAkimov](https://community.dynatrace.com/u/MAkimov)\
**Post date:** [April 17, 2019, 1:15pm UTC](https://community.dynatrace.com/t/how-install-activegate-plugin-module/20376/3 "2019-04-17T13:15:33Z")

</div>

I do not have this folder _`/opt/dynatrace/remotepluginmodule/plugin_deployment`_

---

<div class="post-metadata">

**Author:** ![MAkimov](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@MAkimov](https://community.dynatrace.com/u/MAkimov)\
**Post date:** [April 17, 2019, 1:32pm UTC](https://community.dynatrace.com/t/how-install-activegate-plugin-module/20376/4 "2019-04-17T13:32:18Z")

</div>

understood

it turns out the collector must be installed with a flag

```auto
--install-modules

```

in the documentation for some reason not explicitly stated !!!

---

<div class="post-metadata">

**Author:** ![nikolay\_s](https://avatars.discourse-cdn.com/v4/letter/n/3da27b/32.png) [@nikolay\_s](https://community.dynatrace.com/u/nikolay_s)\
**Post date:** [February 24, 2020, 9:26pm UTC](https://community.dynatrace.com/t/how-install-activegate-plugin-module/20376/5 "2020-02-24T21:26:27Z")

</div>

Could you please clarify where and when flag --install-modules should be used? I have the same issue

---

<div class="post-metadata">

**Author:** ![Ingrida](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ingrida/32/13926_2.png) [@Ingrida](https://community.dynatrace.com/u/Ingrida)\
**Post date:** [June 23, 2021, 7:07am UTC](https://community.dynatrace.com/t/how-install-activegate-plugin-module/20376/6 "2021-06-23T07:07:04Z")

</div>

Same here… do we need to reinstall Active Gate for it?!
