<?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>article Hosts don't appear after migration between environments in Troubleshooting</title>
    <link>https://community.dynatrace.com/t5/Troubleshooting/Hosts-don-t-appear-after-migration-between-environments/ta-p/294128</link>
    <description>&lt;P&gt;&lt;LI-TOC indent="15" liststyle="disc" maxheadinglevel="2"&gt;&lt;/LI-TOC&gt;&lt;/P&gt;
&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;H2&gt;Summary&lt;/H2&gt;
&lt;DIV&gt;When using tools like Monaco to migrate configuration between Dynatrace environments, it’s important to remember that the process typically transfers all configuration objects unless explicitly filtered. This means that settings specific to one environment - such as rules that &lt;STRONG&gt;disable host monitoring&lt;/STRONG&gt; for certain hosts - will also be migrated. As a result, after the migration, those same host‑monitoring exclusions will appear in the new environment, even if they are not desired there.&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Problem&lt;/H2&gt;
&lt;P&gt;After migration or installation of a new OneAgent, some hosts might not appear in the Dynatrace UI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Troubleshooting steps&lt;/H2&gt;
&lt;P&gt;&lt;SPAN&gt;If hosts are missing from your new tenant after a migration, you will need to collect logs from one of the problematic hosts to investigate.&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE width="858px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="align-left" width="372.43px" height="38px"&gt;&lt;SPAN data-markdown-start-index="598"&gt;Operating System&lt;/SPAN&gt;&lt;/TH&gt;
&lt;TH class="align-left" width="484.57px" height="38px"&gt;&lt;SPAN data-markdown-start-index="617"&gt;Default Log Location&lt;/SPAN&gt;&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="372.43px" height="30px" class="align-left"&gt;&lt;STRONG&gt;&lt;A title="Linux" href="https://docs.dynatrace.com/docs/ingest-from/dynatrace-oneagent/installation-and-operation/linux/installation/disk-space-requirements-for-oneagent-installation-and-update-on-linux" target="_blank" rel="noopener"&gt;&lt;SPAN data-markdown-start-index="653"&gt;Linux&lt;/SPAN&gt;&lt;/A&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="484.57px" height="30px" class="align-left"&gt;&lt;CODE class="inline-code"&gt;&lt;SPAN data-markdown-start-index="845"&gt;/var/log/dynatrace/oneagent&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="372.43px" height="30px" class="align-left"&gt;&lt;STRONG&gt;&lt;A title="Windows" href="https://docs.dynatrace.com/docs/ingest-from/dynatrace-oneagent/installation-and-operation/windows/installation/disk-space-requirements-for-oneagent-installation-and-update-on-windows" target="_self"&gt;&lt;SPAN data-markdown-start-index="880"&gt;Windows&lt;/SPAN&gt;&lt;/A&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="484.57px" height="30px" class="align-left"&gt;&lt;CODE class="inline-code"&gt;&lt;SPAN data-markdown-start-index="1078"&gt;%PROGRAMDATA%\dynatrace\oneagent\log&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-markdown-start-index="1118"&gt;Next, review the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="inline-code"&gt;&lt;SPAN data-markdown-start-index="1136"&gt;ruxitagent_host_&amp;lt;PID&amp;gt;.0.log&lt;/SPAN&gt;&lt;/CODE&gt;&lt;SPAN data-markdown-start-index="1164"&gt;&amp;nbsp;file to determine the agent's status and the reason for its disablement. Depending on what you find, you can:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN data-markdown-start-index="1277"&gt;Refer to the troubleshooting steps:&amp;nbsp;&lt;/SPAN&gt;&lt;A title="https://community.dynatrace.com/t5/Troubleshooting/Host-not-appearing-in-Dynatrace-after-fresh-OneAgent-install/ta-p/278460" href="https://community.dynatrace.com/t5/Troubleshooting/Host-not-appearing-in-Dynatrace-after-fresh-OneAgent-install/ta-p/278460" target="_self"&gt;&lt;SPAN data-markdown-start-index="1327"&gt;Host not appearing in Dynatrace after fresh OneAgent install&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-markdown-start-index="1513"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN data-markdown-start-index="1516"&gt;Or, look for specific connection errors. In this case, the logs might contain the following entries immediately after connecting to the server:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;2026-01-01 00:00:15.452 UTC [0003dc44] info    [native] Got initial setup response (server 0x00000001)
2026-01-01 00:00:15.452 UTC [0003dc44] info    [native] ConfigFromServer: Updating active state to OFF (server 0x00000001)
2026-01-01 00:00:15.453 UTC [0003dc44] info    [native] Disablement reason changed to: [HOST_MONITORING_DISABLED]
2026-01-01 00:00:15.453 UTC [0003dc44] info    [native] ============================== Agent inactivated ============================== (no more data will be sent by this agent, except heartbeats and config requests.)​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Resolution&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As the first step it would be required to get HOST ID from the log file:&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;2026-01-00 00:00:15.732 UTC [00175140] info    [native] OSI ID ...................... 0xABCDEF1234567890
&lt;/LI-CODE&gt;
&lt;P&gt;and then navigate to&amp;nbsp;&lt;STRONG&gt;Host monitoring&lt;/STRONG&gt; settings page the &lt;STRONG&gt;Monitroing this host&lt;/STRONG&gt; toggle may be turned off: &lt;CODE&gt;https://&amp;lt;tenant_id&amp;gt;.apps.dynatrace.com/ui/apps/dynatrace.classic.hosts/ui/settings/HOST-ABCDEF1234567890/builtin:host.monitoring&lt;/CODE&gt;&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anton_konikov_0-1770374354496.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31925i3F0EE59EBC2F63F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="anton_konikov_0-1770374354496.png" alt="anton_konikov_0-1770374354496.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;DIV class="lia-message-template-content-zone"&gt;However, if the host cannot be enabled by turning on the toggle or the host entity wasn't created, please use the &lt;STRONG&gt;Settings API&lt;/STRONG&gt; to retrieve all objects for this schema ID -&amp;nbsp;&lt;CODE&gt;builtin:host.monitoring&lt;/CODE&gt;.&lt;/DIV&gt;
&lt;UL&gt;
&lt;LI class="lia-message-template-content-zone"&gt;&lt;A href="https://docs.dynatrace.com/docs/dynatrace-api/environment-api/settings/objects/get-objects" target="_blank" rel="noopener"&gt;Settings API - GET objects&lt;/A&gt;&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;curl -X 'GET' \
  'https://&amp;lt;tenant&amp;gt;.live.dynatrace.com/api/v2/settings/objects?schemaIds=builtin%3Ahost.monitoring&amp;amp;fields=objectId%2Cvalue&amp;amp;adminAccess=false' \
  -H 'accept: application/json; charset=utf-8' \
  -H 'Authorization: Api-Token &amp;lt;API TOKEN&amp;gt;'​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI class="lia-message-template-content-zone"&gt;and then to enable monitoring -&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/dynatrace-api/environment-api/settings/objects/put-object" target="_blank" rel="noopener"&gt;Settings API - PUT an object&lt;/A&gt;,&amp;nbsp;send a request with the next body:&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;[
  {
    "schemaId": "builtin:host.monitoring",
    "scope": "HOST-ABCDEF1234567890",
    "value": {
      "enabled": true
    }
  },
  {
    "schemaId": "builtin:host.monitoring",
    "scope": "HOST-ABCDEF1234567891",
    "value": {
      "enabled": true
    }
  }
]​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2 id="toc-hId-1977207887"&gt;What's next&lt;/H2&gt;
&lt;P&gt;&lt;SPAN&gt;If the above steps didn't resolve the issue, open a chat and provide a link to the monitor, along with details of the troubleshooting steps you have already completed.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 12 Mar 2026 14:30:44 GMT</pubDate>
    <dc:creator>anton_konikov</dc:creator>
    <dc:date>2026-03-12T14:30:44Z</dc:date>
    <item>
      <title>Hosts don't appear after migration between environments</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/Hosts-don-t-appear-after-migration-between-environments/ta-p/294128</link>
      <description>&lt;P&gt;&lt;LI-TOC indent="15" liststyle="disc" maxheadinglevel="2"&gt;&lt;/LI-TOC&gt;&lt;/P&gt;
