es.sh: log #curl error log and arguments to logfile
discovery trigger: more constraint

When there is no data from the cluster, we do not need
to fire an trigger for every node