[NGRINDER-697]Shorten agent and monitor state string