title: Query solr cluster for state of nodes
body: <p>I'm trying to tweak our system status check to see the state of the Solr nodes in our SolrCloud. I'm facing the following problems:</p>
  
  <p>We send a query to each of the Solr nodes separately. If we get a response and the status of the response is 0, we assume the node is running. Unfortunately, we've seen cases in which the node is recovering or even down and select queries are still handled.</p>
  
  <p>In hope to prevent this, we've added a check which sends a ping request to solr. If the status returned by this is request reads 'OK' we assume the node is up. Unfortunately even with this request, if the node is recovering or down, this check won't fail.</p>
  
  <p>My question is: What is the correct way to check the status of a node in SolrCloud? </p>