Customize Agent Installer Platform Configuration

The Agent Installer Platform has several commands available to customize the configuration. You can run the commands during or after installation, and issue the commands to the zfictl executable, located in the Agent Installer Platform directory. The Agent Installer Platform periodically checks the configuration file and applies the changes.

Note: Do not modify the zero-config.json file directly as this may result in undefined behavior.
Command Name Description
configure

Modify the Agent Installer Platform configuration file.

stop

Stop running the Agent Installer Platform.

stop <agent>

Stop running an individual agent on the Agent Installer Platform.
start Start or restart the Agent Installer Platform. Automatically done for sudo installations.
start <agent> Start or restart an individual agent on the Agent Installer Platform.
status View or print the status of the managed agents.
purge Remove the Agent Installer Platform, Java, and Machine Agents and all configuration files from your machine.
uninstall Remove the Agent Installer Platform, Java, and Machine Agents from your machine, but retain the configuration files.

View Command Flags

To view the available flags for a command, enter:

<install-directory> bin/zfictl <command> -h

For example, to view the available flags for the install command:

<install-directory> bin/zfictl install -h

The output example displays the flags with the data type for the parameters and descriptions for the install command:

<install-directory> bin/zfictl install -h
...
Install Agent Installer Platform
Usage:
zfictl install [flags]
Flags:
--log-level string                 Logging level (choose from [panic fatal error warning info debug trace])
--max-log-rate int                 Maximum log msg rate (default -2)
--disable-instrumentors strings    Instrumentors to disable (choose from [java tomcat jboss glassfish weblogic websphere all])
--enable-instrumentors strings     Instrumentors to enable (choose from [java tomcat jboss glassfish weblogic websphere all])
--application string               Controller application name
--account string                   Controller account name
--access-key string                Account access key
--service-url string               Service URL
--javaagent string                 Java agent (choose from [dynamic ibm sun])
--jboss-log-manager-modify         LogManager args for JBoss (choose from [true false])
--proxy-url string                 Proxy URL
--install-path string              Agent Installer Platform installation path (default "/opt/appdynamics/zeroagent")
--systemd                          Install in systemd (default true)
-h, --help                             help for install

Run Commands with Flags During and After Installation

zfictl binary after installation. To make changes during installation, add flags to the installation script.

For example, to configure the log level to info:

During installation (as a flag), enter:

sudo ./zero-agent.sh install --application 'AgentInstallerTestApp' --account 'project-zero' --access-key 'myaccesskey' --service-url 'https://test.saas.appd-test.com' --log-level=info

After installation (using the zfictl executable), enter:

<install-directory> bin/zfictl configure --log-level=info