Zabbix upgrade from 3.2.x to 3.4.x

I use Zabbix as a daily tool to monitor and to alert about hosts, servers, and so on. I had a appliance version 3.2.x installed, which worked fine. I noticed there was a 3.4.x version release with new features, and did an upgrade. Fairly simple, but for good manner it is good to have backup of your working version.
My appliance is hosted on VMware ESXi and running on Ubuntu / Debian.

The procedure:
– Log in to your zabbix console via ssh, and sudo yourself:
sudo su
– Stop zabbix service:
service zabbix-server stop
– add Zabbix reposity to source-list:
nano /etc/apt/sources.list
– At the very bottom of the file above, add these to lines, and of course save the file:
deb trusty main
deb-src trusty main

– Create temp if needed, go there, and download the official deb-package:
mkdir /tmp
cd /tmp

– Install the downloaded deb-package:
dpkg -i zabbix-release_3.4-1+trusty_all.deb
– Run the apt-get update to see if there is anything to be updated:
apt-get update
– Upgrade zabbix. I had to do this, and above “apt-get update” -command, within three hours because the zabbix repo resides in the US and requests time-outed. There will be question about overwriting your config files, answer no (N) to them!:
apt-get install -f zabbix-server-mysql zabbix-agent zabbix-frontend-php
– That’s it. Just start your zabbix service, and wait few minutes it to initalize. Most likely you’ll have database connection error on the www-frontend, but wait 5 minutes and reboot your server.
service zabbix-server start

You may also like...

3 Responses

  1. Chris says:

    Works like a charm. Dayz I was looking for a solution.

    Excellent ! Tks.

  2. David says:

    Nice how to. Did you tried upgrade to 4.0 ?

    • khauron says:

      Yes, I have tried upgrade from 3.4 to 4.0, and it was succesful.
      Do you want me to write a post about it?

Leave a Reply

Your email address will not be published. Required fields are marked *