The workflow below guides you through the ArcGIS Monitor Agent installation process. You can install Monitor Agent using the interactive command line interface (CLI) or perform a silent installation. Performing an installation of Monitor Agent doesn't require an X display manager.
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 an earlier 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 by doing the following:
- 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
To install Monitor Agent using the CLI, complete the following steps:
- 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.
- During the installation, accept the Master Agreement, or exit if you do not agree with the terms.
Tip:
Press Q on your keyboard to close the Master Agreement.
- Follow the prompts on the screen to install the software.
- After the installation has finished, run the following command as a user in the sudoers group to configure the arcgis-monitor-agent service to automatically start with the operating system:
sudo <Monitor Agent installation location>/framework/etc/scripts/create_Monitor_Agent_service.shThe default installation directory is <ArcGIS Monitor user account home directory>/arcgis/monitor/agent.
The service is configured to start with the operating system and a message appears indicating the service's status. If the service is not running, run the following command as a user in the sudoers group to start the service:
sudo systemctl start arcgis-monitor-agent