Ortamda Zabbix Proxy kullanıyorsanız, proxy ve sunucunun zabbix sunucuyla aynı versiona sahip olması gerektiğinden proxy sunucunuzu güncellemeniz gerekecektir.
işlemlere başlamdan önce zabbix proxy sunucunun yedeğini almayı unutmayın.
Zabbix proxy version.
# zabbix_proxy -V zabbix_proxy (Zabbix) 5.4.10 |
# systemctl stop zabbix-proxy.service |
# rpm -Uvh https://repo.zabbix.com/zabbix/6.0/rhel/8/x86_64/zabbix-release-6.0-1.el8.noarch.rpm # dnf clean all |
# dnf makecache |
# dnf upgrade zabbix-proxy-mysql # dnf install zabbix-apache-conf |
# systemctl start zabbix-proxy.service |
# zabbix_proxy -V zabbix_proxy (Zabbix) 6.0.0 |
# tail -f /var/log/zabbix/zabbix_proxy.log Çıktı 2800286:20220209:095840.708 IPv6 support: YES 2800286:20220209:095840.708 TLS support: YES 2800286:20220209:095840.708 2800286:20220209:095840.708 using configuration file: /etc/zabbix/zabbix_proxy.conf 2800286:20220209:095840.712 2800286:20220209:095840.712 Unable to start Zabbix proxy due to unsupported MariaDB database server version (10.03.28) 2800286:20220209:095840.712 Must be at least (10.05.00) |
# dnf remove mariadb |
# curl -LsS -O https://downloads.mariadb.com/MariaDB/mariadb_repo_setup # sudo bash mariadb_repo_setup –mariadb-server-version=10.5 |
# sudo dnf makecache |
# dnf repolist |
# dnf module reset mariadb # dnf install MariaDB-server MariaDB-client MariaDB-backup |
# dnf install zabbix-server-mysql zabbix-web-mysql zabbix-apache-conf zabbix-sql-scripts zabbix-selinux-policy zabbix-agent # systemctl start mariadb.service # systemctl status mariadb.service |
# tail -f /var/log/zabbix/zabbix_proxy.log Çıktı 2804236:20220209:103647.098 proxy #15 started [discoverer #1] 2804239:20220209:103647.099 proxy #18 started [history syncer #3] 2804244:20220209:103647.099 proxy #23 started [poller #2] 2804245:20220209:103647.100 proxy #24 started [poller #3] 2804247:20220209:103647.101 proxy #26 started [poller #5] 2804229:20220209:103647.102 proxy #8 started [preprocessing worker #1] 2804237:20220209:103647.102 proxy #16 started [history syncer #1] 2804231:20220209:103647.183 proxy #10 started [preprocessing worker #3] |
# mariadb -V mariadb Ver 15.1 Distrib 10.5.14-MariaDB, for Linux (x86_64) using readline 5.1 |
Upgrade zabbix Proxy 5.4.x to 6.0.x