title: How to monitor elasticsearch using nagios
body: <p>I would like to monitor elasticsearch using nagios.
  Basiclly, I want to know if elasticsearch is up.</p>
  
  <p>I think I can use the elasticsearch Cluster Health API (<a href="http://www.elasticsearch.org/guide/reference/api/admin-cluster-health.html" rel="noreferrer">see here</a>)</p>
  
  <p>and use the 'status' that I get back (green, yellow or red), but I still don't know how to use nagios for that matter ( nagios is on one server and elasticsearc is on another server ).</p>
  
  <p>Is there another way to do that? </p>
  
  <p><strong>EDIT :</strong>
  I just found that - <a href="http://www.dark.ca/2011/03/04/nagios-plugin-to-parse-json-from-an-http-response/" rel="noreferrer">check_http_json</a>. I think I'll try it.</p>