es.sh: report name of the master node
template: fix trigger behavior

When clustre switchers from #yellow to #red, the #yellow event
should be marked as OK. It is still open