Configuration Options for .Net Agent

Install

OptionDescriptionRequiredNote
--additional_configSet the AdditionalConfig.NoN/A
--agent_version stringSet the AgentVersion.NoN/A
--application_name stringSet the ApplicationName.NoRecommended to set to the actual application name.
--backup_dir stringThe agent backup directory.

This is used for saving the current directory of the agent to preserve and use during rollback.

The default value is the parent directory of the Smart Agent. For example,

If Smart Agent path is /opt/appdynamics/smartagent, the backup_dir path will be /opt/appdynamics/smartagent/backup.

NoN/A
--controller_account_access_key stringSet the ControllerAccessKey.YesN/A
--controller_account_name stringSet the ControllerAccountName.YesN/A
--controller_cert_file stringSet the ControllerCertFile.NoN/A
--controller_host_name stringSet the ControllerHostName.YesIf using proxy, set appropriate proxy values.
--controller_port stringSet the ControllerPort.YesIf not using proxy and enable_ssl is set to true, set controller_port=443. If using proxy, set appropriate proxy values.
--custom_ad_setup_file stringSet the CustomADSetupFile.NoN/A
--custom_config_path stringSet the CustomConfigPath.NoN/A
--download_protocol stringSet the DownloadProtocol.NoThe default value is appd.
--download_uri stringSet the DownloadURI.NoThe default value is https://download-files.appdynamics.com.
--enable_sslSet the ControllerEnableSSL.NoN/A
--group stringSet the Group.NoN/A
-h, --helphelp for dotnet_msiNoN/A
--hostname stringSet the Hostname.NoN/A
--ini stringconfig fileNoThe default value is config.ini.
--install_agent_from stringSet the InstallAgentFrom.NoN/A
--keep_backupSet the KeepBackup.NoN/A
--monitor_all_IIS_apps stringSet the MonitorAllIISApps.NoN/A
--reuse_configSet the ReuseConfig.NoN/A
--temp_dir stringSet the temporary directory. The default value is the temporary directory of the operating system. For example, /tmp for linux operating system. This is used to perform the tasks such as downloading the agent, unzipping the artifacts, during the install or upgrade process. This directory gets cleaned up after the execution of the task.NoN/A
--user stringSet the User.NoN/A
--windows_custom_agent_install_path stringSet the AgentCustomInstallPath.NoRecommended. The value should not be equal to <smart-agent-home-dir>/../dotnet-agent. If this value is not provided, the default is C:\Program Files\AppDynamics\AppDynamics .NET Agent.
--windows_install_root stringSet the AppDDefaultInstallRoot.NoN/A
--log-file stringFile to write logs toNoThe default value is C:\Users\<username>\AppData\Local\Temp\go-build1907265984\b002\exe\log.log.
--output-format stringLog output format: json or consoleNoThe default value is json.
--remoteRun the command on remote systems instead of locallyNoN/A
--verboseEnable verbose/debug loggingNoN/A

Uninstall

OptionDescriptionRequiredNote
--additional_configSet the AdditionalConfig.NoN/A
--agent_version stringSet the AgentVersion.NoN/A
--application_name stringSet the ApplicationName.NoN/A
--backup_dir stringThe agent backup directory.

This is used for saving the current directory of the agent to preserve and use during rollback.

The default value is the parent directory of the Smart Agent. For example,

If Smart Agent path is /opt/appdynamics/smartagent, the backup_dir path will be /opt/appdynamics/smartagent/backup.

