Zabbix Server Uninstall
To uninstall the Zabbix Server from a particular box:
Run the following command:
# yum remove zabbix zabbix-release zabbix-server zabbix-server-mysql zabbix-web zabbix-web-mysql onapp-zabbix
Move/remove "OnApp's for Zabbix" webinterface config and restart Apache:
# mv /etc/httpd/conf.d/onapp-zabbix.conf /etc/httpd/conf.d/onapp-zabbix.conf.rpmsave # service httpd restart
(This step is optional) To remove Zabbix MySQL user and database, run the following command:
# mysql -u root -h <MYSQL_HOST> -e "drop database zabbix;" # mysql -u root -h <MYSQL_HOST> -e "drop user 'zabbix'@'<HOST>';"
Where:
<MYSQL_HOST> - the IP address/FQDN of the host where MySQL server runs
<HOST> - the IP address/FQDN of the host, from which the access for zabbix user was granted to the zabbix database (please find more details at onapp-zabbix.log)
Move/remove Zabbix webinterface configuration file:
mv /etc/zabbix/web/zabbix.conf.php /etc/zabbix/web/zabbix.conf.php.rpmsave