DataDog/dd-agent — pull request #106 by conorbranagan (2012-07-09 21:24:56+00:00)
Title: Support Elasticsearch < 0.19

If no hostname is given by Elasticsearch, use `/_cluster/nodes` URL to look up the IP for the primary interface and compare that to a list of INET addresses captured by `ifconfig` (on Mac) or `ip addr`.

This should mean that < 0.19 will have the same functionality as > 0.19.