<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenText Analytics Database 26.2.x – Hosts</title>
    <link>/en/connecting-to/management-api/rest-apis-agent/hosts/</link>
    <description>Recent content in Hosts on OpenText Analytics Database 26.2.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/connecting-to/management-api/rest-apis-agent/hosts/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Connecting-To: GET hosts</title>
      <link>/en/connecting-to/management-api/rest-apis-agent/hosts/get-hosts/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/management-api/rest-apis-agent/hosts/get-hosts/</guid>
      <description>
        
        
        &lt;p&gt;Returns a list of the hosts in the cluster and the hardware, software, and network details about each host.&lt;/p&gt;
&lt;h2 id=&#34;resource-url&#34;&gt;Resource URL&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;https://&amp;lt;NODE&amp;gt;:5444/hosts
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;authentication&#34;&gt;Authentication&lt;/h2&gt;
&lt;p&gt;Requires a &lt;a href=&#34;../../../../../en/connecting-to/management-api/rest-apis-agent/verticaapikey/#&#34;&gt;VerticaAPIKey&lt;/a&gt; in the request header.&lt;/p&gt;

&lt;p&gt;The API key must have &lt;strong&gt;restricted&lt;/strong&gt; level security or higher.&lt;/p&gt;
&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;p&gt;None.&lt;/p&gt;
&lt;h2 id=&#34;example-request&#34;&gt;Example request&lt;/h2&gt;

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;td &gt;
&lt;strong&gt;GET&lt;/strong&gt;&lt;/td&gt; 

&lt;td &gt;


&lt;code&gt;https://&amp;lt;NODE&amp;gt;:5444/hosts&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

