How to Remove/ Uninstall Zabbix Agent from Windows and CentOS? Print

  • 3

To remove the Zabbix Agent from Windows, follow the steps given below – 

1. Log in to the VPS using Remote Desktop Protocol (RDP).
    Please refer to how to log in to VPS using RDP for more details. 

2. Open Command Prompt as administrator.

3. Enter the following command to open the Zabbix installation directory – 

cd\Program Files\zabbix\bin\win64

4. You can enter the same path if you have installed Zabbix in Program Files (86).
    Here, we have installed it on the Programme file with 64 bits.

5. Run the command given below to uninstall the Zabbix service – 

zabbix_agentd.exe --uninstall


6. Remove the "zabbix_agentd.conf" and "zabbix_agentd" files from the C Drive.

7. Remove the Zabbix folder from the path - C:\Program Files.

8. Delete the Zabbix agent from Zabbix Server.

Following are the steps to remove the Zabbix agent from CentOS.

1. Log in to the VPS using SSH.
    Please refer to connect VPS using SSH for more details.

2. Enter the following command – 

yum remove zabbix-agent -y


3. We need to remove the Zabbix Directory.
    Now, type cd /etc and click on the Enter button.

4. Type the ls command to load all the folders under etc.
    Here, you will find a folder named Zabbix.

5. Run the following command to remove the Zabbix folder – 

rm -rf zabbix


6. Delete the Zabbix Agent from the Zabbix Server.

Looking to install Zabbix agent on Debian 10?
Please refer to Install Zabbix on Debian for more details.

Looking to install Zabbix Agent 4.0 on Debian 10 (Buster)?
    Please refer to Install Zabbix on Debian for more details.


Was this answer helpful?

« Back