The workflow below guides you through the ArcGIS Monitor Agent silent installation process. Performing a silent installation of Monitor Agent doesn't require an X display manager or user interaction during the installation process.
Tip:
The installation method that you use does not affect the uninstall process. For example, if you install from the interactive CLI, you can uninstall using either the interactive CLI or the command line.
Note:
If you're upgrading from a previous version, see Upgrade ArcGIS Monitor.
Prepare for the installation
Before you install Monitor Agent, complete the following steps:
- Sign in to My Esri and download the software for your Linux distribution.
- Click the Downloads tab and click All Products and Versions.
- Click the All Versions tab.
- Click View Downloads next to ArcGIS Monitor to download the software.
- Start a terminal session with the ArcGIS Monitor account and ensure that the account has full permissions to the installation directory that will be created during the software installation.
The default installation directory is <ArcGIS Monitor user account home directory>/arcgis/monitor/agent.
- Verify that the machine meets the system requirements.
- Verify that the sysstat package is installed on the Linux machine before installing Monitor Agent.The sysstat package is required for monitoring.
- Change the directory to the location that contains the Monitor .tar.gz file and uncompress it.
The following is an example:
tar -zxvf ArcGIS_Monitor_Agent.tar.gz
You can proceed with the software installation.
Note:
You cannot install Monitor on a shared network directory (NFS mounted folder). The directory must be local on the target system.
Install the software silently
To install Monitor Agent silently, complete the steps below. For instructions on installing Monitor Agent from the interactive command line interface (CLI), refer to Install ArcGIS Monitor Agent.
- Before beginning the installation, read the Esri Master Agreement.
- Start a terminal session with the ArcGIS Monitor account.
- Change the directory to the location that contains the extracted setup file.
- From the command shell, run Setup.sh.
For example, use ./Setup.sh -l yes [options].
Option Description -l; --license-agreement CHOICE
This property is required to accept the End User License Agreement (EULA) during a silent installation. Specify yes to agree to the EULA and install the software. Specifying no or omitting this property will result in a failed installation. The download contains a PDF of the End User License Agreement. The EULA.pdf file is in the Documentation folder.
-d; --directory DIRECTORY
Optional. By default, Monitor Server is installed to the $HOME directory. DIRECTORY specifies a different installation directory.
The path /arcgis/monitor/agent is appended to the installation directory.
-h; --help
Displays command line help and exits.
- After the installation has finished, run the following commands as the root user to configure the arcgis-monitor-agent service to automatically start with the operating system:
cp <Monitor Agent installation location>/framework/etc/scripts/arcgis-monitor-agent.service /etc/systemd/system/. chmod 600 /etc/systemd/system/arcgis-monitor-agent.service systemctl daemon-reload systemctl enable arcgis-monitor-agent systemctl start arcgis-monitor-agent
The default installation directory is <ArcGIS Monitor user account home directory>/arcgis/monitor/agent.
- Verify that the arcgis-monitor-agent service is running, and start the service if necessary:
- Run the following command to check the status of the service:
systemctl status arcgis-monitor-agent
- If the service is not running, run the following command as the root user to start the service:
systemctl start arcgis-monitor-agent
- Run the following command to check the status of the service: