How To Upgrade Zabbix Server From 3.2.6 To 3.4.14 min read
Zabbix is very much needed to monitor all your servers. Both updates have been released a few days ago. So how do you make a lot of updates on your server? I have many post on Zabbix features. Such as
★ Send Mail Notification From Zabbix Server Using Gmail
★ How To Add Windows Host In Zabbix Server
Now very important think how can I upgrade my Zabbix server 3.2.6 to 3.4.1
Step #01: First you can stop your Zabbix server.
[email protected]:~# service zabbix-server stop
Step #02: Backup your Zabbix databases for risk free. But I can’t needed.
[email protected]:~# mysqldump -u root -p zabbix > zabbix.sql
Step #03: Add Zabbix source list for update repository.
[email protected]:~# vim /etc/apt/source.list.d/zabbix.list
Insert below two lines
deb http://repo.zabbix.com/zabbix/3.4/ubuntu trusty main deb-src http://repo.zabbix.com/zabbix/3.4/ubuntu trusty main
Step #04: Now download Zabbix released deb package via wget command.
[email protected]:~# wget http://repo.zabbix.com/zabbix/3.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.4-1+trusty_all.deb
Step #05: Install downloaded packages via dpkg command.
[email protected]:~# dpkg -i zabbix-release_3.4-1+trusty_all.deb
Now update your Zabbix server command
[email protected]:~# apt-get update
Step #06: Then Zabbix main update command.
[email protected]:~# apt-get install --only-upgrade zabbix-server-mysql zabbix-agent zabbix-frontend-php
Press N 2 times for zabbix agent, apache.conf and server config file overwrite. Wait for few times when update completed.
Very important issue Zabbix server config file contains DB name, DB password and DB server name on localhost or 127.0.0.1
Step #07: Open Zabbix server config file check this issue.
[email protected]:~# vim /etc/zabbix/zabbix_server.conf
Ensure that all lines include into server config file
DBName=zabbix DBUser=zabbix DBPassword=passw0rd
Step #08: All is ok then finally Zabbix server start.
[email protected]:~# service zabbix-server start
Now goto your browser and type http://server-ip/zabbix/
You can see some databases error. But don’t worry wait for few minutes then reload your browser.
If face any problem then see my YouTube video and Subscribe my channel. Please subscribe my channel for more update.
- How To Install Odoo 16 on Ubuntu 22.04 - May 14, 2023
- 12 Steps to Organize Photos on Your Computer - March 20, 2023
- 9 Ways to Speed Up Your MacBook Yosemite - February 21, 2023
We really appreciate for your support for buying me a coffee.
It takes us a while to compose and upload new content, as they have to be checked to see if Properly works. We appreciate you if you help me for one cup of coffee to keep us awake and always deliver good quality content.
No contribution is small of an amount. We are grateful for any amount you support us with. Thank you!
Would you please teach how to upgrade WITH backup on CentOS?
Follow same process but add zabbix CentOS repo from Step #4. And use CentOS command. Connected my YouTube channel I upload this video recently.
I will provide this guide for CentOS 7.
Los siguientes paquetes tienen dependencias incumplidas:
zabbix-agent : Depende: libcurl3 (>= 7.16.2) pero no va a instalarse
zabbix-server-mysql : Depende: libcurl3 (>= 7.28.0) pero no va a instalarse
Depende: libevent-2.0-5 (>= 2.0.10-stable) pero no es instalable
Depende: libmysqlclient18 (>= 5.5.24+dfsg-1) pero no es instalable
This is dependency error for your server. So you can install all dependency package like ibcurl3, libevent-2.0-5, libmysqlclient18 etc. Then you try it.
what is your server OS version?