Skip to end of metadata
Go to start of metadata

On this page:

Related pages:

Your Rating:
1 Star2 Star3 Star4 Star5 Star
1 rates

This topic is a reference for the configuration properties for the .NET Agent that can be set using Windows System Environment Variables. 

Agent Account Name

Specifies the account name for the SaaS or multi-tenant Controller.

Type: String
Default: For single-tenant Controllers, the agent assumes the default of "customer1" if you do not specify an account name.
Required: Only for SaaS or multi-tenant Controllers.

Agent Application Name

Specifies the business application you use in the Controller. If the application name does not exist, the Controller will create it when the agent registers. See Overview of Application Monitoring.

Type: String
Default: None
Required: Yes

Agent Account Password  

Specifies the account access key for the Controller. 

Default: None
Required: Yes

Agent Node Name

The name of the node.

In general, the node name must be unique within the business application and physical host. If you want to use the same node name for multiple nodes on the same physical machine, create multiple virtual hosts using the Unique Host ID property. See Unique Host ID.

Type: String

Default: None
Required: Yes

Agent Reuse Node Name

Set this environment variable to true to reuse node names in AppDynamics. When you set the property to true, you don't need to supply a node name, but you do need to provide a node name prefix using APPDYNAMICS_AGENT_REUSE_NODE_NAME_PREFIX.

This property is useful for monitoring environments where there are many CLRs with short life spans. When true, AppDynamics reuses the node names of historical CLRs for new CLRs. This avoids a proliferation of differently named nodes in AppDynamics over time, particularly when the nodes are essentially identical processes that run over different times. 

AppDynamics generates a node name with App, Tier, and Sequence number. The node names are pooled. For example, the sequence numbers are reused when the nodes are purged (based on the node lifetime).

When the .NET Agent starts up, it logs output to the console until it registers with the Controller and the Controller generates the node name. 

The Controller reuses node names based on the node.retention.period property.

Type: Boolean

Default: False
Required: No

Example: Using the following environmental variable specifications, the Controller generates a node name with the prefix "reportGen". Node names will have suffixes --1, --2, and so on, depending on the number of nodes are running in parallel. The name of a node that is shut down and qualifies as a historical node may be reused by a new node. 



Agent Reuse Node Name Prefix

When you configure the agent to reuse node names, use this property to specify the prefix the Controller uses to generate node names dynamically.  

Type: String

Default: None
Example: Using the following environmental variable specifications, the agent directs the Controller to generate a node name with the prefix "
reportGen". Node names will have suffixes --1, --2, and so on, depending on how many nodes are running in parallel.



Agent Tier Name

Specifies the name of the tier that this .NET node belongs to. Note that this is not the deployment name on the application server.

Type: String

Default: None

Required: Yes

Agent Unique Host ID

Logically partitions a single physical host or virtual machine such that it appears to the Controller that the application is running on different machines. Set the value to a string that is unique across the entire managed infrastructure. The string may not contain any spaces. If you have a machine agent associated with the application monitored by the app agent, then this property must be set on the machine agent to the same value. See Standalone Machine Agent Installation Scenarios.

Type: String
Default: None
Required: No

Controller Hostname

Specifies the hostname or the IP address of the AppDynamics Controller. For an on-premises Controller, use the value for Application Server Host Name you provided when you installed the Controller. If you use the AppDynamics SaaS Controller, see the Welcome email from AppDynamics for the name of your Controller. 

Type: String

Default: None
Required: Yes, may also be set in the agent config.xml file or using the agent configuration utility.

Controller Port Number

Specifies the HTTP(S) port of the AppDynamics Controller. If the APPDYNAMICS.CONTROLLER.SSL.ENABLED environment variable is set to true, specify the HTTPS port of the Controller; otherwise, specify the HTTP port. 

Type: Positive Integer
Default: 8090

For On-premises installations, the defaults are port 8090 for HTTP and port 8181 for HTTPS.

 For the SaaS Controller, use port 80 for HTTP or port 443 for HTTPS.

Required: Yes, may also be set in the agent config.xml file or using the agent configuration utility.

Controller SSL Enabled 

When set to "true" enables encryption over SSL between the agent and the Controller.

Type: Boolean
Default: false

Required: No, may also be set in the agent config.xml file or using the agent configuration utility.

Reference of Environment Variables

The .NET Agent (via config.xml) can reference any environment variables when configuring Agent Node Name, Agent Tier Name, or Controller Application Name.

These environment variables can be referenced in the configuration file or in the agent environment variables for the node, tier, and application names listed above. To include an environment variable, reference it by specifying %<variable>% which can be combined with the other characters; for example, Web-%COMPUTERNAME% will be translated to Web-HOST23.

  • No labels