{"id":10231,"date":"2023-06-23T01:43:43","date_gmt":"2023-06-23T08:43:43","guid":{"rendered":"https:\/\/www.couchbase.com\/developers\/tutorials\/monitoring-nodes\/"},"modified":"2023-06-23T01:43:43","modified_gmt":"2023-06-23T08:43:43","slug":"monitoring-nodes","status":"publish","type":"tutorials","link":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/monitoring-nodes\/","title":{"rendered":"Node di monitoraggio"},"content":{"rendered":"\n<h3 id=\"h-codegetcode-nodes-overview\" class=\"wp-block-heading\"><code>GET<\/code> Nodes Overview<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">We can <strong>GET<\/strong> Nodes according to the documentation for <a href=\"https:\/\/docs.couchbase.com\/server\/6.0\/rest-api\/rest-node-get-info.html\">Couchbase REST Node Overview<\/a> using:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>http:\/\/localhost:8091\/pools\/nodes<\/code><\/p>\n\n\n\n<h4 id=\"h-response\" class=\"wp-block-heading\">Response<\/h4>\n\n\n\n<pre class=\"wp-block-code language-json\"><code>{\n  &quot;nodes&quot;: [\n    {\n      &quot;hostname&quot;: &quot;10.112.170.101:8091&quot;,\n      &quot;thisNode&quot;: true,\n      &quot;ports&quot;: {\n        &quot;sslProxy&quot;: 11214,\n        &quot;httpsMgmt&quot;: 18091,\n        &quot;httpsCAPI&quot;: 18092,\n        &quot;proxy&quot;: 11211,\n        &quot;direct&quot;: 11210\n      },\n      &quot;services&quot;: [&quot;fts&quot;, &quot;index&quot;, &quot;kv&quot;, &quot;n1ql&quot;, &quot;cbas&quot;, &quot;eventing&quot;]\n    }\n  ]\n}\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Each node in the cluster is listed in the &#8220;nodes&#8221; array. The <code>thisNode<\/code> attribute indicates the node you have executed the query against. Using this output, a monitoring agent can discover new nodes within the cluster and which services are assigned to those nodes in order to automatically apply the correct monitoring profile.<\/p>\n\n\n\n<h4 id=\"h-key-metrics-to-monitor\" class=\"wp-block-heading\">Key Metrics to Monitor<\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead>\n<tr>\n<th align=\"left\"><strong>Couchbase Metric<\/strong><\/th>\n<th align=\"left\"><strong>Description<\/strong><\/th>\n<th align=\"left\"><strong>Response<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"left\">status<\/td>\n<td align=\"left\">This is a meta metric that indicates overall node health.<\/td>\n<td align=\"left\">Alert if the value is &#8220;unhealthy&#8221;.<\/td>\n<\/tr>\n<tr>\n<td align=\"left\">clusterMembership<\/td>\n<td align=\"left\">Indicates whether the node is an active participant in cluster operations. Possible values are &#8220;active&#8221;, &#8220;inactiveAdded&#8221;, and &#8220;inactiveFailed&#8221;.<\/td>\n<td align=\"left\">Alert on &#8220;inactiveFailed&#8221; and investigate the cause of the node failure.<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<h4 id=\"h-example\" class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">This example illustrates retrieving the status of each node in the cluster.<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>curl \n  --user Administrator:password \n  --silent \n\t--request GET \n  http:\/\/localhost:8091\/pools\/nodes | \n  jq -r &#039;.nodes[] | .hostname + &quot; (&quot; +.status + &quot;)&quot;&#039;\n<\/code><\/pre>\n\n\n\n<h4 id=\"h-example\" class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">The following example displays the cluster membership of each node.<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>curl \n  --user Administrator:password \n  --silent \n\t--request GET \n  http:\/\/localhost:8091\/pools\/nodes | \n  jq -r &#039;.nodes[] | .hostname + &quot; (&quot; +.clusterMembership + &quot;)&quot;&#039;\n<\/code><\/pre>\n\n\n\n<h4 id=\"h-example\" class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Show the services and system stats for each node in the cluster.<\/p>\n\n\n\n<pre class=\"wp-block-code language-bash\"><code>curl \n  --user Administrator:password \n  --silent \n\t--request GET \n  http:\/\/localhost:8091\/pools\/nodes | \n  jq -r &#039;.nodes[] | .hostname + &quot; (&quot; + (.services | join(&quot;, &quot;)) + &quot;)n&quot; +\n  &quot;  cpu_utilization_rate: &quot; +\n    ( .systemStats.cpu_utilization_rate | tostring) + &quot;%n&quot; +\n  &quot;  swap_total: &quot; +\n    ( .systemStats.swap_total \/ 1024 \/ 1024 | tostring) + &quot;MBn&quot; +\n  &quot;  swap_used: &quot; +\n    ( .systemStats.swap_used \/ 1024 \/ 1024 | tostring) + &quot;MB (&quot; +\n    ( (.systemStats.swap_used \/ .systemStats.swap_total) * 100 | tostring) + &quot;%)n&quot; +\n  &quot;  mem_total: &quot; +\n    ( .systemStats.mem_total \/ 1024 \/ 1024 | tostring) + &quot;MBn&quot; +\n  &quot;  mem_free: &quot; +\n    ( .systemStats.mem_free \/ 1024 \/ 1024 | tostring) + &quot;MB (&quot; +\n    ( (.systemStats.mem_free \/ .systemStats.mem_total) * 100 | tostring) + &quot;%)&quot;\n   &#039;\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>GET Nodes Overview We can GET Nodes according to the documentation for Couchbase REST Node Overview using: http:\/\/localhost:8091\/pools\/nodes Response Each node in the cluster is listed in the &#8220;nodes&#8221; array. The thisNode attribute indicates the node you have executed the query against. Using this output, a monitoring agent can discover new nodes within the cluster [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"menu_order":0,"template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"_acf":"","footnotes":""},"tutorial-languages":[551],"tutorial-tags":[564,571,563],"tutorial-technologies":[554],"tutorial-types":[555],"class_list":["post-10231","tutorials","type-tutorials","status-publish","hentry","tutorial-languages-any","tutorial-tags-metrics","tutorial-tags-monitoring","tutorial-tags-observability","tutorial-technologies-server","tutorial-types-tutorial"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.8 (Yoast SEO v28.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Monitoring Nodes - Couchbase<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/monitoring-nodes\/\" \/>\n<meta property=\"og:locale\" content=\"it_IT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Monitoring Nodes\" \/>\n<meta property=\"og:description\" content=\"GET Nodes Overview We can GET Nodes according to the documentation for Couchbase REST Node Overview using: http:\/\/localhost:8091\/pools\/nodes Response Each node in the cluster is listed in the &#8220;nodes&#8221; array. The thisNode attribute indicates the node you have executed the query against. Using this output, a monitoring agent can discover new nodes within the cluster [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/monitoring-nodes\/\" \/>\n<meta property=\"og:site_name\" content=\"Couchbase\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Couchbase\/\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/2026\/10\/Cloud-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2548\" \/>\n\t<meta property=\"og:image:height\" content=\"1171\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@couchbase\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minuti\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/developers\\\/tutorials\\\/monitoring-nodes\\\/\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/developers\\\/tutorials\\\/monitoring-nodes\\\/\",\"name\":\"Monitoring Nodes - Couchbase\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/#website\"},\"datePublished\":\"2023-06-23T08:43:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/developers\\\/tutorials\\\/monitoring-nodes\\\/#breadcrumb\"},\"inLanguage\":\"it-IT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.couchbase.com\\\/it\\\/developers\\\/tutorials\\\/monitoring-nodes\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/developers\\\/tutorials\\\/monitoring-nodes\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.couchbase.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Monitoring Nodes\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/#website\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/\",\"name\":\"Couchbase\",\"description\":\"The Operational Data Platform for AI\u2122\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/#organization\"},\"alternateName\":\"Couchbase, Inc.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"it-IT\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/#organization\",\"name\":\"Couchbase\",\"alternateName\":\"Couchbase, Inc.\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"it-IT\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/Couchbase_Logo_Couchbase_Token_Red-1.png\",\"contentUrl\":\"https:\\\/\\\/www.couchbase.com\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/Couchbase_Logo_Couchbase_Token_Red-1.png\",\"width\":1129,\"height\":1129,\"caption\":\"Couchbase\"},\"image\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/it\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Couchbase\\\/\",\"https:\\\/\\\/x.com\\\/couchbase\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/CouchbaseServer\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/couchbase\\\/\",\"https:\\\/\\\/github.com\\\/couchbase\\\/\",\"https:\\\/\\\/en.wikipedia.org\\\/wiki\\\/Couchbase,_Inc.\"],\"description\":\"Couchbase is a database software company headquartered in San Jose, California, providing an operational data platform for AI used by hundreds of global enterprises.\",\"legalName\":\"Couchbase, Inc.\",\"foundingDate\":\"2011-01-01\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Monitoring Nodes - Couchbase","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/monitoring-nodes\/","og_locale":"it_IT","og_type":"article","og_title":"Monitoring Nodes","og_description":"GET Nodes Overview We can GET Nodes according to the documentation for Couchbase REST Node Overview using: http:\/\/localhost:8091\/pools\/nodes Response Each node in the cluster is listed in the &#8220;nodes&#8221; array. The thisNode attribute indicates the node you have executed the query against. Using this output, a monitoring agent can discover new nodes within the cluster [&hellip;]","og_url":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/monitoring-nodes\/","og_site_name":"Couchbase","article_publisher":"https:\/\/www.facebook.com\/Couchbase\/","og_image":[{"width":2548,"height":1171,"url":"https:\/\/www.couchbase.com\/wp-content\/uploads\/2026\/10\/Cloud-2.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_site":"@couchbase","twitter_misc":{"Est. reading time":"2 minuti"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/monitoring-nodes\/","url":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/monitoring-nodes\/","name":"Monitoring Nodes - Couchbase","isPartOf":{"@id":"https:\/\/www.couchbase.com\/it\/#website"},"datePublished":"2023-06-23T08:43:43+00:00","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/monitoring-nodes\/#breadcrumb"},"inLanguage":"it-IT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/it\/developers\/tutorials\/monitoring-nodes\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/it\/developers\/tutorials\/monitoring-nodes\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/"},{"@type":"ListItem","position":2,"name":"Monitoring Nodes"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/it\/#website","url":"https:\/\/www.couchbase.com\/it\/","name":"Couchbase","description":"The Operational Data Platform for AI\u2122","publisher":{"@id":"https:\/\/www.couchbase.com\/it\/#organization"},"alternateName":"Couchbase, Inc.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/it\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"it-IT"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/it\/#organization","name":"Couchbase","alternateName":"Couchbase, Inc.","url":"https:\/\/www.couchbase.com\/it\/","logo":{"@type":"ImageObject","inLanguage":"it-IT","@id":"https:\/\/www.couchbase.com\/it\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/wp-content\/uploads\/2026\/11\/Couchbase_Logo_Couchbase_Token_Red-1.png","contentUrl":"https:\/\/www.couchbase.com\/wp-content\/uploads\/2026\/11\/Couchbase_Logo_Couchbase_Token_Red-1.png","width":1129,"height":1129,"caption":"Couchbase"},"image":{"@id":"https:\/\/www.couchbase.com\/it\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Couchbase\/","https:\/\/x.com\/couchbase","https:\/\/www.youtube.com\/c\/CouchbaseServer","https:\/\/www.linkedin.com\/company\/couchbase\/","https:\/\/github.com\/couchbase\/","https:\/\/en.wikipedia.org\/wiki\/Couchbase,_Inc."],"description":"Couchbase \u00e8 una societ\u00e0 di software per database con sede a San Jose, in California, che fornisce una piattaforma operativa per i dati utilizzata da centinaia di aziende globali.","legalName":"Couchbase, Inc.","foundingDate":"2011-01-01"}]}},"acf":[],"permalink_manager":null,"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorials\/10231","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorials"}],"about":[{"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/types\/tutorials"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorials\/10231\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/media?parent=10231"}],"wp:term":[{"taxonomy":"tutorial-languages","embeddable":true,"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorial-languages?post=10231"},{"taxonomy":"tutorial-tags","embeddable":true,"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorial-tags?post=10231"},{"taxonomy":"tutorial-technologies","embeddable":true,"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorial-technologies?post=10231"},{"taxonomy":"tutorial-types","embeddable":true,"href":"https:\/\/www.couchbase.com\/it\/wp-json\/wp\/v2\/tutorial-types?post=10231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}