&lt;p&gt;&lt;strong&gt;Response:&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;{
    &amp;#34;body&amp;#34;: [
        {
            &amp;#34;cpu_info&amp;#34;: {
                &amp;#34;cpu_type&amp;#34;: &amp;#34; Intel(R) Xeon(R) CPU E5-2695 v2 @ 2.40GHz&amp;#34;,
                &amp;#34;number_of_cpus&amp;#34;: 2
            },
            &amp;#34;host_id&amp;#34;: &amp;#34;10.20.100.247&amp;#34;,
            &amp;#34;hostname&amp;#34;: &amp;#34;v_vmart_node0001.example.com&amp;#34;,
            &amp;#34;max_user_proc&amp;#34;: &amp;#34;3833&amp;#34;,
            &amp;#34;nics&amp;#34;: [
                {
                    &amp;#34;broadcast&amp;#34;: &amp;#34;10.20.100.255&amp;#34;,
                    &amp;#34;ipaddr&amp;#34;: &amp;#34;10.20.100.247&amp;#34;,
                    &amp;#34;name&amp;#34;: &amp;#34;eth0&amp;#34;,
                    &amp;#34;netmask&amp;#34;: &amp;#34;255.255.255.0&amp;#34;,
                    &amp;#34;speed&amp;#34;: &amp;#34;unknown&amp;#34;
                },
                {
                    &amp;#34;broadcast&amp;#34;: &amp;#34;255.255.255.255&amp;#34;,
                    &amp;#34;ipaddr&amp;#34;: &amp;#34;127.0.0.1&amp;#34;,
                    &amp;#34;name&amp;#34;: &amp;#34;lo&amp;#34;,
                    &amp;#34;netmask&amp;#34;: &amp;#34;255.0.0.0&amp;#34;,
                    &amp;#34;speed&amp;#34;: &amp;#34;locallink&amp;#34;
                }
            ],
            &amp;#34;total_memory&amp;#34;: 3833,
            &amp;#34;vertica&amp;#34;: {
                &amp;#34;arch&amp;#34;: &amp;#34;x86_64&amp;#34;,
                &amp;#34;brand&amp;#34;: &amp;#34;vertica&amp;#34;,
                &amp;#34;release&amp;#34;: &amp;#34;20140716&amp;#34;,
                &amp;#34;version&amp;#34;: &amp;#34;26.2.x0&amp;#34;
            }
        },
        {
            &amp;#34;cpu_info&amp;#34;: {
                &amp;#34;cpu_type&amp;#34;: &amp;#34; Intel(R) Xeon(R) CPU E5-2695 v2 @ 2.40GHz&amp;#34;,
                &amp;#34;number_of_cpus&amp;#34;: 2
            },
            &amp;#34;host_id&amp;#34;: &amp;#34;10.20.100.248&amp;#34;,
            &amp;#34;hostname&amp;#34;: &amp;#34;v_vmart_node0002.example.com&amp;#34;,
            &amp;#34;max_user_proc&amp;#34;: &amp;#34;3833&amp;#34;,
            &amp;#34;nics&amp;#34;: [
                {
                    &amp;#34;broadcast&amp;#34;: &amp;#34;10.20.100.255&amp;#34;,
                    &amp;#34;ipaddr&amp;#34;: &amp;#34;10.20.100.248&amp;#34;,
                    &amp;#34;name&amp;#34;: &amp;#34;eth0&amp;#34;,
                    &amp;#34;netmask&amp;#34;: &amp;#34;255.255.255.0&amp;#34;,
                    &amp;#34;speed&amp;#34;: &amp;#34;unknown&amp;#34;
                },
                {
                    &amp;#34;broadcast&amp;#34;: &amp;#34;255.255.255.255&amp;#34;,
                    &amp;#34;ipaddr&amp;#34;: &amp;#34;127.0.0.1&amp;#34;,
                    &amp;#34;name&amp;#34;: &amp;#34;lo&amp;#34;,
                    &amp;#34;netmask&amp;#34;: &amp;#34;255.0.0.0&amp;#34;,
                    &amp;#34;speed&amp;#34;: &amp;#34;locallink&amp;#34;
                }
            ],
            &amp;#34;total_memory&amp;#34;: 3833,
            &amp;#34;vertica&amp;#34;: {
                &amp;#34;arch&amp;#34;: &amp;#34;x86_64&amp;#34;,
                &amp;#34;brand&amp;#34;: &amp;#34;vertica&amp;#34;,
                &amp;#34;release&amp;#34;: &amp;#34;20140716&amp;#34;,
                &amp;#34;version&amp;#34;: &amp;#34;26.2.x0&amp;#34;
            }
        },
        {
            &amp;#34;cpu_info&amp;#34;: {
                &amp;#34;cpu_type&amp;#34;: &amp;#34; Intel(R) Xeon(R) CPU E5-2695 v2 @ 2.40GHz&amp;#34;,
                &amp;#34;number_of_cpus&amp;#34;: 2
            },
            &amp;#34;host_id&amp;#34;: &amp;#34;10.20.100.249&amp;#34;,
            &amp;#34;hostname&amp;#34;: &amp;#34;v_vmart_node0003.example.com&amp;#34;,
            &amp;#34;max_user_proc&amp;#34;: &amp;#34;3833&amp;#34;,
            &amp;#34;nics&amp;#34;: [
                {
                    &amp;#34;broadcast&amp;#34;: &amp;#34;10.20.100.255&amp;#34;,
                    &amp;#34;ipaddr&amp;#34;: &amp;#34;10.20.100.249&amp;#34;,
                    &amp;#34;name&amp;#34;: &amp;#34;eth0&amp;#34;,
                    &amp;#34;netmask&amp;#34;: &amp;#34;255.255.255.0&amp;#34;,
                    &amp;#34;speed&amp;#34;: &amp;#34;unknown&amp;#34;
                },
                {
                    &amp;#34;broadcast&amp;#34;: &amp;#34;255.255.255.255&amp;#34;,
                    &amp;#34;ipaddr&amp;#34;: &amp;#34;127.0.0.1&amp;#34;,
                    &amp;#34;name&amp;#34;: &amp;#34;lo&amp;#34;,
                    &amp;#34;netmask&amp;#34;: &amp;#34;255.0.0.0&amp;#34;,
                    &amp;#34;speed&amp;#34;: &amp;#34;locallink&amp;#34;
                }
            ],
            &amp;#34;total_memory&amp;#34;: 3833,
            &amp;#34;vertica&amp;#34;: {
                &amp;#34;arch&amp;#34;: &amp;#34;x86_64&amp;#34;,
                &amp;#34;brand&amp;#34;: &amp;#34;vertica&amp;#34;,
                &amp;#34;release&amp;#34;: &amp;#34;20140716&amp;#34;,
                &amp;#34;version&amp;#34;: &amp;#34;26.2.x0&amp;#34;
            }
        }
    ],
    &amp;#34;href&amp;#34;: &amp;#34;/hosts&amp;#34;,
    &amp;#34;links&amp;#34;: [
        &amp;#34;/:hostid&amp;#34;
    ],
    &amp;#34;mime-type&amp;#34;: &amp;#34;application/vertica.hosts.json-v2&amp;#34;
}
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Connecting-To: GET hosts/:hostid</title>
      <link>/en/connecting-to/management-api/rest-apis-agent/hosts/get-hostshostid/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/connecting-to/management-api/rest-apis-agent/hosts/get-hostshostid/</guid>
      <description>
        
        
        &lt;p&gt;Returns hardware, software, and network details about the host identified by &lt;code&gt;:host_id&lt;/code&gt;. You can find &lt;code&gt;:host_id&lt;/code&gt; for each host using &lt;a href=&#34;../../../../../en/connecting-to/management-api/rest-apis-agent/hosts/get-hosts/#&#34;&gt;GET hosts&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;resource-url&#34;&gt;Resource URL&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;https://&amp;lt;NODE&amp;gt;:5444/hosts/:hostid
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;authentication&#34;&gt;Authentication&lt;/h2&gt;
&lt;p&gt;Requires a &lt;a href=&#34;../../../../../en/connecting-to/management-api/rest-apis-agent/verticaapikey/#&#34;&gt;VerticaAPIKey&lt;/a&gt; in the request header.&lt;/p&gt;

