<?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 to get host cpu configuration in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/How-to-get-host-CPU-configuration/m-p/198672#M2151</link>
    <description>&lt;P&gt;Hello Andre,&lt;/P&gt;&lt;P&gt;Yes that's running perfect ! I could get the number of cores and many other usefull informations.&lt;/P&gt;&lt;P&gt;By the way, one extra question ! in the json answer fle, physical memory size is not exactly an Mb or Gb multiple.&lt;/P&gt;&lt;P&gt;Example :&lt;/P&gt;&lt;P&gt;Our server has 32Gb RAM, but in the json file we have find :&lt;/P&gt;&lt;P&gt;"memoryTotal": 33512501248,&lt;BR /&gt;"physicalMemory": 33512501248&lt;/P&gt;&lt;P&gt;And so 33512501248 / (1024 * 1024 *1024) = 31,2109 ....&lt;/P&gt;&lt;P&gt;I Stay confused&lt;/P&gt;</description>
    <pubDate>Fri, 18 Nov 2022 09:14:25 GMT</pubDate>
    <dc:creator>Metrologic</dc:creator>
    <dc:date>2022-11-18T09:14:25Z</dc:date>
    <item>
      <title>How to get host CPU configuration?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/How-to-get-host-CPU-configuration/m-p/198560#M2146</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;We currently use Dynatrace Managed and&amp;nbsp;I would like to get with API v2 the number of CPU or cores configured for each of our hosts (Virtual or Physical standalone servers running windows or Linux).&lt;/P&gt;
&lt;P&gt;I can't find any MetricId in the API V2 list that suit my need.&lt;/P&gt;
&lt;P&gt;I could find the right MetricId for host configured memory (builtin:containers.memory.physicalTotalBytes) but not for host number of Virtual CPU(Or Cores) configured : does anyone found the right metricID ?&lt;/P&gt;
&lt;P&gt;Thanks for your help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 14:11:32 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/How-to-get-host-CPU-configuration/m-p/198560#M2146</guid>
      <dc:creator>Metrologic</dc:creator>
      <dc:date>2024-08-20T14:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to get host cpu configuration</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/How-to-get-host-CPU-configuration/m-p/198563#M2147</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/57060"&gt;@Metrologic&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;have you tried this: &lt;A href="https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Get-Platform-and-Get-Number-of-CPUs/m-p/180812" target="_self"&gt;V2 API - Get Platform and Get Number of CPUs&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 11:26:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/How-to-get-host-CPU-configuration/m-p/198563#M2147</guid>
      <dc:creator>andre_f</dc:creator>
      <dc:date>2022-11-17T11:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to get host cpu configuration</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/How-to-get-host-CPU-configuration/m-p/198570#M2148</link>
      <description>&lt;P&gt;Thank you very much :&amp;nbsp; this seems to be what I need and even more &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'will try and confirm&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 13:15:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/How-to-get-host-CPU-configuration/m-p/198570#M2148</guid>
      <dc:creator>Metrologic</dc:creator>
      <dc:date>2022-11-17T13:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to get host cpu configuration</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/How-to-get-host-CPU-configuration/m-p/198657#M2150</link>
      <description>&lt;P&gt;Yes, would be great if you can let me know if this solution helped. Otherwise I would look again &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 07:28:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/How-to-get-host-CPU-configuration/m-p/198657#M2150</guid>
      <dc:creator>andre_f</dc:creator>
      <dc:date>2022-11-18T07:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to get host cpu configuration</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/How-to-get-host-CPU-configuration/m-p/198672#M2151</link>
      <description>&lt;P&gt;Hello Andre,&lt;/P&gt;&lt;P&gt;Yes that's running perfect ! I could get the number of cores and many other usefull informations.&lt;/P&gt;&lt;P&gt;By the way, one extra question ! in the json answer fle, physical memory size is not exactly an Mb or Gb multiple.&lt;/P&gt;&lt;P&gt;Example :&lt;/P&gt;&lt;P&gt;Our server has 32Gb RAM, but in the json file we have find :&lt;/P&gt;&lt;P&gt;"memoryTotal": 33512501248,&lt;BR /&gt;"physicalMemory": 33512501248&lt;/P&gt;&lt;P&gt;And so 33512501248 / (1024 * 1024 *1024) = 31,2109 ....&lt;/P&gt;&lt;P&gt;I Stay confused&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 09:14:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/How-to-get-host-CPU-configuration/m-p/198672#M2151</guid>
      <dc:creator>Metrologic</dc:creator>
      <dc:date>2022-11-18T09:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to get host cpu configuration</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/How-to-get-host-CPU-configuration/m-p/198677#M2152</link>
      <description>&lt;P&gt;In my case it is ok, I think. This is what Windows shows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andre_f_0-1668764069943.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/8548iB49F3C81956D392E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andre_f_0-1668764069943.png" alt="andre_f_0-1668764069943.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is the API result:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"memoryTotal": 34040684544&lt;/LI-CODE&gt;&lt;P&gt;34040684544 / (1024 * 1024 * 1024) = 31,70....&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 09:40:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/How-to-get-host-CPU-configuration/m-p/198677#M2152</guid>
      <dc:creator>andre_f</dc:creator>
      <dc:date>2022-11-18T09:40:05Z</dc:date>
    </item>
  </channel>
</rss>

