<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Run Custom command with dynatrace plugin in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Run-custom-command-with-Dynatrace-plugin/m-p/289861#M6859</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/26004"&gt;@kay_koedel1&lt;/a&gt;&amp;nbsp; how are you ?. Can you resolved executes the plugin ? I need a solution like this for run commands on OS LINUX, AIX and Windows.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Nov 2025 13:52:07 GMT</pubDate>
    <dc:creator>MillerGEP</dc:creator>
    <dc:date>2025-11-19T13:52:07Z</dc:date>
    <item>
      <title>Run custom command with Dynatrace plugin</title>
      <link>https://community.dynatrace.com/t5/Extensions/Run-custom-command-with-Dynatrace-plugin/m-p/117998#M784</link>
      <description>&lt;P&gt;We want to create a plugin with the Dynatrace SDK that executes a command in unix or Windows. I found out that this is not working when we upload the plugin to the server. In the simulator it works fine&lt;/P&gt;
&lt;PRE&gt;output = subprocess.check_output &lt;/PRE&gt;
&lt;P&gt;or for example or with&lt;/P&gt;
&lt;PRE&gt;cmd = somethind_to_execute&lt;BR /&gt;result_code = os.system(cmd)&lt;/PRE&gt;
&lt;P&gt;What can we do to exectue a command in the plugin?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 15:27:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Run-custom-command-with-Dynatrace-plugin/m-p/117998#M784</guid>
      <dc:creator>kay_koedel1</dc:creator>
      <dc:date>2023-05-18T15:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Run Custom command with dynatrace plugin</title>
      <link>https://community.dynatrace.com/t5/Extensions/Run-custom-command-with-Dynatrace-plugin/m-p/117999#M785</link>
      <description>&lt;P&gt;Can you elaborate what's exactly is not working? Did you put your plugin in plugin_deployment folder? Can you provide us with plugin log files?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 May 2019 10:08:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Run-custom-command-with-Dynatrace-plugin/m-p/117999#M785</guid>
      <dc:creator>radek_j</dc:creator>
      <dc:date>2019-05-09T10:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Run Custom command with dynatrace plugin</title>
      <link>https://community.dynatrace.com/t5/Extensions/Run-custom-command-with-Dynatrace-plugin/m-p/118000#M786</link>
      <description>&lt;P&gt;ok i found out thate generally subprocess it is working. My problem was that the user that executes the simulator ist "&lt;STRONG&gt;root&lt;/STRONG&gt;" and the user that executes the plugin ist "&lt;STRONG&gt;dtuser&lt;/STRONG&gt;". This was missing in the documentation and made the plguin running in the sumulator but not at the server. Is ist possible to run the plugin as root?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 May 2019 08:56:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Run-custom-command-with-Dynatrace-plugin/m-p/118000#M786</guid>
      <dc:creator>kay_koedel1</dc:creator>
      <dc:date>2019-05-10T08:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Run Custom command with dynatrace plugin</title>
      <link>https://community.dynatrace.com/t5/Extensions/Run-custom-command-with-Dynatrace-plugin/m-p/118001#M787</link>
      <description>&lt;P&gt;Due to security constraints all the plugins are executed with dtuser permissions. Indeed it'd might be good to indicate that in plugin sdk documentation explicitly. Currently it's only mentioned in &lt;/P&gt;&lt;P&gt;https://www.dynatrace.com/support/help/technology-support/operating-systems/linux/installation/customize-oneagent-installation-on-linux/&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 May 2019 10:17:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Run-custom-command-with-Dynatrace-plugin/m-p/118001#M787</guid>
      <dc:creator>radek_j</dc:creator>
      <dc:date>2019-05-10T10:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Run Custom command with dynatrace plugin</title>
      <link>https://community.dynatrace.com/t5/Extensions/Run-custom-command-with-Dynatrace-plugin/m-p/289861#M6859</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/26004"&gt;@kay_koedel1&lt;/a&gt;&amp;nbsp; how are you ?. Can you resolved executes the plugin ? I need a solution like this for run commands on OS LINUX, AIX and Windows.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 13:52:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Run-custom-command-with-Dynatrace-plugin/m-p/289861#M6859</guid>
      <dc:creator>MillerGEP</dc:creator>
      <dc:date>2025-11-19T13:52:07Z</dc:date>
    </item>
  </channel>
</rss>

