Use fqdn instead of hostname for agent name