<?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: API : how to find the number of hosts (monitored and unmonitored) in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Find-the-number-of-monitored-and-unmonitored-hosts/m-p/170699#M1473</link>
    <description>&lt;P&gt;Unfortunately, it doesn't work.The API returns 1093 hosts when I expect 2060. This is not really surprising since the smartscape does not display known but unmonitored hosts (unless I'm mistaken). But thanks anyway.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Aug 2021 13:12:09 GMT</pubDate>
    <dc:creator>_Fabian_</dc:creator>
    <dc:date>2021-08-12T13:12:09Z</dc:date>
    <item>
      <title>Find the number of monitored and unmonitored hosts</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Find-the-number-of-monitored-and-unmonitored-hosts/m-p/170663#M1469</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how to get the exact same number of hosts detected by Dynatrace. The same number as the one displayed on the attached screenshot (/#settings/deployment/newhostslist)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can't find an API that does this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank You.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 09:26:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Find-the-number-of-monitored-and-unmonitored-hosts/m-p/170663#M1469</guid>
      <dc:creator>_Fabian_</dc:creator>
      <dc:date>2024-08-21T09:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: API : how to find the number of hosts (monitored and unmonitored)</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Find-the-number-of-monitored-and-unmonitored-hosts/m-p/170687#M1470</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/24950"&gt;@_Fabian_&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I understand well, i found the solution for you.&lt;/P&gt;&lt;P&gt;The only way that I see, is to use the API.&lt;/P&gt;&lt;P&gt;Using this call '&lt;SPAN&gt;&lt;STRONG&gt;Gets the list of hosts with OneAgent deployment information for each host&lt;/STRONG&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If your disabling&amp;nbsp;was made since long time, don't forget to change the start time frame: and now with the integer as an entry (with a maximum of 92 days I think).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you need more assistance not hesitate.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 11:38:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Find-the-number-of-monitored-and-unmonitored-hosts/m-p/170687#M1470</guid>
      <dc:creator>Malaik</dc:creator>
      <dc:date>2021-08-12T11:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: API : how to find the number of hosts (monitored and unmonitored)</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Find-the-number-of-monitored-and-unmonitored-hosts/m-p/170689#M1471</link>
      <description>&lt;P&gt;Thank you for the answer. 92 days is far too short. I would need to be able to get the information regardless of the time frame. In fact, I need to get all the hosts on which a watchdog is running.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 11:55:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Find-the-number-of-monitored-and-unmonitored-hosts/m-p/170689#M1471</guid>
      <dc:creator>_Fabian_</dc:creator>
      <dc:date>2021-08-12T11:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: API : how to find the number of hosts (monitored and unmonitored)</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Find-the-number-of-monitored-and-unmonitored-hosts/m-p/170692#M1472</link>
      <description>&lt;P&gt;What you can do is to list all the hosts in Dynatrace Via the API. and from that GET Command, you can also include or choose to exclude monitoring candidates that Dynatrace sees.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChadTurner_0-1628770289220.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/1900i5564BD7E01463E62/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChadTurner_0-1628770289220.png" alt="ChadTurner_0-1628770289220.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 12:12:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Find-the-number-of-monitored-and-unmonitored-hosts/m-p/170692#M1472</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2021-08-12T12:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: API : how to find the number of hosts (monitored and unmonitored)</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Find-the-number-of-monitored-and-unmonitored-hosts/m-p/170699#M1473</link>
      <description>&lt;P&gt;Unfortunately, it doesn't work.The API returns 1093 hosts when I expect 2060. This is not really surprising since the smartscape does not display known but unmonitored hosts (unless I'm mistaken). But thanks anyway.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 13:12:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Find-the-number-of-monitored-and-unmonitored-hosts/m-p/170699#M1473</guid>
      <dc:creator>_Fabian_</dc:creator>
      <dc:date>2021-08-12T13:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: API : how to find the number of hosts (monitored and unmonitored)</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Find-the-number-of-monitored-and-unmonitored-hosts/m-p/170700#M1474</link>
      <description>&lt;P&gt;You may need to increase the payload output as in my tests we get the full output of all hosts. with monitoring candidates excluded&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 13:16:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Find-the-number-of-monitored-and-unmonitored-hosts/m-p/170700#M1474</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2021-08-12T13:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: API : how to find the number of hosts (monitored and unmonitored)</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Find-the-number-of-monitored-and-unmonitored-hosts/m-p/170702#M1475</link>
      <description>&lt;P&gt;I try through the Dynatrace interface. I don't put a limit in the size of the page. Is there any other way to increase the payload?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 13:25:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Find-the-number-of-monitored-and-unmonitored-hosts/m-p/170702#M1475</guid>
      <dc:creator>_Fabian_</dc:creator>
      <dc:date>2021-08-12T13:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: API : how to find the number of hosts (monitored and unmonitored)</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Find-the-number-of-monitored-and-unmonitored-hosts/m-p/170719#M1476</link>
      <description>&lt;P&gt;Ok, I think I've got it (1 year is enough and it returns more than 2000 hosts) :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/api/v2/entities?pageSize=3000&amp;amp;entitySelector=type%28%22HOST%22%29&amp;amp;from=now-1y&amp;amp;to=now&amp;amp;fields=properties.STATE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 14:27:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Find-the-number-of-monitored-and-unmonitored-hosts/m-p/170719#M1476</guid>
      <dc:creator>_Fabian_</dc:creator>
      <dc:date>2021-08-12T14:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: API : how to find the number of hosts (monitored and unmonitored)</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Find-the-number-of-monitored-and-unmonitored-hosts/m-p/170720#M1477</link>
      <description>&lt;P&gt;You're welcome. some people use postman as well as they can gain a larger output since the API UI in Dynatrace can crash and such. Glad to hear that its working as expected &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;img class="lia-deferred-image lia-image-emoji" src="https://community.dynatrace.com/html/@C05EE4F42B21E33B69BD3C641CD041DB/images/emoticons/dancing_blob.gif" alt=":dancing_blob:" title=":dancing_blob:" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 14:31:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Find-the-number-of-monitored-and-unmonitored-hosts/m-p/170720#M1477</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2021-08-12T14:31:49Z</dc:date>
    </item>
  </channel>
</rss>

