.Net Agent Autonaming not working as expected

Document ID : KB000031018
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

.Net agent name is not working as expected. Using the application virtual directory or context path instead of the IIS web server name.

 

Issue:

IIS Web Server Name is something like  ABC -123 or ABC-123.

What happens is the server prepends an A and drops the ABC, so the agent name looks like A123 instead of ABC-123.

  

Solution:

The APM .Net Agent Guide states the following:

By default, .NET agents that monitor web applications are automatically assigned a name based on the application virtual directory or context path. Agents that monitor non-web-based applications are assigned a name based on the application domain name. CA Technologies recommends using automatic agent naming whenever possible. However, you can explicitly assign a name to an agent.

In this case the virtual path was ABC-123. In summary, the path ends with "123" and so this is used as the Agent name. As it doesn't start with a letter, 'A' is prepended, so in the Workstation the Agent appears as "A123".