To view all the options available for an unattended
agent installation, invoke the agent
installer file passing in the help option. The
available options are detailed in the following table.
Table 9.2 MySQL Enterprise Monitor Agent Installer Options
| Option Name | Description |
|---|---|
| --agent_installtype | Installation type for the agent, which can be database or standalone. |
| --agent_autocreate | Create an account on the monitored MySQL server to be used by the agent |
| --agentpassword | Password of the agent user for connecting to the monitored MySQL server |
| --agentservicename | Service name for the Agent |
| --agentuser | Username of the agent for connecting to the monitored MySQL server |
| --checkmysqlhost | Validate the supplied MySQL hostname |
| --createBackup | (Upgrade only) Create backup. |
| --debuglevel | Set the debug information level |
| --debugtrace | File for a debug trace of the installation |
| --generalpassword | General user password for the --generaluser |
| --generaluser | General user username for the monitored MySQL server |
| --help | Display the list of valid options |
| --installdir | Installation directory |
| --installer-language | Language selection |
| --limitedpassword | Limited user password for the --limiteduser |
| --limiteduser | Limited user username for the monitored MySQL server |
| --managerhost | Hostname of IP address of the MySQL Enterprise Monitor server |
| --managerport | TCP/IP port of the MySQL Enterprise Monitor server |
| --mode | Installation mode |
| --mysql-identity-source | MySQL instance identify definition |
| --mysqlconnectiongroup | Sets the group for the provided MySQL connection |
| --mysqlconnmethod | Connection method to the monitored MySQL server |
| --mysqlhost | MySQL hostname/IP address |
| --mysqlpassword | MySQL password for the monitored --mysqluser. |
| --mysqlport | TCP/IP port for the monitored MySQL server |
| --mysqlsocket | Unix socket/Named pipe for the monitored MySQL server |
| --mysqluser | MySQL Administrative username for the monitored MySQL server |
| --optionfile | Installation option file |
| --restartImmediately | (Upgrade only) Restart Agent immediately after updating all files. |
| --unattendedmodeui | Unattended mode user interface |
| --version | Display the product information |
-
Command-Line Format --agentpasswordType String Specify the agent password to use to communicate with the MySQL Enterprise Service Manager.
-
Command-Line Format --createBackupType Boolean Default Value 1Whether to backup the data.
NoteThis option is only available when upgrading the Agent, and not when performing a new Agent installation.
-
Command-Line Format --restartImmediatelyType Boolean Default Value 1Restart Agent immediately after updating all files.
NoteThis option is only available when upgrading the Agent, and not when performing a new Agent installation.
-
Command-Line Format --agentuserType String Default Value agentSpecify the agent username to use to communicate with the MySQL Enterprise Service Manager.
-
Command-Line Format --checkmysqlhostType String Default Value yesValid Values yes(Check host)no(Do not check host)Validate the MySQL hostname or IP address
-
Command-Line Format --debuglevelType Numeric Default Value 2Minimum Value 0Maximum Value 4Set the debug information level for log data written to the file specified by
debugtrace. -
Command-Line Format --debugtraceType String Set the filename to use when recording debug information during the installation.
-
Command-Line Format --installdirType String Default Value (OS X) /Applications/mysql/enterprise/agent/Default Value (Unix) /opt/mysql/enterprise/agent/Default Value (Windows) C:\Program Files\MySQL\Enterprise\AgentSpecify the directory into which to install the software.
-
Command-Line Format --installer-languageType String Default Value enValid Values en(English)ja(Japanese)Set the language to use for the installation process.
-
Command-Line Format --managerhostType String The hostname or IP address of MySQL Enterprise Service Manager.
-
Command-Line Format --managerportType Numeric Default Value 18443Tomcat SSL Port
-
Command-Line Format --modeType String Default Value (Linux) gtkDefault Value (OS X) osxDefault Value (Unix) xwindowDefault Value (Windows) win32Valid Values (Linux) gtk(GTK (X Windows))xwindow(X Windows (native))text(Text (command-line))unattended(Unattended (no dialogs/prompts))Valid Values (OS X) osx(Mac OS X (native))text(Text (command-line))unattended(Unattended (no dialogs/prompts))Valid Values (Unix) xwindow(X Windows (native))text(Text (command-line))unattended(Unattended (no dialogs/prompts))Valid Values (Windows) win32(Windows (native))unattended(Unattended (no dialogs/prompts))Specify the installation mode to use for this installation. The GUI is executed by default, with the possible values including text and unattended. On Linux, the GUI options are gtk (default) and xwindow.
-
Command-Line Format --mysqlconnmethodType String Default Value tcpipValid Values tcpip(Use TCP/IP)socket(Use Unix Socket/Named Pipe)Specify the connection method to use to connect to MySQL. If you specify
tcpip, the value of themysqlportoption is used. If you specifysocket, the value of themysqlsocketoption is used to connect to the MySQL server to be monitored.NoteThis option is only available when installing the Agent, and not when performing an Agent upgrade.
-
Command-Line Format --mysqlhostType String Default Value 127.0.0.1Hostname or IP address of the MySQL server to be monitored.
-
Command-Line Format --mysqlpasswordType String Specify the password to use when connecting the Admin user to the monitored MySQL instance.
-
Command-Line Format --mysqlportType Numeric Default Value 3306The TCP/IP port to use when connecting to the monitored MySQL server.
-
Command-Line Format --mysqlsocketType String Specify the filename of the MySQL socket to use when communicating with the monitored MySQL instance.
-
Command-Line Format --mysqluserType String An MySQL Server administrative user for the MySQL instance to monitor. This user must already exist.
-
Command-Line Format --agent_autocreateType Boolean Auto-create the less privileged users (
--generaluserand-limiteduser) using the--mysqluseruser. Use this option if the limited and general users do not already exist on your system.The default value depends on the context. For new installations, it is "1", and for upgrades it is "0".
-
Command-Line Format --generaluserType String The username for the general user.
-
Command-Line Format --generalpasswordType String Password for the
--generaluser. -
Command-Line Format --limiteduserType String The username for the limited user.
-
Command-Line Format --limitedpasswordType String Password for the
--limitedpassword. -
Command-Line Format --optionfileSpecify the location of an option file containing the configuration options for this installation.
-
Command-Line Format --unattendedmodeuiType String Default Value noneValid Values none(No dialogs)minimal(Critical dialogs)minimalWithDialogs(Minimal UI with dialogs)The UI elements to use when performing an unattended installation. The options are
none, show no UI elements during the installation;minimal, show minimal elements during installation;minimalWithDialogs, show minimal UI elements, but include the filled-dialog boxes. -
Command-Line Format --versionDisplay product information, including the version number of the installer.
-
Command-Line Format --agent_installtypeType String Default Value databaseInstallation type for the Agent. Passing in
standaloneconfigures the Agent to only monitor the Host itself. Passing indatabaseconfigures the Agent to monitor both the Host and a specific MySQL Instance.This option is typically used when setting
--modetounattended.NoteAdditional MySQL Instances can be added for monitoring in the future.
-
Command-Line Format --mysqlconnectiongroupType String Optionally sets the MySQL instance group for the connection.
As of 3.0.5, multiple groups can be assigned in a single installation by passing in a comma-separated list of group names.
-
Command-Line Format --agentservicenameType String Default Value (Linux) mysql-monitor-agentDefault Value (OS X) mysql.monitor.agentDefault Value (Unix) mysql-monitor-agentDefault Value (Windows) MySQL Enterprise Monitor AgentWhen MySQL Enterprise Monitor Agent is installed, a new service is created (Windows), or on Unix or OS X a new startup script is created within the corresponding startup directory (for example
/etc/init.don Unix or/Library/LaunchDaemonson OS X). When installing multiple agents on the same host, you can use this option to create each agent installation with a unique identifier. During an upgrade installation, you then use this identifier to specify which installation of the agent to update.The default value is
mysql-monitor-agent.NoteThis option is only available when installing the Agent, and not when performing an Agent upgrade.
-
Command-Line Format --helpDisplay the list of valid options to the installer.