&lt;p&gt;The API key must have &lt;strong&gt;restricted&lt;/strong&gt; level security or higher.&lt;/p&gt;
&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;p&gt;None.&lt;/p&gt;
&lt;h2 id=&#34;example-request&#34;&gt;Example request&lt;/h2&gt;

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;td &gt;
&lt;strong&gt;GET&lt;/strong&gt;&lt;/td&gt; 

&lt;td &gt;


&lt;code&gt;https://&amp;lt;NODE&amp;gt;:5444/hosts/:10.20.100.247&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

&lt;p&gt;&lt;strong&gt;Response:&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;{
    &amp;#34;body&amp;#34;: {
        &amp;#34;cpu_info&amp;#34;: {
            &amp;#34;cpu_type&amp;#34;: &amp;#34; Intel(R) Xeon(R) CPU E5-2695 v2 @ 2.40GHz&amp;#34;,
            &amp;#34;number_of_cpus&amp;#34;: 2
        },
        &amp;#34;hostname&amp;#34;: &amp;#34;v_vmart_node0001.example.com&amp;#34;,
        &amp;#34;max_user_proc&amp;#34;: &amp;#34;3833&amp;#34;,
        &amp;#34;nics&amp;#34;: [
            {
                &amp;#34;broadcast&amp;#34;: &amp;#34;10.20.100.255&amp;#34;,
                &amp;#34;ipaddr&amp;#34;: &amp;#34;10.20.100.247&amp;#34;,
                &amp;#34;name&amp;#34;: &amp;#34;eth0&amp;#34;,
                &amp;#34;netmask&amp;#34;: &amp;#34;255.255.255.0&amp;#34;,
                &amp;#34;speed&amp;#34;: &amp;#34;unknown&amp;#34;
            },
            {
                &amp;#34;broadcast&amp;#34;: &amp;#34;255.255.255.255&amp;#34;,
                &amp;#34;ipaddr&amp;#34;: &amp;#34;127.0.0.1&amp;#34;,
                &amp;#34;name&amp;#34;: &amp;#34;lo&amp;#34;,
                &amp;#34;netmask&amp;#34;: &amp;#34;255.0.0.0&amp;#34;,
                &amp;#34;speed&amp;#34;: &amp;#34;locallink&amp;#34;
            }
        ],
        &amp;#34;total_memory&amp;#34;: 3833,
        &amp;#34;vertica&amp;#34;: {
            &amp;#34;arch&amp;#34;: &amp;#34;x86_64&amp;#34;,
            &amp;#34;brand&amp;#34;: &amp;#34;vertica&amp;#34;,
            &amp;#34;release&amp;#34;: &amp;#34;20140716&amp;#34;,
            &amp;#34;version&amp;#34;: &amp;#34;26.2.x0&amp;#34;
        }
    },
    &amp;#34;href&amp;#34;: &amp;#34;/hosts/10.20.100.247&amp;#34;,
    &amp;#34;links&amp;#34;: [],
    &amp;#34;mime-type&amp;#34;: &amp;#34;application/vertica.host.json-v2&amp;#34;
}
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
  </channel>
</rss>
