Upgrading Zabbix From 1.8.x To 2.4.x - Eric's Notes
Upgrading Zabbix From 1.8.x To 2.4.x - Eric's Notes
x | Eric's Notes
Eric's Notes
Notes, observations and other useful bits
Home
About
Contact
Rough guide to get your monitoring server up to Zabbix 2.4.x on CentOS 6.x
The upgrade needs to be done in 3 stages.
Note! For version 2.0 and 2.2 installed via epel use commands below
5. Install Zabbix
a) yum –enablerepo=epel install zabbix20-server-mysql zabbix20-agent zabbix20-
web-mysql
b) yum install zabbix22-server-mysql zabbix22-agent zabbix22-web-mysql
c) Add 2.4 repo: rpm -ivh http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-
release-2.4-1.el6.noarch.rpm
Install zabbix 2.4: yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent
6. Upgrade DB Schema from 1.8.x to 2.0.x consists of 2 steps. (Only required for 1.8
to 2.0)
a) make upgrade script executable.
chmod +x /usr/share/zabbix-mysql/upgrades/2.0/upgrade
b) run the script
cd /usr/share/zabbix-mysql/upgrades/2.0/
./upgrade -u zabbix -p zabbix
Note! Bear in mind that upgrade will take a while and you will get multiple DB
password prompts
Note2! for Stage2 and Stage3, mysql upgrade will happen automatically after you
start Zabbix
7. Next compare and update your configuration files. Old config files are in the zabbix
folder (/etc/zabbix/) with the following extension .rpmsave
Use the following commands to compare:
diff /etc/zabbix/zabbix_agentd.conf.rpmsave /etc/zabbix_agentd.conf
diff /etc/zabbix/zabbix_server.conf.rpmsave /etc/zabbix_server.conf
Or use a tool called winmerge
8. Start Zabbix-services
/etc/init.d/zabbix-server start
/etc/init.d/zabbix-agent start
9. Enable autostart for Zabbix services
chkconfig zabbix-server on
https://erickoo.wordpress.com/2015/05/28/upgrading-zabbix-from-1-8-x-to-2-4-x/ 1/5
4/3/2018 Upgrading Zabbix from 1.8.x to 2.4.x | Eric's Notes
chkconfig zabbix-agent on
-Eric
Advertisements
Report this ad
Report this ad
Share this:
Like
Related
Upgrading Zabbix from 2.4.x Zabbix Action to Start a Add additional disk space to
to 3.0.x on CentOS 7 Windows Service disk in CentOS or RHEL
In "CentOS" In "CentOS" In "CentOS"
Categories: CentOS, Linux, Monitoring, RHEL, Zabbix Tags: CentOS, Linux, Monitoring,
RHEL, Zabbix
Comments (1) Trackbacks (1) Leave a comment Trackback
1.
chung
September 23, 2015 at 4:31 am
Reply
Leave a Reply
https://erickoo.wordpress.com/2015/05/28/upgrading-zabbix-from-1-8-x-to-2-4-x/ 2/5
4/3/2018 Upgrading Zabbix from 1.8.x to 2.4.x | Eric's Notes
Add additional disk space to disk in CentOS or RHEL Squid WARNING! Your cache is
running out of filedescriptors
RSS feed
Author
Twitter Updates
Recent Posts
Export Mailbox into a PST from
Exchange 2010
Manage Office 365 User licenses
with Powershell
How to recover sysadmin access to SQL
Server 2012 when sa password is lost
Configure logs to be sent to External
Syslog Server (Synology) using ESXi Web
Host Client
Can’t import Windows 10 Pro WIM into
MDT 2013 Update 2
Archives
Blogs Im Following
Estonian Blogs
Andres Sirel
Melborp's Blog
WordPress
Log In
Blog Stats
202,132 hits
Readers
https://erickoo.wordpress.com/2015/05/28/upgrading-zabbix-from-1-8-x-to-2-4-x/ 4/5
4/3/2018 Upgrading Zabbix from 1.8.x to 2.4.x | Eric's Notes
Advertisements
Report this ad
Top
Blog at WordPress.com.
https://erickoo.wordpress.com/2015/05/28/upgrading-zabbix-from-1-8-x-to-2-4-x/ 5/5