<?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: Can we obtain license info with dynatrace API? in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Can-we-obtain-license-info-with-dynatrace-API/m-p/74772#M301</link>
    <description>&lt;P&gt;Hi Fransisco,&lt;/P&gt;&lt;P&gt;Not directly but this is possible. The API call to &lt;A href="https://www.dynatrace.com/support/help/dynatrace-api/topology-and-smartscape/how-do-i-fetch-the-list-of-monitored-hosts/"&gt;fetch the list of monitored hosts&lt;/A&gt; also contains the consumed host units for each host in the response. You can write a script (using Python for example to parse this info and calculate the consumed host units) it also contains the info of the hosts monitoring mode (i.e Full Stack or Cloud infra). It is not as simple but it can be done.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;NJ&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jun 2018 19:05:15 GMT</pubDate>
    <dc:creator>nj_njoku</dc:creator>
    <dc:date>2018-06-13T19:05:15Z</dc:date>
    <item>
      <title>Can we obtain license info with dynatrace API?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Can-we-obtain-license-info-with-dynatrace-API/m-p/74771#M300</link>
      <description>&lt;P&gt;We need to get the host license consume, Can we get it using Dynatrace API?&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 14:38:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Can-we-obtain-license-info-with-dynatrace-API/m-p/74771#M300</guid>
      <dc:creator>fporroalonso1</dc:creator>
      <dc:date>2021-05-25T14:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can we obtain license info with dynatrace API?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Can-we-obtain-license-info-with-dynatrace-API/m-p/74772#M301</link>
      <description>&lt;P&gt;Hi Fransisco,&lt;/P&gt;&lt;P&gt;Not directly but this is possible. The API call to &lt;A href="https://www.dynatrace.com/support/help/dynatrace-api/topology-and-smartscape/how-do-i-fetch-the-list-of-monitored-hosts/"&gt;fetch the list of monitored hosts&lt;/A&gt; also contains the consumed host units for each host in the response. You can write a script (using Python for example to parse this info and calculate the consumed host units) it also contains the info of the hosts monitoring mode (i.e Full Stack or Cloud infra). It is not as simple but it can be done.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;NJ&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2018 19:05:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Can-we-obtain-license-info-with-dynatrace-API/m-p/74772#M301</guid>
      <dc:creator>nj_njoku</dc:creator>
      <dc:date>2018-06-13T19:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can we obtain license info with dynatrace API?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Can-we-obtain-license-info-with-dynatrace-API/m-p/74773#M302</link>
      <description>&lt;P&gt;Hi that's is what we saw in the API, but we want to know if it's directly accessible.&lt;/P&gt;&lt;P&gt;We should extract the information then.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 06:22:32 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Can-we-obtain-license-info-with-dynatrace-API/m-p/74773#M302</guid>
      <dc:creator>fporroalonso1</dc:creator>
      <dc:date>2018-06-14T06:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can we obtain license info with dynatrace API?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Can-we-obtain-license-info-with-dynatrace-API/m-p/74774#M303</link>
      <description>&lt;P&gt;No problem. You can create an RFE for this to be directly accessible via an API call.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;NJ&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 17:00:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Can-we-obtain-license-info-with-dynatrace-API/m-p/74774#M303</guid>
      <dc:creator>nj_njoku</dc:creator>
      <dc:date>2018-06-14T17:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can we obtain license info with dynatrace API?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Can-we-obtain-license-info-with-dynatrace-API/m-p/74775#M304</link>
      <description>&lt;P&gt;The API is exporting data of servers that do have monitoring disabled but returned JSON does not show whether monitoring is enabled or disabled. Is that a bug in API behavior? if not, how can we filter on actively monitored hosts?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 11:06:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Can-we-obtain-license-info-with-dynatrace-API/m-p/74775#M304</guid>
      <dc:creator>lmarcosdelga</dc:creator>
      <dc:date>2018-06-19T11:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can we obtain license info with dynatrace API?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Can-we-obtain-license-info-with-dynatrace-API/m-p/74776#M305</link>
      <description>&lt;P&gt;Hi Luis,&lt;/P&gt;&lt;P&gt;For the hosts with monitoring disabled, do you see the &lt;STRONG&gt;agentVersion &lt;/STRONG&gt;property for them? That could be a way to filter them with a script (e.g. python) if there is no value for that property for these disabled hosts. Another possible option is to use the &lt;STRONG&gt;startTimestamp &lt;/STRONG&gt;and &lt;STRONG&gt;endTimestamp &lt;/STRONG&gt;filters in the API call for a more recent time to ensure only recently seen hosts in that time-range are reported. These timestamps must be in UTC milliseconds with a max of 3 days. &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;NJ&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 15:13:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Can-we-obtain-license-info-with-dynatrace-API/m-p/74776#M305</guid>
      <dc:creator>nj_njoku</dc:creator>
      <dc:date>2018-06-19T15:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can we obtain license info with dynatrace API?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Can-we-obtain-license-info-with-dynatrace-API/m-p/74777#M306</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;JSON does contain version information: &lt;/P&gt;&lt;P&gt;"agentVersion":{"major":1,"minor":143,"revision":161,"sourceRevision":"","timestamp":"20180524-165023"}&lt;/P&gt;&lt;P&gt;I guess you refer to firstSeenTimestamp and lastSeenTimestamp, am I correct? if so, would a turned down/unresponsive server get lastSeenTimestamp updated? we could be taking out servers from the report that are temporarily down or unresponsive. Shouldn't disabled monitored servers be taken out of the API query?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2018 08:17:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Can-we-obtain-license-info-with-dynatrace-API/m-p/74777#M306</guid>
      <dc:creator>lmarcosdelga</dc:creator>
      <dc:date>2018-06-20T08:17:34Z</dc:date>
    </item>
  </channel>
</rss>