&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;H2&gt;Summary&lt;/H2&gt;
&lt;DIV&gt;When using tools like Monaco to migrate configuration between Dynatrace environments, it’s important to remember that the process typically transfers all configuration objects unless explicitly filtered. This means that settings specific to one environment - such as rules that &lt;STRONG&gt;disable host monitoring&lt;/STRONG&gt; for certain hosts - will also be migrated. As a result, after the migration, those same host‑monitoring exclusions will appear in the new environment, even if they are not desired there.&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Problem&lt;/H2&gt;
&lt;P&gt;After migration or installation of a new OneAgent, some hosts might not appear in the Dynatrace UI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Troubleshooting steps&lt;/H2&gt;
&lt;P&gt;&lt;SPAN&gt;If hosts are missing from your new tenant after a migration, you will need to collect logs from one of the problematic hosts to investigate.&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE width="858px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="align-left" width="372.43px" height="38px"&gt;&lt;SPAN data-markdown-start-index="598"&gt;Operating System&lt;/SPAN&gt;&lt;/TH&gt;
&lt;TH class="align-left" width="484.57px" height="38px"&gt;&lt;SPAN data-markdown-start-index="617"&gt;Default Log Location&lt;/SPAN&gt;&lt;/TH&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="372.43px" height="30px" class="align-left"&gt;&lt;STRONG&gt;&lt;A title="Linux" href="https://docs.dynatrace.com/docs/ingest-from/dynatrace-oneagent/installation-and-operation/linux/installation/disk-space-requirements-for-oneagent-installation-and-update-on-linux" target="_blank" rel="noopener"&gt;&lt;SPAN data-markdown-start-index="653"&gt;Linux&lt;/SPAN&gt;&lt;/A&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="484.57px" height="30px" class="align-left"&gt;&lt;CODE class="inline-code"&gt;&lt;SPAN data-markdown-start-index="845"&gt;/var/log/dynatrace/oneagent&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="372.43px" height="30px" class="align-left"&gt;&lt;STRONG&gt;&lt;A title="Windows" href="https://docs.dynatrace.com/docs/ingest-from/dynatrace-oneagent/installation-and-operation/windows/installation/disk-space-requirements-for-oneagent-installation-and-update-on-windows" target="_self"&gt;&lt;SPAN data-markdown-start-index="880"&gt;Windows&lt;/SPAN&gt;&lt;/A&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="484.57px" height="30px" class="align-left"&gt;&lt;CODE class="inline-code"&gt;&lt;SPAN data-markdown-start-index="1078"&gt;%PROGRAMDATA%\dynatrace\oneagent\log&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-markdown-start-index="1118"&gt;Next, review the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="inline-code"&gt;&lt;SPAN data-markdown-start-index="1136"&gt;ruxitagent_host_&amp;lt;PID&amp;gt;.0.log&lt;/SPAN&gt;&lt;/CODE&gt;&lt;SPAN data-markdown-start-index="1164"&gt;&amp;nbsp;file to determine the agent's status and the reason for its disablement. Depending on what you find, you can:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN data-markdown-start-index="1277"&gt;Refer to the troubleshooting steps:&amp;nbsp;&lt;/SPAN&gt;&lt;A title="https://community.dynatrace.com/t5/Troubleshooting/Host-not-appearing-in-Dynatrace-after-fresh-OneAgent-install/ta-p/278460" href="https://community.dynatrace.com/t5/Troubleshooting/Host-not-appearing-in-Dynatrace-after-fresh-OneAgent-install/ta-p/278460" target="_self"&gt;&lt;SPAN data-markdown-start-index="1327"&gt;Host not appearing in Dynatrace after fresh OneAgent install&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-markdown-start-index="1513"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;SPAN data-markdown-start-index="1516"&gt;Or, look for specific connection errors. In this case, the logs might contain the following entries immediately after connecting to the server:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;2026-01-01 00:00:15.452 UTC [0003dc44] info    [native] Got initial setup response (server 0x00000001)
2026-01-01 00:00:15.452 UTC [0003dc44] info    [native] ConfigFromServer: Updating active state to OFF (server 0x00000001)
2026-01-01 00:00:15.453 UTC [0003dc44] info    [native] Disablement reason changed to: [HOST_MONITORING_DISABLED]
2026-01-01 00:00:15.453 UTC [0003dc44] info    [native] ============================== Agent inactivated ============================== (no more data will be sent by this agent, except heartbeats and config requests.)​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Resolution&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As the first step it would be required to get HOST ID from the log file:&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;2026-01-00 00:00:15.732 UTC [00175140] info    [native] OSI ID ...................... 0xABCDEF1234567890
&lt;/LI-CODE&gt;
&lt;P&gt;and then navigate to&amp;nbsp;&lt;STRONG&gt;Host monitoring&lt;/STRONG&gt; settings page the &lt;STRONG&gt;Monitroing this host&lt;/STRONG&gt; toggle may be turned off: &lt;CODE&gt;https://&amp;lt;tenant_id&amp;gt;.apps.dynatrace.com/ui/apps/dynatrace.classic.hosts/ui/settings/HOST-ABCDEF1234567890/builtin:host.monitoring&lt;/CODE&gt;&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anton_konikov_0-1770374354496.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/31925i3F0EE59EBC2F63F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="anton_konikov_0-1770374354496.png" alt="anton_konikov_0-1770374354496.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;DIV class="lia-message-template-content-zone"&gt;However, if the host cannot be enabled by turning on the toggle or the host entity wasn't created, please use the &lt;STRONG&gt;Settings API&lt;/STRONG&gt; to retrieve all objects for this schema ID -&amp;nbsp;&lt;CODE&gt;builtin:host.monitoring&lt;/CODE&gt;.&lt;/DIV&gt;
&lt;UL&gt;
&lt;LI class="lia-message-template-content-zone"&gt;&lt;A href="https://docs.dynatrace.com/docs/dynatrace-api/environment-api/settings/objects/get-objects" target="_blank" rel="noopener"&gt;Settings API - GET objects&lt;/A&gt;&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;curl -X 'GET' \
  'https://&amp;lt;tenant&amp;gt;.live.dynatrace.com/api/v2/settings/objects?schemaIds=builtin%3Ahost.monitoring&amp;amp;fields=objectId%2Cvalue&amp;amp;adminAccess=false' \
  -H 'accept: application/json; charset=utf-8' \
  -H 'Authorization: Api-Token &amp;lt;API TOKEN&amp;gt;'​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI class="lia-message-template-content-zone"&gt;and then to enable monitoring -&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/dynatrace-api/environment-api/settings/objects/put-object" target="_blank" rel="noopener"&gt;Settings API - PUT an object&lt;/A&gt;,&amp;nbsp;send a request with the next body:&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;[
  {
    "schemaId": "builtin:host.monitoring",
    "scope": "HOST-ABCDEF1234567890",
    "value": {
      "enabled": true
    }
  },
  {
    "schemaId": "builtin:host.monitoring",
    "scope": "HOST-ABCDEF1234567891",
    "value": {
      "enabled": true
    }
  }
]​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2 id="toc-hId-1977207887"&gt;What's next&lt;/H2&gt;
&lt;P&gt;&lt;SPAN&gt;If the above steps didn't resolve the issue, open a chat and provide a link to the monitor, along with details of the troubleshooting steps you have already completed.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 12 Mar 2026 14:30:44 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/Hosts-don-t-appear-after-migration-between-environments/ta-p/294128</guid>
      <dc:creator>anton_konikov</dc:creator>
      <dc:date>2026-03-12T14:30:44Z</dc:date>
    </item>
  </channel>
</rss>

