using hostname, not fqdn for agent