<?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: How can I enable or disable ptrace in OneAgent 1.333, and how can I verify whether OneAgent is using ptrace? in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/How-can-I-enable-or-disable-ptrace-in-OneAgent-1-333-and-how-can/m-p/303862#M40168</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/106212"&gt;@Nakazato_IIM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ruxitagentproc.conf is regenerated from server-side config on restart that's why your manual enablePtrace off entry got wiped. It's not meant for persistent hand-editing.&lt;BR /&gt;enablePtrace isn't a documented/supported parameter in OneAgent's public config reference, so I can't confirm the correct syntax or behavior.&lt;BR /&gt;For supported config changes, use oneagentctl --get-agent-config / --set-agent-config instead of editing the conf file directly.&lt;BR /&gt;To check what mechanism is actually used at runtime, check the OneAgent logs (/var/lib/dynatrace/oneagent/log/) for that process — it logs whether it attached via LD_PRELOAD injection or ptrace.&lt;/P&gt;&lt;P&gt;Since this isn't in the standard docs, I'd suggest opening a support ticket with Dynatrace for a definitive answer on 1.333 behavior.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sujit&lt;/P&gt;</description>
    <pubDate>Fri, 28 Aug 2026 08:20:58 GMT</pubDate>
    <dc:creator>sujit_k_singh</dc:creator>
    <dc:date>2026-08-28T08:20:58Z</dc:date>
    <item>
      <title>How can I enable or disable ptrace in OneAgent 1.333, and how can I verify whether OneAgent is using ptrace?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-can-I-enable-or-disable-ptrace-in-OneAgent-1-333-and-how-can/m-p/303852#M40165</link>
      <description>&lt;P&gt;&lt;FONT&gt;&lt;FONT&gt;[&lt;EM&gt;Edit from the Moderator: Translation from Google:&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;I am trying to find a way to enable or disable ptrace in a OneAgent 1.333 environment, but I haven't found a working method.&lt;BR /&gt;Here is what I have tested:&lt;/P&gt;
&lt;P&gt;1. I opened the following configuration file:&lt;/P&gt;
&lt;P&gt;/var/lib/dynatrace/oneagent/agent/config/ruxitagentproc.conf&lt;/P&gt;
&lt;P&gt;2.I added the following item to the [general] section (using 'on' to enable and 'off' to disable):&lt;/P&gt;
&lt;P&gt;enablePtrace off&lt;/P&gt;
&lt;P&gt;3. I restarted OneAgent.&lt;/P&gt;
&lt;P&gt;After the restart, I checked the configuration file again and found that the 'enablePtrace off' entry had been automatically removed.&lt;/P&gt;
&lt;P&gt;Questions:&lt;/P&gt;
&lt;P&gt;1. What is the supported method for enabling or disabling ptrace in OneAgent 1.333?&lt;BR /&gt;2. Is it expected behavior for the 'enablePtrace' parameter to be removed from 'ruxitagentproc.conf' after restarting OneAgent?&lt;BR /&gt;3. How can I verify whether OneAgent is actually using ptrace at runtime, rather than another monitoring mechanism?&lt;/P&gt;
&lt;P&gt;I would greatly appreciate any relevant information or documentation.&lt;FONT&gt;&lt;FONT&gt;&lt;BR /&gt;]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;OneAgent 1.333環境でptraceを有効または無効にする方法を調べていますが、有効な方法が見つかりません。&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;H3&gt;&lt;FONT&gt;&lt;FONT&gt;私がテストしたもの&lt;/FONT&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;FONT&gt;&lt;FONT&gt;以下の設定ファイルを開きました。&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;
&lt;PRE&gt;&lt;SPAN&gt;&lt;FONT&gt;&lt;FONT&gt;/var/lib/dynatrace/oneagent/agent/config/ruxitagentproc.conf&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV&gt;&lt;FONT&gt;&lt;FONT&gt;[general] セクションに以下の項目を追加しました（有効にするには on、無効にするには off を使用します）。&lt;/FONT&gt;&lt;/FONT&gt;
&lt;PRE&gt;&lt;SPAN&gt;&lt;FONT&gt;&lt;FONT&gt;enablePtrace をオフにする&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV&gt;&lt;FONT&gt;&lt;FONT&gt;OneAgentを再起動しました。&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;DIV&gt;&lt;FONT&gt;&lt;FONT&gt;再起動後、設定ファイルを再度確認したところ、enablePtrace off のエントリが自動的に削除されていることがわかりました。&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;H3&gt;&lt;FONT&gt;&lt;FONT&gt;質問&lt;/FONT&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;FONT&gt;&lt;FONT&gt;OneAgent 1.333でptraceを有効化または無効化するためのサポートされている方法は何ですか？&lt;/FONT&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT&gt;&lt;FONT&gt;OneAgentの再起動後にruxitagentproc.confからenablePtraceパラメータが削除されるのは想定される動作ですか？&lt;/FONT&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT&gt;&lt;FONT&gt;OneAgentが実行時に他の監視メカニズムではなく、実際にptraceを使用しているかどうかを確認するにはどうすればよいですか？&lt;/FONT&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;FONT&gt;&lt;FONT&gt;参考になる情報や資料があれば大変ありがたいです。&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 28 Aug 2026 06:04:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-can-I-enable-or-disable-ptrace-in-OneAgent-1-333-and-how-can/m-p/303852#M40165</guid>
      <dc:creator>Nakazato_IIM</dc:creator>
      <dc:date>2026-08-28T06:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: How can I enable or disable ptrace in OneAgent 1.333, and how can I verify whether OneAgent is using ptrace?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-can-I-enable-or-disable-ptrace-in-OneAgent-1-333-and-how-can/m-p/303862#M40168</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/106212"&gt;@Nakazato_IIM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ruxitagentproc.conf is regenerated from server-side config on restart that's why your manual enablePtrace off entry got wiped. It's not meant for persistent hand-editing.&lt;BR /&gt;enablePtrace isn't a documented/supported parameter in OneAgent's public config reference, so I can't confirm the correct syntax or behavior.&lt;BR /&gt;For supported config changes, use oneagentctl --get-agent-config / --set-agent-config instead of editing the conf file directly.&lt;BR /&gt;To check what mechanism is actually used at runtime, check the OneAgent logs (/var/lib/dynatrace/oneagent/log/) for that process — it logs whether it attached via LD_PRELOAD injection or ptrace.&lt;/P&gt;&lt;P&gt;Since this isn't in the standard docs, I'd suggest opening a support ticket with Dynatrace for a definitive answer on 1.333 behavior.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sujit&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2026 08:20:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-can-I-enable-or-disable-ptrace-in-OneAgent-1-333-and-how-can/m-p/303862#M40168</guid>
      <dc:creator>sujit_k_singh</dc:creator>
      <dc:date>2026-08-28T08:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: How can I enable or disable ptrace in OneAgent 1.333, and how can I verify whether OneAgent is using ptrace?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-can-I-enable-or-disable-ptrace-in-OneAgent-1-333-and-how-can/m-p/303870#M40169</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/67382"&gt;@sujit_k_singh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;BR /&gt;I checked the help for `oneagentctl`, but neither “--get-agent-config” nor “--set-agent-config”&lt;BR /&gt;was listed as an available option.&lt;/P&gt;&lt;P&gt;Based on the above, I understand that modifying `ruxitagentproc.conf` directly may be difficult, but is there really no alternative?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2026 09:30:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-can-I-enable-or-disable-ptrace-in-OneAgent-1-333-and-how-can/m-p/303870#M40169</guid>
      <dc:creator>Nakazato_IIM</dc:creator>
      <dc:date>2026-08-28T09:30:24Z</dc:date>
    </item>
  </channel>
</rss>

