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 a user in the sudoers group.
- Run the following command to remove the arcgis-monitor-agent service:
sudo <Monitor Agent installation location>/framework/etc/scripts/remove_Monitor_Agent_service.shThe default installation directory is <ArcGIS Monitor user account home directory>/arcgis/monitor/agent.
- 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.shThe default installation directory is <ArcGIS Monitor user account home directory>/arcgis/monitor/agent.
- Follow the prompts on the screen to uninstall the software.