<?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: No objectif for host in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/No-objectif-for-host/m-p/224855#M2679</link>
    <description>&lt;P&gt;All hosts monitored with OneAgent should be available to be manged thru the schema &lt;SPAN&gt;builtin:host.monitoring.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you provide more details of this host you are not seeing its objectid?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Oct 2023 14:29:27 GMT</pubDate>
    <dc:creator>dannemca</dc:creator>
    <dc:date>2023-10-09T14:29:27Z</dc:date>
    <item>
      <title>No objectif for host</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/No-objectif-for-host/m-p/224850#M2677</link>
      <description>&lt;P&gt;Hello does anyone know why some host have no objectid. I try to take obectid for automatic disable monitoring and somme host haven't objectid !&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 14:20:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/No-objectif-for-host/m-p/224850#M2677</guid>
      <dc:creator>MDA</dc:creator>
      <dc:date>2023-10-09T14:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: No objectif fot host</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/No-objectif-for-host/m-p/224851#M2678</link>
      <description>&lt;P&gt;Can you elaborate more on your question? Hosts have an&amp;nbsp;&lt;STRONG&gt;Entity&amp;nbsp;ID&lt;/STRONG&gt; which looks like&amp;nbsp;&lt;STRONG&gt;HOST-XXXXXXXXXXXXXXXX&lt;/STRONG&gt; where the Xs represent an hexadecimal number. Object IDs are used in the &lt;A href="https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings" target="_blank" rel="noopener"&gt;Settings API&lt;/A&gt;&amp;nbsp;and refer to configuration elements, like management zones, tags, alerting profiles, etc.&lt;/P&gt;&lt;P&gt;Basically, a host is an entity and has an entity ID and a configuration element is some kind of setting of Dynatrace and has an object ID.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 14:10:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/No-objectif-for-host/m-p/224851#M2678</guid>
      <dc:creator>victor_balbuena</dc:creator>
      <dc:date>2023-10-09T14:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: No objectif for host</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/No-objectif-for-host/m-p/224855#M2679</link>
      <description>&lt;P&gt;All hosts monitored with OneAgent should be available to be manged thru the schema &lt;SPAN&gt;builtin:host.monitoring.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you provide more details of this host you are not seeing its objectid?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 14:29:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/No-objectif-for-host/m-p/224855#M2679</guid>
      <dc:creator>dannemca</dc:creator>
      <dc:date>2023-10-09T14:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: No objectif fot host</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/No-objectif-for-host/m-p/224861#M2680</link>
      <description>&lt;P&gt;Hello Victor,&lt;/P&gt;&lt;P&gt;yes, in fact if i take setting obect API(&lt;SPAN&gt;&lt;SPAN class=""&gt;GET&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A class="" href="https://dynatrace.dsic.minint.fr/e/772d6733-8abb-4283-87f4-8a512c838f2e/rest-api-doc/index.jsp?urls.primaryName=Environment%20API%20v2#/Settings%20-%20Objects/getSettingsObjects" target="_blank" rel="noopener"&gt;/settings/objects&amp;nbsp;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;Lists persisted settings objects)&lt;/P&gt;&lt;P&gt;with Hostid on scope , you have a result&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MDA_0-1696862516402.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/14491i1C2C9A6DC8643DBD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MDA_0-1696862516402.png" alt="MDA_0-1696862516402.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but sometime&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MDA_1-1696862602150.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/14492i6CE9862F19BB9192/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MDA_1-1696862602150.png" alt="MDA_1-1696862602150.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;So on the past whe have an API for disabled monitoring, now it seems we have to use seting object API, but how can we put (&lt;SPAN&gt;&lt;SPAN class=""&gt;PUT&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A class="" href="https://metro.dynatrace.dsic.minint.fr/e/8f1d8e6e-fd30-499b-9d4d-989bfdc4cda0/rest-api-doc/index.jsp?urls.primaryName=Environment%20API%20v2#/Settings%20-%20Objects/putSettingsObjectByObjectId" target="_blank" rel="noopener"&gt;/settings/objects/{objectId}&amp;nbsp;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;Updates an existing settings object)&lt;/P&gt;&lt;P&gt;new value, the required element is objectid !&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 14:48:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/No-objectif-for-host/m-p/224861#M2680</guid>
      <dc:creator>MDA</dc:creator>
      <dc:date>2023-10-09T14:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: No objectif for host</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/No-objectif-for-host/m-p/224868#M2681</link>
      <description>&lt;P&gt;Hi,dannemca&lt;/P&gt;&lt;P&gt;there is a lot off hosts, it's not one host, and on different cluster. In my example, i 've 5 objectid / 24 hosts.&lt;/P&gt;&lt;P&gt;i've to check the diff, it seems thats the 5 host (good objectid) have no host group set.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 15:23:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/No-objectif-for-host/m-p/224868#M2681</guid>
      <dc:creator>MDA</dc:creator>
      <dc:date>2023-10-09T15:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: No objectif for host</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/No-objectif-for-host/m-p/224917#M2682</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i confirm the only difference is : the five host entity with ojectid haven't host group setting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 06:56:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/No-objectif-for-host/m-p/224917#M2682</guid>
      <dc:creator>MDA</dc:creator>
      <dc:date>2023-10-10T06:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: No objectif fot host</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/No-objectif-for-host/m-p/224921#M2683</link>
      <description>&lt;P&gt;So if I get this correctly, the first GET gives you an object ID which refers to the settings object for&amp;nbsp;"&lt;SPAN&gt;automatic disable monitoring". However, if this configuration has not been modified previously, you don't get an object ID for it, it's just empty as your second example. In that case, consider that the PUT request is for modifying an existing configuration, what you need to use here is the &lt;A href="https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings/objects/post-object" target="_blank" rel="noopener"&gt;POST request&lt;/A&gt; to create a new configuration, using the actual HOST ID in the scope.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So if the object ID is there, you can use PUT. If the object ID is not there for one host, you can use POST to create it an assign an object ID to that host's settings.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 07:07:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/No-objectif-for-host/m-p/224921#M2683</guid>
      <dc:creator>victor_balbuena</dc:creator>
      <dc:date>2023-10-10T07:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: No objectif fot host</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/No-objectif-for-host/m-p/224960#M2685</link>
      <description>&lt;P&gt;Thank you Victor,&lt;/P&gt;&lt;P&gt;I focused on this obectid and the solution was in front of me with the&amp;nbsp;POST API.&lt;/P&gt;&lt;P&gt;Have a good day&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 09:11:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/No-objectif-for-host/m-p/224960#M2685</guid>
      <dc:creator>MDA</dc:creator>
      <dc:date>2023-10-10T09:11:36Z</dc:date>
    </item>
  </channel>
</rss>

