<?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>question Re: How to check on NiFi node health from an external system (e.g. load balancer) in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-check-on-NiFi-node-health-from-an-external-system-e-g/m-p/112900#M54786</link>
    <description>&lt;P&gt;Great, thanks &lt;A rel="user" href="https://community.cloudera.com/users/11287/brosander.html" nodeid="11287"&gt;@brosander&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Feb 2017 23:26:45 GMT</pubDate>
    <dc:creator>Raj_B</dc:creator>
    <dc:date>2017-02-17T23:26:45Z</dc:date>
    <item>
      <title>How to check on NiFi node health from an external system (e.g. load balancer)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-check-on-NiFi-node-health-from-an-external-system-e-g/m-p/112898#M54784</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;How can an external system check on the health of the NiFi nodes in a cluster. For example, a load balancer that's pushing data to NiFi cluster nodes needs to know which nodes have NiFi up and running; what property/state/flag in the NiFi node can be leveraged to verify that the NiFi instance is running on the Node and can accept data from the load balancer.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 22:48:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-check-on-NiFi-node-health-from-an-external-system-e-g/m-p/112898#M54784</guid>
      <dc:creator>Raj_B</dc:creator>
      <dc:date>2017-02-17T22:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to check on NiFi node health from an external system (e.g. load balancer)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-check-on-NiFi-node-health-from-an-external-system-e-g/m-p/112899#M54785</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/10100/rbolla.html" nodeid="10100"&gt;@Raj B&lt;/A&gt;&lt;/P&gt;&lt;P&gt;One endpoint that gives a lot of metrics about current load, etc would be the system diagnostics REST endpoint.  Depending on what else you're looking for (individual processor state, etc) there are other endpoints that might be useful.&lt;/P&gt;&lt;P&gt;REST documentation is available at &lt;A href="https://nifi.apache.org/docs/nifi-docs/rest-api/" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/rest-api/&lt;/A&gt; or from the help menu of a NiFi instance.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bryan&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 23:03:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-check-on-NiFi-node-health-from-an-external-system-e-g/m-p/112899#M54785</guid>
      <dc:creator>brosander</dc:creator>
      <dc:date>2017-02-17T23:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to check on NiFi node health from an external system (e.g. load balancer)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-check-on-NiFi-node-health-from-an-external-system-e-g/m-p/112900#M54786</link>
      <description>&lt;P&gt;Great, thanks &lt;A rel="user" href="https://community.cloudera.com/users/11287/brosander.html" nodeid="11287"&gt;@brosander&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 23:26:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-check-on-NiFi-node-health-from-an-external-system-e-g/m-p/112900#M54786</guid>
      <dc:creator>Raj_B</dc:creator>
      <dc:date>2017-02-17T23:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to check on NiFi node health from an external system (e.g. load balancer)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-check-on-NiFi-node-health-from-an-external-system-e-g/m-p/112901#M54787</link>
      <description>&lt;P&gt;No problem, one thing to know about the REST api is that the url paths are all prefixed with /nifi-api&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;For localhost 8080 system diagnostics, you'd want to hit:&lt;/P&gt;&lt;P&gt;&lt;A href="http://localhost:8080/nifi-api/system-diagnostics" target="_blank"&gt;http://localhost:8080/nifi-api/system-diagnostics&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 23:52:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-check-on-NiFi-node-health-from-an-external-system-e-g/m-p/112901#M54787</guid>
      <dc:creator>brosander</dc:creator>
      <dc:date>2017-02-17T23:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to check on NiFi node health from an external system (e.g. load balancer)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-check-on-NiFi-node-health-from-an-external-system-e-g/m-p/112902#M54788</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/11287/brosander.html" nodeid="11287"&gt;@brosander&lt;/A&gt;, just want to clarify my understanding; if a GET request to the URL &lt;A href="http://server:8080/nifi-api/system-diagnostics"&gt;http://server:8080/nifi-api/system-diagnostics&lt;/A&gt; returns any data then the assumption is NiFi is up and running, and when no response is returned it is safe to conclude that NiFi on the node is not available. Is that right ?  &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 18 Feb 2017 00:49:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-check-on-NiFi-node-health-from-an-external-system-e-g/m-p/112902#M54788</guid>
      <dc:creator>Raj_B</dc:creator>
      <dc:date>2017-02-18T00:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to check on NiFi node health from an external system (e.g. load balancer)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-check-on-NiFi-node-health-from-an-external-system-e-g/m-p/112903#M54789</link>
      <description>&lt;P&gt;In case of a secure NiFi instance, you can check for heartbeat with this curl command below&lt;/P&gt;&lt;PRE&gt;curl 'https://&amp;lt;nifi-server&amp;gt;:8077/nifi-api/access/token' -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' --data 'username=&amp;lt;username&amp;gt;&amp;amp;password=&amp;lt;password&amp;gt;' --compressed --insecure&lt;/PRE&gt;&lt;P&gt;if you get a token back, the NiFi instance is up and running.&lt;/P&gt;&lt;P&gt;Here is the link where this is posted/answered - &lt;A href="https://community.hortonworks.com/questions/96713/nifi-api-unable-to-validate-the-access-token-error.html" target="_blank"&gt;https://community.hortonworks.com/questions/96713/nifi-api-unable-to-validate-the-access-token-error.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2017 03:16:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-check-on-NiFi-node-health-from-an-external-system-e-g/m-p/112903#M54789</guid>
      <dc:creator>Raj_B</dc:creator>
      <dc:date>2017-04-29T03:16:36Z</dc:date>
    </item>
  </channel>
</rss>