NoN/A
--controller_account_access_key stringSet the ControllerAccessKey.YesN/A
--controller_account_name stringSet the ControllerAccountName.YesN/A
--controller_cert_file stringSet the ControllerCertFile.NoN/A
--controller_host_name stringSet the ControllerHostName.YesIf using proxy, set appropriate proxy values.
--controller_port stringSet the ControllerPort.YesIf not using proxy and enable_ssl is set to true, set controller_port=443. If using proxy, set appropriate proxy values.
--custom_ad_setup_file stringSet the CustomADSetupFile.NoN/A
--custom_config_path stringSet the CustomConfigPath.NoN/A
--download_protocol stringSet the DownloadProtocol.NoThe default value is appd.
--download_uri stringSet the DownloadURI.NoThe default value is https://download-files.appdynamics.com.
--enable_sslSet the ControllerEnableSSL.NoN/A
--group stringSet the Group.NoN/A
-h, --helphelp for dotnet_msiNoN/A
--hostname stringSet the Hostname.NoN/A
--ini stringconfig fileNoThe default value is config.ini.
--install_agent_from stringSet the InstallAgentFrom.NoN/A
--keep_backupSet the KeepBackup.NoN/A
--monitor_all_IIS_apps stringSet the MonitorAllIISApps.NoN/A
--reuse_configSet the ReuseConfig.NoN/A
--temp_dir stringSet the TempDir.NoN/A
--user stringSet the User.NoN/A
--windows_custom_agent_install_path stringSet the AgentCustomInstallPath.NoRecommended. The value should not be equal to <smart-agent-home-dir>/../dotnet-agent. If this value is not provided, the default is C:\Program Files\AppDynamics\AppDynamics .NET Agent.
--windows_install_root stringSet the AppDDefaultInstallRoot.NoN/A
--verboseEnable verbose/debug loggingNoN/A
--remoteRun the command on remote systems instead of locallyNoN/A
--output-format stringLog output format: json or consoleNoThe default value is json.
log-file stringFile to write logs toNoThe default value is C:\Users\<username>\AppData\Local\Temp\go-build1907265984\b002\exe\log.log.

Upgrade

OptionDescriptionRequiredNote
--additional_configSet the AdditionalConfig.NoN/A
--agent_version stringSet the AgentVersion.NoN/A
--application_name stringSet the ApplicationName.NoRecommended to set to the actual application name.
--backup_dir stringSet the AgentBackupDir.NoN/A
--controller_account_access_key stringSet the ControllerAccessKey.YesN/A
--controller_account_name stringSet the ControllerAccountName.YesN/A
--controller_cert_file stringSet the ControllerCertFile.NoN/A
--controller_host_name stringSet the ControllerHostName.YesIf using proxy, set appropriate proxy values.
--controller_port stringSet the ControllerPort.YesIf not using proxy and enable_ssl is set to true, set controller_port=443. If using proxy, set appropriate proxy values.
--custom_ad_setup_file stringSet the CustomADSetupFile.NoN/A
--custom_config_path stringSet the CustomConfigPath.NoN/A
--download_protocol stringSet the DownloadProtocol.NoThe default value is .
--download_uri stringSet the DownloadURI.NoThe default value is https://download-files.appdynamics.com.
--enable_sslSet the ControllerEnableSSL.NoN/A
--group stringSet the Group.NoN/A
-h, --helphelp for dotnet_msiNoN/A
--hostname stringSet the Hostname.NoN/A
--ini stringconfig fileNoThe default value is config.ini.
--install_agent_from stringSet the InstallAgentFrom.NoN/A
--keep_backupSet the KeepBackup.NoN/A
--monitor_all_IIS_apps stringSet the MonitorAllIISApps.NoN/A
--reuse_configSet the ReuseConfig.NoN/A
--temp_dir stringSet the temporary directory. The default value is the temporary directory of the operating system. For example, /tmp for linux operating system. This is used to perform the tasks such as downloading the agent, unzipping the artifacts, during the install or upgrade process. This directory gets cleaned up after the execution of the task.NoN/A
--user stringSet the User.NoN/A
--windows_custom_agent_install_path stringSet the AgentCustomInstallPath.NoRecommended. The value should not be equal to <smart-agent-home-dir>/../dotnet-agent. If this value is not provided, the default is C:\Program Files\AppDynamics\AppDynamics .NET Agent.
--windows_install_root stringSet the AppDDefaultInstallRoot.NoN/A
--log-file stringFile to write logs toNoThe default value is C:\Users\<username>\AppData\Local\Temp\go-build1907225984\b002\exe\log.log.
--output-format stringLog output format: json or consoleNoThe default value is json.
--remoteRun the command on remote systems instead of locallyNoN/A
--verboseEnable verbose/debug loggingNoN/A