To uninstall ArcGIS Monitor Agent using the command line interface (CLI), complete the following steps:
- Start a terminal session on the Monitor Agent machine with the root account.
- Run the following commands to remove the arcgis-monitor-agent systemd service:
systemctl stop arcgis-monitor-agent systemctl disable arcgis-monitor-agent rm -rf /etc/systemd/system/arcgis-monitor-agent.service rm -rf /etc/systemd/system/multi-user.target.wants/arcgis-monitor-agent.service
- Start a terminal session with the ArcGIS Monitor account and ensure that the user account has full permissions to the installation directory.
- Run the following command to uninstall Monitor Agent:
./<Monitor Agent installation location>/uninstall_Monitor.sh
The default installation directory is <ArcGIS Monitor user account home directory>/arcgis/monitor/agent.
- Follow the prompts on the screen to uninstall the software.