LauraAlbrecht608310 - I was wondering why you were asking where the agent name is (since I think I saw one of your posts where you pointed out where the agent name is) :) The actual server name where an agent is installed is not stored in any of the tables. If you leave the agent name blank in the ini file, then it will take the server's name as the agent name.
I guess you can try and create a script that will do a
ping -a xyz.***.z.abc (loop through a SQLI vara to get the IP address of your agents), then process the result to get the server name (and optionally store it in a VARA). Not exactly straightforward, but it's an option.