Advertising:
Upgrade Zabbix 4.2.0. to 4.4.1
Jump to navigation
Jump to search
Stop Zabbix-Proxy processes
# systemctl stop zabbix-proxy
Stop Zabbix-Server processes
# systemctl stop zabbix-server # systemctl stop zabbix-agent # systemctl stop httpd
Back up the existing Zabbix database
# mkdir /opt/zabbix-backup/ # cp /etc/zabbix/zabbix_server.conf /opt/zabbix-backup/ # cp /etc/httpd/conf.d/zabbix.conf /opt/zabbix-backup/
# cp -R /usr/share/zabbix/ /opt/zabbix-backup/ # cp -R /usr/share/doc/zabbix-* /opt/zabbix-backup/
Update repository configuration package (Server y Proxy)
# rpm -Uvh https://repo.zabbix.com/zabbix/4.4/rhel/7/x86_64/zabbix-release-4.4-1.el7.noarch.rpm
Upgrade Zabbix Server components
# yum clean all # yum repolist # yum upgrade zabbix-server-pgsql zabbix-web-pgsql zabbix-agent
Upgrade Zabbix Proxy components
# rpm -Uvh https://repo.zabbix.com/zabbix/4.4/rhel/7/x86_64/zabbix-release-4.4-1.el7.noarch.rpm # yum clean all # yum repolist # yum upgrade zabbix-proxy-sqlite3 zabbix-agent # mv /database/sqlite3/zabbix.db /database/sqlite3/zabbix.db.4.2.0 # systemctl start zabbix-proxy # systemctl start zabbix-agent # systemctl status zabbix-proxy # systemctl status zabbix-agent
NOTA: To upgrade the web frontend with Apache on RHEL 8 correctly, also run: # yum install zabbix-apache-conf
Review component configuration parameters (Server)
# systemctl start httpd # systemctl start zabbix-server # systemctl start zabbix-agent
Review component configuration parameters (Proxy)
# systemctl start zabbix-proxy