[NGRINDER-486]Support agent auto-update

Make more compatible in cluster mode