updated check_elasticsearch_cluster.pl